From a3b058fa5e2f4bb6ccbaaf2863399edf6f6fff6f Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 19 Mar 2013 12:24:05 +0000 Subject: [PATCH] Update the GCC RL78 demo to include four separate build configurations, each of which targets different hardware. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1847 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../Demo/RL78_E2Studio_GCC/.RL78_G1A_TBlinker | 100 ++ .../Demo/RL78_E2Studio_GCC/.RSKRL78L13linker | 100 ++ FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject | 414 +++++++ .../Project_Generation_Prefrences.prefs | 3 +- .../RL78_E2Studio_GCC/src/FreeRTOSConfig.h | 7 +- .../FreeRTOS_Source/portable/GCC/RL78/port.c | 66 +- .../portable/GCC/RL78/portasm.S | 3 + .../src/{LED.h => demo_specific_io.h} | 64 +- .../RL78_E2Studio_GCC/src/hardware_setup.c | 4 - .../src/interrupt_handlers.c | 266 ----- .../src/interrupt_handlers.h | 272 ----- .../src/{iodefine.h => iodefine_RL78G14.h} | 2 +- ...{iodefine_ext.h => iodefine_RL78G14_ext.h} | 2 +- .../RL78_E2Studio_GCC/src/iodefine_RL78G1A.h | 1037 ++++++++++++++++ .../src/iodefine_RL78G1A_ext.h | 571 +++++++++ .../port_iodefine.h => iodefine_RL78G1C.h} | 59 +- ..._iodefine_ext.h => iodefine_RL78G1C_ext.h} | 40 +- .../RL78_E2Studio_GCC/src/iodefine_RL78L13.h | 1057 +++++++++++++++++ .../src/iodefine_RL78L13_ext.h | 946 +++++++++++++++ FreeRTOS/Demo/RL78_E2Studio_GCC/src/main.c | 2 +- .../Demo/RL78_E2Studio_GCC/src/main_blinky.c | 4 +- .../Demo/RL78_E2Studio_GCC/src/main_full.c | 4 +- .../RL78_E2Studio_GCC/src/reset_program.asm | 2 - .../Demo/RL78_E2Studio_GCC/src/vector_table.c | 211 ++-- 24 files changed, 4502 insertions(+), 734 deletions(-) create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/.RL78_G1A_TBlinker create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L13linker rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{LED.h => demo_specific_io.h} (74%) delete mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/interrupt_handlers.c delete mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/interrupt_handlers.h rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{iodefine.h => iodefine_RL78G14.h} (96%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{iodefine_ext.h => iodefine_RL78G14_ext.h} (97%) create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A.h create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A_ext.h rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{FreeRTOS_Source/portable/GCC/RL78/port_iodefine.h => iodefine_RL78G1C.h} (92%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{FreeRTOS_Source/portable/GCC/RL78/port_iodefine_ext.h => iodefine_RL78G1C_ext.h} (94%) create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13.h create mode 100644 FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13_ext.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.RL78_G1A_TBlinker b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RL78_G1A_TBlinker new file mode 100644 index 000000000..9d33098d7 --- /dev/null +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RL78_G1A_TBlinker @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L13linker b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L13linker new file mode 100644 index 000000000..851e32c88 --- /dev/null +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.RSKRL78L13linker @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject index cfbb8dc45..6b2ab84d4 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject @@ -274,6 +274,7 @@