From 1bae2977071ac27ef128edcbe98d81a537fbf1cd Mon Sep 17 00:00:00 2001 From: Adrien Ricciardi Date: Mon, 6 Nov 2023 13:48:40 +0100 Subject: [PATCH 1/2] Renamed the 'cortex-a' machine and examples into 'cortex-a-r'. The Cortex-R architecture shares a lot of machine files with the Cortex-A one, this avoids duplicating identical machine files. Signed-off-by: Adrien Ricciardi --- .github/workflows/build-examples.yaml | 6 +++--- README.md | 2 +- .../armv7/bcm2836/rpi2/blink/README.md | 2 +- .../armv7/bcm2836/rpi2/blink/blink.c | 0 .../armv7/bcm2836/rpi2/blink/blink.oil | 0 .../armv7/bcm2836/rpi2/blink/init.gdb | 0 .../armv7/bcm2836/rpi2/lonely/.gdbinit | 0 .../armv7/bcm2836/rpi2/lonely/Makefile | 0 .../armv7/bcm2836/rpi2/lonely/README.md | 2 +- .../armv7/bcm2836/rpi2/lonely/bootloader07.c | 0 .../armv7/bcm2836/rpi2/lonely/build.py | 0 .../armv7/bcm2836/rpi2/lonely/init.gdb | 0 .../armv7/bcm2836/rpi2/lonely/loader | 0 .../armv7/bcm2836/rpi2/lonely/lonely.c | 0 .../armv7/bcm2836/rpi2/lonely/lonely.oil | 0 .../armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely/Compiler.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely/MemMap.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely/script.ld | 0 .../bcm2836/rpi2/lonely/lonely/stm_structure.c | 0 .../bcm2836/rpi2/lonely/lonely/tpl_app_config.c | 0 .../bcm2836/rpi2/lonely/lonely/tpl_app_config.h | 0 .../rpi2/lonely/lonely/tpl_app_custom_types.h | 0 .../bcm2836/rpi2/lonely/lonely/tpl_app_define.h | 0 .../bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c | 0 .../armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S | 0 .../bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c | 0 .../bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h | 0 .../bcm2836/rpi2/lonely/lonely/tpl_service_ids.h | 0 .../armv7/bcm2836/rpi2/lonely/lonely_exe | Bin .../armv7/bcm2836/rpi2/lonely/lonely_exe.hex | 0 .../armv7/bcm2836/rpi2/lonely/make.py | 0 .../armv7/bcm2836/rpi2/lonely/periph.c | 0 .../armv7/bcm2836/rpi2/lonely/vectors.s | 0 .../armv7/bcm2836/rpi2/readbutton_isr/.gitignore | 0 .../armv7/bcm2836/rpi2/readbutton_isr/README.md | 0 .../armv7/bcm2836/rpi2/readbutton_isr/init.gdb | 0 .../bcm2836/rpi2/readbutton_isr/readbutton_isr.c | 0 .../bcm2836/rpi2/readbutton_isr/readbutton_isr.oil | 0 .../armv7/bcm2836/rpi2/simple/README.md | 0 .../AsMemMap_h.goilTemplate | 0 .../isr1_priority_check.goilTemplate | 0 .../armv7/bcm2836/counter_call.goilTemplate | 0 .../armv7/interrupt_table.goilTemplate | 0 .../armv7/process_specific.goilTemplate | 0 .../armv7/service_call.goilTemplate | 0 .../armv7/std_as_code_dir.goilTemplate | 0 .../armv7/tpl_invoque_s.goilTemplate | 0 .../armv7/bcm2836/buildOptions.oil | 0 .../armv7/bcm2836/config.oil | 2 +- .../armv7/bcm2836/interruptSources.oil | 0 .../{cortex-a => cortex-a-r}/armv7/bcm2836/pins.oil | 0 .../armv7/bcm2836/rpi2/config.oil | 4 ++-- .../{cortex-a => cortex-a-r}/armv7/config.oil | 2 +- .../{cortex-a => cortex-a-r}/armv7/sensibility.oil | 0 .../config/{cortex-a => cortex-a-r}/config.oil | 3 +-- .../armv7/bcm2836/rpi2/script.goilTemplate | 0 .../armv7/bcm2836/rpi2/script0.goilTemplate | 0 .../Doc_implementation_RPI2_Cortex-A7.md | 0 machines/{cortex-a => cortex-a-r}/Makefile | 0 .../{cortex-a => cortex-a-r}/armv7/armv7_macros.h | 0 .../armv7/bcm2836/bcm2836.h | 0 .../armv7/bcm2836/bcm2836_core.h | 0 .../armv7/bcm2836/bcm2836_misc.c | 0 .../armv7/bcm2836/bcm2836_misc.h | 0 .../armv7/bcm2836/handlers_bcm2836.c | 0 .../armv7/bcm2836/handlers_bcm2836.h | 0 .../armv7/bcm2836/rpi2/Makefile | 0 .../armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_gpio.c | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_gpio.h | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_init.c | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_init.h | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_misc.c | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_misc.h | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_timer.c | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_timer.h | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_uart.c | 0 .../armv7/bcm2836/rpi2/drivers/rpi2_uart.h | 0 .../armv7/bcm2836/rpi2/drivers/tp_ecn.c | 0 .../armv7/bcm2836/rpi2/drivers/tp_ecn.h | 0 .../armv7/bcm2836/rpi2/rpi2.h | 0 .../armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S | 0 .../armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c | 0 .../armv7/bcm2836/rpi2/rpi2_exception_catch.S | 0 .../armv7/bcm2836/rpi2/rpi2_irq.c | 0 .../armv7/bcm2836/rpi2/rpi2_tpl_sleep.S | 0 .../armv7/bcm2836/rpi2/rpi2_tpl_stubs.c | 0 .../armv7/bcm2836/rpi2/rpi2_trace.c | 0 .../armv7/bcm2836/rpi2/rpi2_trace.h | 0 .../armv7/bcm2836/rpi2/tpl_os_std_types.h | 0 .../armv7/bcm2836/rpi2/tpl_stacks_size.h | 0 .../armv7/bcm2836/tpl_machine_bcm2836.c | 0 machines/{cortex-a => cortex-a-r}/emblib.h | 0 .../{cortex-a => cortex-a-r}/tpl_asm_definitions.h | 0 machines/{cortex-a => cortex-a-r}/tpl_irq.S | 0 machines/{cortex-a => cortex-a-r}/tpl_machine.h | 0 machines/{cortex-a => cortex-a-r}/tpl_machine_arm.c | 0 machines/{cortex-a => cortex-a-r}/tpl_machine_arm.h | 0 .../{cortex-a => cortex-a-r}/tpl_os_std_types.h | 0 machines/{cortex-a => cortex-a-r}/tpl_stacks.S | 0 machines/{cortex-a => cortex-a-r}/tpl_system_call.S | 0 machines/{cortex-a => cortex-a-r}/tpl_trusted_fct.S | 0 .../{cortex-a => cortex-a-r}/tpl_vector_table.s | 0 106 files changed, 11 insertions(+), 12 deletions(-) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/blink/README.md (87%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/blink/blink.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/blink/blink.oil (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/blink/init.gdb (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/.gdbinit (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/Makefile (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/README.md (92%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/bootloader07.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/build.py (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/init.gdb (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/loader (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely.oil (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/Compiler.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/MemMap.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/script.ld (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/stm_structure.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_custom_types.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_define.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely/tpl_service_ids.h (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely_exe (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/lonely_exe.hex (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/make.py (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/periph.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/lonely/vectors.s (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/readbutton_isr/.gitignore (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/readbutton_isr/README.md (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/readbutton_isr/init.gdb (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.c (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.oil (100%) rename examples/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/simple/README.md (100%) rename goil/templates/assembler/gnu_as/{cortex-a => cortex-a-r}/AsMemMap_h.goilTemplate (100%) rename goil/templates/check/{cortex-a => cortex-a-r}/isr1_priority_check.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/bcm2836/counter_call.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/interrupt_table.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/process_specific.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/service_call.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/std_as_code_dir.goilTemplate (100%) rename goil/templates/code/{cortex-a => cortex-a-r}/armv7/tpl_invoque_s.goilTemplate (100%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/bcm2836/buildOptions.oil (100%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/bcm2836/config.oil (99%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/bcm2836/interruptSources.oil (100%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/bcm2836/pins.oil (100%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/config.oil (82%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/config.oil (72%) rename goil/templates/config/{cortex-a => cortex-a-r}/armv7/sensibility.oil (100%) rename goil/templates/config/{cortex-a => cortex-a-r}/config.oil (97%) rename goil/templates/linker/gnu_ld/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/script.goilTemplate (100%) rename goil/templates/linker/gnu_ld/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/script0.goilTemplate (100%) rename machines/{cortex-a => cortex-a-r}/Doc_implementation_RPI2_Cortex-A7.md (100%) rename machines/{cortex-a => cortex-a-r}/Makefile (100%) rename machines/{cortex-a => cortex-a-r}/armv7/armv7_macros.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/bcm2836.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/bcm2836_core.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/bcm2836_misc.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/bcm2836_misc.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/handlers_bcm2836.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/handlers_bcm2836.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/Makefile (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_gpio.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_gpio.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_init.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_init.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_misc.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_misc.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_timer.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_timer.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_uart.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/rpi2_uart.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/tp_ecn.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/drivers/tp_ecn.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_exception_catch.S (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_irq.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_tpl_sleep.S (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_tpl_stubs.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_trace.c (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/rpi2_trace.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/tpl_os_std_types.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/rpi2/tpl_stacks_size.h (100%) rename machines/{cortex-a => cortex-a-r}/armv7/bcm2836/tpl_machine_bcm2836.c (100%) rename machines/{cortex-a => cortex-a-r}/emblib.h (100%) rename machines/{cortex-a => cortex-a-r}/tpl_asm_definitions.h (100%) rename machines/{cortex-a => cortex-a-r}/tpl_irq.S (100%) rename machines/{cortex-a => cortex-a-r}/tpl_machine.h (100%) rename machines/{cortex-a => cortex-a-r}/tpl_machine_arm.c (100%) rename machines/{cortex-a => cortex-a-r}/tpl_machine_arm.h (100%) rename machines/{cortex-a => cortex-a-r}/tpl_os_std_types.h (100%) rename machines/{cortex-a => cortex-a-r}/tpl_stacks.S (100%) rename machines/{cortex-a => cortex-a-r}/tpl_system_call.S (100%) rename machines/{cortex-a => cortex-a-r}/tpl_trusted_fct.S (100%) rename machines/{cortex-a => cortex-a-r}/tpl_vector_table.s (100%) diff --git a/.github/workflows/build-examples.yaml b/.github/workflows/build-examples.yaml index ed5a56dca..c698d5e09 100644 --- a/.github/workflows/build-examples.yaml +++ b/.github/workflows/build-examples.yaml @@ -43,11 +43,11 @@ jobs: path: ${{ github.workspace }} key: ${{ env.CACHE_KEY }} - name: Generate the code - run: ${{ env.GOIL }} --target=cortex-a/armv7/bcm2836/rpi2 --templates=../../../../../../goil/templates/ ${{ matrix.example_name }}.oil - working-directory: examples/cortex-a/armv7/bcm2836/rpi2/${{ matrix.example_name }} + run: ${{ env.GOIL }} --target=cortex-a-r/armv7/bcm2836/rpi2 --templates=../../../../../../goil/templates/ ${{ matrix.example_name }}.oil + working-directory: examples/cortex-a-r/armv7/bcm2836/rpi2/${{ matrix.example_name }} - name: Build the code run: ./make.py - working-directory: examples/cortex-a/armv7/bcm2836/rpi2/${{ matrix.example_name }} + working-directory: examples/cortex-a-r/armv7/bcm2836/rpi2/${{ matrix.example_name }} avr-arduino-uno-examples: name: Build AVR Arduino Uno examples diff --git a/README.md b/README.md index d20b01fdc..7d263f2a7 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Some examples are available (check examples): * **blink**. Blinks a LED using an alarm and a task. * **readButton**. The example polls the button to start an alarm that activates a task to blink a LED * **readButton_isr**. Same but the button triggers an ISR. -* Cortex A7 with bcm2836 - Raspberry Pi 2 : `cortex-a/armv7/bcm2836/rpi2`. +* Cortex A7 with bcm2836 - Raspberry Pi 2 : `cortex-a-r/armv7/bcm2836/rpi2`. * **blink**. A first runable blink example is available. We need a bootloader and and a console. This stuff will be soon available as well. Single core for the moment. * avr: 3 examples for Arduino Uno (ATMega328p chip) and Arduino Mega (ATMega2560 chip) * **blink**. Blinks a LED using an alarm and a task. diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/blink/README.md b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/README.md similarity index 87% rename from examples/cortex-a/armv7/bcm2836/rpi2/blink/README.md rename to examples/cortex-a-r/armv7/bcm2836/rpi2/blink/README.md index 33cc71e9f..66d662b94 100644 --- a/examples/cortex-a/armv7/bcm2836/rpi2/blink/README.md +++ b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/README.md @@ -9,7 +9,7 @@ It can be launched How to build the example: Generates the code: ``` -goil --target=cortex-a/armv7/bcm2836/rpi2 --templates=../../../../../../goil/templates/ blink.oil +goil --target=cortex-a-r/armv7/bcm2836/rpi2 --templates=../../../../../../goil/templates/ blink.oil ``` Build: diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/blink/blink.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/blink.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/blink/blink.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/blink/blink.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/blink/blink.oil b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/blink.oil similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/blink/blink.oil rename to examples/cortex-a-r/armv7/bcm2836/rpi2/blink/blink.oil diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/blink/init.gdb b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/init.gdb similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/blink/init.gdb rename to examples/cortex-a-r/armv7/bcm2836/rpi2/blink/init.gdb diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/.gdbinit b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/.gdbinit similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/.gdbinit rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/.gdbinit diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/Makefile b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/Makefile similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/Makefile rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/Makefile diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/README.md b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/README.md similarity index 92% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/README.md rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/README.md index a1bae4179..8e28d3282 100644 --- a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/README.md +++ b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/README.md @@ -20,7 +20,7 @@ communicate with the JTAG 2 - Configure the application with ``` -goil --target=cortex-a/armv7/bcm2836/rpi2 -v --templates=../../../../goil/templates/ lonely.oil +goil --target=cortex-a-r/armv7/bcm2836/rpi2 -v --templates=../../../../goil/templates/ lonely.oil ``` 3 - Upload your program into the board : diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/bootloader07.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/bootloader07.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/bootloader07.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/bootloader07.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/build.py b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/build.py similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/build.py rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/build.py diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/init.gdb b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/init.gdb similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/init.gdb rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/init.gdb diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/loader b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/loader similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/loader rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/loader diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely.oil b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely.oil similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely.oil rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely.oil diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/AsMemMap.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/Compiler.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/Compiler.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/Compiler.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/Compiler.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/Compiler_Cfg.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/MemMap.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/MemMap.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/MemMap.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/MemMap.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/script.ld b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/script.ld similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/script.ld rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/script.ld diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/stm_structure.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/stm_structure.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/stm_structure.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/stm_structure.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_config.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_custom_types.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_custom_types.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_custom_types.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_custom_types.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_define.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_define.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_define.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_app_define.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_dispatch_table.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_invoque.S diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_ioc_api_config.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_os.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_service_ids.h b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_service_ids.h similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely/tpl_service_ids.h rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely/tpl_service_ids.h diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely_exe b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely_exe similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely_exe rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely_exe diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely_exe.hex b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely_exe.hex similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/lonely_exe.hex rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/lonely_exe.hex diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/make.py b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/make.py similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/make.py rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/make.py diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/periph.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/periph.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/periph.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/periph.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/lonely/vectors.s b/examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/vectors.s similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/lonely/vectors.s rename to examples/cortex-a-r/armv7/bcm2836/rpi2/lonely/vectors.s diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/.gitignore b/examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/.gitignore similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/.gitignore rename to examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/.gitignore diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/README.md b/examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/README.md similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/README.md rename to examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/README.md diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/init.gdb b/examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/init.gdb similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/init.gdb rename to examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/init.gdb diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.c b/examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.c similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.c rename to examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.c diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.oil b/examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.oil similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.oil rename to examples/cortex-a-r/armv7/bcm2836/rpi2/readbutton_isr/readbutton_isr.oil diff --git a/examples/cortex-a/armv7/bcm2836/rpi2/simple/README.md b/examples/cortex-a-r/armv7/bcm2836/rpi2/simple/README.md similarity index 100% rename from examples/cortex-a/armv7/bcm2836/rpi2/simple/README.md rename to examples/cortex-a-r/armv7/bcm2836/rpi2/simple/README.md diff --git a/goil/templates/assembler/gnu_as/cortex-a/AsMemMap_h.goilTemplate b/goil/templates/assembler/gnu_as/cortex-a-r/AsMemMap_h.goilTemplate similarity index 100% rename from goil/templates/assembler/gnu_as/cortex-a/AsMemMap_h.goilTemplate rename to goil/templates/assembler/gnu_as/cortex-a-r/AsMemMap_h.goilTemplate diff --git a/goil/templates/check/cortex-a/isr1_priority_check.goilTemplate b/goil/templates/check/cortex-a-r/isr1_priority_check.goilTemplate similarity index 100% rename from goil/templates/check/cortex-a/isr1_priority_check.goilTemplate rename to goil/templates/check/cortex-a-r/isr1_priority_check.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/bcm2836/counter_call.goilTemplate b/goil/templates/code/cortex-a-r/armv7/bcm2836/counter_call.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/bcm2836/counter_call.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/bcm2836/counter_call.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/interrupt_table.goilTemplate b/goil/templates/code/cortex-a-r/armv7/interrupt_table.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/interrupt_table.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/interrupt_table.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/process_specific.goilTemplate b/goil/templates/code/cortex-a-r/armv7/process_specific.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/process_specific.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/process_specific.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/service_call.goilTemplate b/goil/templates/code/cortex-a-r/armv7/service_call.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/service_call.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/service_call.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/std_as_code_dir.goilTemplate b/goil/templates/code/cortex-a-r/armv7/std_as_code_dir.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/std_as_code_dir.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/std_as_code_dir.goilTemplate diff --git a/goil/templates/code/cortex-a/armv7/tpl_invoque_s.goilTemplate b/goil/templates/code/cortex-a-r/armv7/tpl_invoque_s.goilTemplate similarity index 100% rename from goil/templates/code/cortex-a/armv7/tpl_invoque_s.goilTemplate rename to goil/templates/code/cortex-a-r/armv7/tpl_invoque_s.goilTemplate diff --git a/goil/templates/config/cortex-a/armv7/bcm2836/buildOptions.oil b/goil/templates/config/cortex-a-r/armv7/bcm2836/buildOptions.oil similarity index 100% rename from goil/templates/config/cortex-a/armv7/bcm2836/buildOptions.oil rename to goil/templates/config/cortex-a-r/armv7/bcm2836/buildOptions.oil diff --git a/goil/templates/config/cortex-a/armv7/bcm2836/config.oil b/goil/templates/config/cortex-a-r/armv7/bcm2836/config.oil similarity index 99% rename from goil/templates/config/cortex-a/armv7/bcm2836/config.oil rename to goil/templates/config/cortex-a-r/armv7/bcm2836/config.oil index ee10ebd97..c05c443cf 100755 --- a/goil/templates/config/cortex-a/armv7/bcm2836/config.oil +++ b/goil/templates/config/cortex-a-r/armv7/bcm2836/config.oil @@ -55,7 +55,7 @@ CPU bcm2836 { }; */ PLATFORM_FILES bcm2836 { - PATH = "cortex-a/armv7/bcm2836"; + PATH = "cortex-a-r/armv7/bcm2836"; CFILE = "bcm2836_misc.c"; CFILE = "handlers_bcm2836.c"; CFILE = "tpl_machine_bcm2836.c"; diff --git a/goil/templates/config/cortex-a/armv7/bcm2836/interruptSources.oil b/goil/templates/config/cortex-a-r/armv7/bcm2836/interruptSources.oil similarity index 100% rename from goil/templates/config/cortex-a/armv7/bcm2836/interruptSources.oil rename to goil/templates/config/cortex-a-r/armv7/bcm2836/interruptSources.oil diff --git a/goil/templates/config/cortex-a/armv7/bcm2836/pins.oil b/goil/templates/config/cortex-a-r/armv7/bcm2836/pins.oil similarity index 100% rename from goil/templates/config/cortex-a/armv7/bcm2836/pins.oil rename to goil/templates/config/cortex-a-r/armv7/bcm2836/pins.oil diff --git a/goil/templates/config/cortex-a/armv7/bcm2836/rpi2/config.oil b/goil/templates/config/cortex-a-r/armv7/bcm2836/rpi2/config.oil similarity index 82% rename from goil/templates/config/cortex-a/armv7/bcm2836/rpi2/config.oil rename to goil/templates/config/cortex-a-r/armv7/bcm2836/rpi2/config.oil index 6dbe94569..fcea2bae1 100755 --- a/goil/templates/config/cortex-a/armv7/bcm2836/rpi2/config.oil +++ b/goil/templates/config/cortex-a-r/armv7/bcm2836/rpi2/config.oil @@ -6,7 +6,7 @@ CPU rpi2 { PLATFORM_FILES rpi2 { - PATH = "cortex-a/armv7/bcm2836/rpi2"; + PATH = "cortex-a-r/armv7/bcm2836/rpi2"; CFILE = "rpi2_tpl_sleep.S"; CFILE = "rpi2_bootstrap_stage1.S"; CFILE = "rpi2_bootstrap_stage2.c"; @@ -17,7 +17,7 @@ CPU rpi2 { }; PLATFORM_FILES rpi2_drivers { - PATH = "cortex-a/armv7/bcm2836/rpi2/drivers"; + PATH = "cortex-a-r/armv7/bcm2836/rpi2/drivers"; CFILE = "rpi2_uart.c"; CFILE = "rpi2_timer.c"; }; diff --git a/goil/templates/config/cortex-a/armv7/config.oil b/goil/templates/config/cortex-a-r/armv7/config.oil similarity index 72% rename from goil/templates/config/cortex-a/armv7/config.oil rename to goil/templates/config/cortex-a-r/armv7/config.oil index 0a65dd333..07d377462 100755 --- a/goil/templates/config/cortex-a/armv7/config.oil +++ b/goil/templates/config/cortex-a-r/armv7/config.oil @@ -2,6 +2,6 @@ CPU armv7 { PLATFORM_FILES armv7 { - PATH = "cortex-a/armv7"; + PATH = "cortex-a-r/armv7"; }; }; diff --git a/goil/templates/config/cortex-a/armv7/sensibility.oil b/goil/templates/config/cortex-a-r/armv7/sensibility.oil similarity index 100% rename from goil/templates/config/cortex-a/armv7/sensibility.oil rename to goil/templates/config/cortex-a-r/armv7/sensibility.oil diff --git a/goil/templates/config/cortex-a/config.oil b/goil/templates/config/cortex-a-r/config.oil similarity index 97% rename from goil/templates/config/cortex-a/config.oil rename to goil/templates/config/cortex-a-r/config.oil index f6c118c9e..aeb130b2f 100755 --- a/goil/templates/config/cortex-a/config.oil +++ b/goil/templates/config/cortex-a-r/config.oil @@ -33,7 +33,7 @@ CPU arm_interrupt { }; PLATFORM_FILES cortex_a { - PATH = "cortex-a"; + PATH = "cortex-a-r"; CFILE = "tpl_irq.S"; CFILE = "tpl_system_call.S"; CFILE = "tpl_stacks.S"; @@ -41,5 +41,4 @@ CPU arm_interrupt { CFILE = "tpl_vector_table.s"; CFILE = "tpl_machine_arm.c"; }; - }; diff --git a/goil/templates/linker/gnu_ld/cortex-a/armv7/bcm2836/rpi2/script.goilTemplate b/goil/templates/linker/gnu_ld/cortex-a-r/armv7/bcm2836/rpi2/script.goilTemplate similarity index 100% rename from goil/templates/linker/gnu_ld/cortex-a/armv7/bcm2836/rpi2/script.goilTemplate rename to goil/templates/linker/gnu_ld/cortex-a-r/armv7/bcm2836/rpi2/script.goilTemplate diff --git a/goil/templates/linker/gnu_ld/cortex-a/armv7/bcm2836/rpi2/script0.goilTemplate b/goil/templates/linker/gnu_ld/cortex-a-r/armv7/bcm2836/rpi2/script0.goilTemplate similarity index 100% rename from goil/templates/linker/gnu_ld/cortex-a/armv7/bcm2836/rpi2/script0.goilTemplate rename to goil/templates/linker/gnu_ld/cortex-a-r/armv7/bcm2836/rpi2/script0.goilTemplate diff --git a/machines/cortex-a/Doc_implementation_RPI2_Cortex-A7.md b/machines/cortex-a-r/Doc_implementation_RPI2_Cortex-A7.md similarity index 100% rename from machines/cortex-a/Doc_implementation_RPI2_Cortex-A7.md rename to machines/cortex-a-r/Doc_implementation_RPI2_Cortex-A7.md diff --git a/machines/cortex-a/Makefile b/machines/cortex-a-r/Makefile similarity index 100% rename from machines/cortex-a/Makefile rename to machines/cortex-a-r/Makefile diff --git a/machines/cortex-a/armv7/armv7_macros.h b/machines/cortex-a-r/armv7/armv7_macros.h similarity index 100% rename from machines/cortex-a/armv7/armv7_macros.h rename to machines/cortex-a-r/armv7/armv7_macros.h diff --git a/machines/cortex-a/armv7/bcm2836/bcm2836.h b/machines/cortex-a-r/armv7/bcm2836/bcm2836.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/bcm2836.h rename to machines/cortex-a-r/armv7/bcm2836/bcm2836.h diff --git a/machines/cortex-a/armv7/bcm2836/bcm2836_core.h b/machines/cortex-a-r/armv7/bcm2836/bcm2836_core.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/bcm2836_core.h rename to machines/cortex-a-r/armv7/bcm2836/bcm2836_core.h diff --git a/machines/cortex-a/armv7/bcm2836/bcm2836_misc.c b/machines/cortex-a-r/armv7/bcm2836/bcm2836_misc.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/bcm2836_misc.c rename to machines/cortex-a-r/armv7/bcm2836/bcm2836_misc.c diff --git a/machines/cortex-a/armv7/bcm2836/bcm2836_misc.h b/machines/cortex-a-r/armv7/bcm2836/bcm2836_misc.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/bcm2836_misc.h rename to machines/cortex-a-r/armv7/bcm2836/bcm2836_misc.h diff --git a/machines/cortex-a/armv7/bcm2836/handlers_bcm2836.c b/machines/cortex-a-r/armv7/bcm2836/handlers_bcm2836.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/handlers_bcm2836.c rename to machines/cortex-a-r/armv7/bcm2836/handlers_bcm2836.c diff --git a/machines/cortex-a/armv7/bcm2836/handlers_bcm2836.h b/machines/cortex-a-r/armv7/bcm2836/handlers_bcm2836.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/handlers_bcm2836.h rename to machines/cortex-a-r/armv7/bcm2836/handlers_bcm2836.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/Makefile b/machines/cortex-a-r/armv7/bcm2836/rpi2/Makefile similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/Makefile rename to machines/cortex-a-r/armv7/bcm2836/rpi2/Makefile diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S b/machines/cortex-a-r/armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S rename to machines/cortex-a-r/armv7/bcm2836/rpi2/_rpi2_bootstrap_stage1.S diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_gpio.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_gpio.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_gpio.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_gpio.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_gpio.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_gpio.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_gpio.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_gpio.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_init.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_init.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_init.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_init.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_init.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_init.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_init.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_init.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_misc.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_misc.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_misc.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_misc.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_misc.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_misc.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_misc.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_misc.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_timer.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_timer.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_timer.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_timer.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_timer.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_timer.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_timer.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_timer.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_uart.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_uart.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_uart.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_uart.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_uart.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_uart.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/rpi2_uart.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/rpi2_uart.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/tp_ecn.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/tp_ecn.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/tp_ecn.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/tp_ecn.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/drivers/tp_ecn.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/tp_ecn.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/drivers/tp_ecn.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/drivers/tp_ecn.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_bootstrap_stage1.S diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_bootstrap_stage2.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_exception_catch.S b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_exception_catch.S similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_exception_catch.S rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_exception_catch.S diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_irq.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_irq.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_irq.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_irq.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_tpl_sleep.S b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_tpl_sleep.S similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_tpl_sleep.S rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_tpl_sleep.S diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_tpl_stubs.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_tpl_stubs.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_tpl_stubs.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_tpl_stubs.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_trace.c b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_trace.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_trace.c rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_trace.c diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/rpi2_trace.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_trace.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/rpi2_trace.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/rpi2_trace.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/tpl_os_std_types.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/tpl_os_std_types.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/tpl_os_std_types.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/tpl_os_std_types.h diff --git a/machines/cortex-a/armv7/bcm2836/rpi2/tpl_stacks_size.h b/machines/cortex-a-r/armv7/bcm2836/rpi2/tpl_stacks_size.h similarity index 100% rename from machines/cortex-a/armv7/bcm2836/rpi2/tpl_stacks_size.h rename to machines/cortex-a-r/armv7/bcm2836/rpi2/tpl_stacks_size.h diff --git a/machines/cortex-a/armv7/bcm2836/tpl_machine_bcm2836.c b/machines/cortex-a-r/armv7/bcm2836/tpl_machine_bcm2836.c similarity index 100% rename from machines/cortex-a/armv7/bcm2836/tpl_machine_bcm2836.c rename to machines/cortex-a-r/armv7/bcm2836/tpl_machine_bcm2836.c diff --git a/machines/cortex-a/emblib.h b/machines/cortex-a-r/emblib.h similarity index 100% rename from machines/cortex-a/emblib.h rename to machines/cortex-a-r/emblib.h diff --git a/machines/cortex-a/tpl_asm_definitions.h b/machines/cortex-a-r/tpl_asm_definitions.h similarity index 100% rename from machines/cortex-a/tpl_asm_definitions.h rename to machines/cortex-a-r/tpl_asm_definitions.h diff --git a/machines/cortex-a/tpl_irq.S b/machines/cortex-a-r/tpl_irq.S similarity index 100% rename from machines/cortex-a/tpl_irq.S rename to machines/cortex-a-r/tpl_irq.S diff --git a/machines/cortex-a/tpl_machine.h b/machines/cortex-a-r/tpl_machine.h similarity index 100% rename from machines/cortex-a/tpl_machine.h rename to machines/cortex-a-r/tpl_machine.h diff --git a/machines/cortex-a/tpl_machine_arm.c b/machines/cortex-a-r/tpl_machine_arm.c similarity index 100% rename from machines/cortex-a/tpl_machine_arm.c rename to machines/cortex-a-r/tpl_machine_arm.c diff --git a/machines/cortex-a/tpl_machine_arm.h b/machines/cortex-a-r/tpl_machine_arm.h similarity index 100% rename from machines/cortex-a/tpl_machine_arm.h rename to machines/cortex-a-r/tpl_machine_arm.h diff --git a/machines/cortex-a/tpl_os_std_types.h b/machines/cortex-a-r/tpl_os_std_types.h similarity index 100% rename from machines/cortex-a/tpl_os_std_types.h rename to machines/cortex-a-r/tpl_os_std_types.h diff --git a/machines/cortex-a/tpl_stacks.S b/machines/cortex-a-r/tpl_stacks.S similarity index 100% rename from machines/cortex-a/tpl_stacks.S rename to machines/cortex-a-r/tpl_stacks.S diff --git a/machines/cortex-a/tpl_system_call.S b/machines/cortex-a-r/tpl_system_call.S similarity index 100% rename from machines/cortex-a/tpl_system_call.S rename to machines/cortex-a-r/tpl_system_call.S diff --git a/machines/cortex-a/tpl_trusted_fct.S b/machines/cortex-a-r/tpl_trusted_fct.S similarity index 100% rename from machines/cortex-a/tpl_trusted_fct.S rename to machines/cortex-a-r/tpl_trusted_fct.S diff --git a/machines/cortex-a/tpl_vector_table.s b/machines/cortex-a-r/tpl_vector_table.s similarity index 100% rename from machines/cortex-a/tpl_vector_table.s rename to machines/cortex-a-r/tpl_vector_table.s From 3d69b42a12f2cc5af4f96b9eb55f1ebedb4d466d Mon Sep 17 00:00:00 2001 From: Adrien Ricciardi Date: Mon, 6 Nov 2023 13:51:25 +0100 Subject: [PATCH 2/2] examples: rpi2: blink: Added a .gitignore to the blink example. Signed-off-by: Adrien Ricciardi --- examples/cortex-a-r/armv7/bcm2836/rpi2/blink/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 examples/cortex-a-r/armv7/bcm2836/rpi2/blink/.gitignore diff --git a/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/.gitignore b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/.gitignore new file mode 100644 index 000000000..c8f74121e --- /dev/null +++ b/examples/cortex-a-r/armv7/bcm2836/rpi2/blink/.gitignore @@ -0,0 +1,4 @@ +blink/ +blink_exe* +*.map +*.py