From ed76cd24c00b735250a2f9422fa71cd893b91c57 Mon Sep 17 00:00:00 2001 From: rtel Date: Thu, 5 Jun 2014 12:44:38 +0000 Subject: [PATCH] Update RL78 GCC demo application after testing with fixed compiler. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2251 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject | 73 +++++++++---------- FreeRTOS/Demo/RL78_E2Studio_GCC/.info | 12 +-- FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S | 55 +++----------- .../src/{ => iodefine}/iodefine_RL78G14.h | 0 .../src/{ => iodefine}/iodefine_RL78G14_ext.h | 0 .../src/{ => iodefine}/iodefine_RL78G1A.h | 0 .../src/{ => iodefine}/iodefine_RL78G1A_ext.h | 0 .../src/{ => iodefine}/iodefine_RL78G1C.h | 0 .../src/{ => iodefine}/iodefine_RL78G1C_ext.h | 0 .../src/{ => iodefine}/iodefine_RL78L13.h | 0 .../src/{ => iodefine}/iodefine_RL78L13_ext.h | 0 .../src/{ => iodefine}/iodefine_RL78L1C.h | 0 .../src/{ => iodefine}/iodefine_RL78L1C_ext.h | 0 13 files changed, 52 insertions(+), 88 deletions(-) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G14.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G14_ext.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G1A.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G1A_ext.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G1C.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78G1C_ext.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78L13.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78L13_ext.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78L1C.h (100%) rename FreeRTOS/Demo/RL78_E2Studio_GCC/src/{ => iodefine}/iodefine_RL78L1C_ext.h (100%) diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject index 1218c25a8..96074528e 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.cproject @@ -1,19 +1,16 @@ - - - + - - - - + + + @@ -34,6 +31,7 @@ diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/.info b/FreeRTOS/Demo/RL78_E2Studio_GCC/.info index 6715fd6e6..69e2de3c2 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/.info +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/.info @@ -1,7 +1,7 @@ TOOL_CHAIN=KPIT GNURL78-ELF Toolchain -VERSION=v13.02 -TC_INSTALL=C:\devtools\renesas\e2studio\GNURL78v13.02-ELF\rl78-ELF\ -GCC_STRING=4.8-GNURL78_v13.02 -VERSION_IDE=3.06.02.004 -E2STUDIO_VERSION=2.2.0.13 -ACTIVE_CONFIGURATION=RSKRL78L1C +VERSION=v14.01 +TC_INSTALL=C:\devtools\KPIT\GNURL78v14.01-ELF\rl78-ELF\ +GCC_STRING=4.8-GNURL78_v14.01 +VERSION_IDE= +E2STUDIO_VERSION=3.0.0.22 +ACTIVE_CONFIGURATION=RSKRL78L13 diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S index 56821eacd..81c5d05cf 100644 --- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S +++ b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/RegTest.S @@ -109,11 +109,9 @@ _vRegTest1Task: MOVW BC, #0x6666 MOVW DE, #0x7777 MOVW HL, #0x8888 - SEL RB3 - MOVW AX, #0xAAAA - MOVW BC, #0xBBBB - MOVW DE, #0xCCCC - MOVW HL, #0xDDDD + + /* Register bank 3 is not used outside of interrupts so is not saved as part + of the task context. */ SEL RB0 _loop1: @@ -186,24 +184,8 @@ _loop1: MOVW AX, #0x5555 - SEL RB3 - CMPW AX, #0xAAAA - BZ $.+5 - BR !!_vRegTestError - MOVW AX, BC - CMPW AX, #0xBBBB - BZ $.+5 - BR !!_vRegTestError - MOVW AX, DE - CMPW AX, #0xCCCC - BZ $.+5 - BR !!_vRegTestError - MOVW AX, HL - CMPW AX, #0xDDDD - BZ $.+5 - BR !!_vRegTestError - MOVW AX, #0xAAAA - + /* Register bank 3 is not used outside of interrupts so is not saved as + part of the task context. */ SEL RB0 @@ -235,11 +217,9 @@ _vRegTest2Task: MOVW BC, #0x0660 MOVW DE, #0x0770 MOVW HL, #0x0880 - SEL RB3 - MOVW AX, #0x0AA0 - MOVW BC, #0x0BB0 - MOVW DE, #0x0CC0 - MOVW HL, #0x0DD0 + + /* Register bank 3 is not used outside of interrupts so is not saved as + part of the task context. */ SEL RB0 _loop2: @@ -296,23 +276,8 @@ _loop2: BR !!_vRegTestError MOVW AX, #0x0550 - SEL RB3 - CMPW AX, #0x0AA0 - BZ $.+5 - BR !!_vRegTestError - MOVW AX, BC - CMPW AX, #0x0BB0 - BZ $.+5 - BR !!_vRegTestError - MOVW AX, DE - CMPW AX, #0x0CC0 - BZ $.+5 - BR !!_vRegTestError - MOVW AX, HL - CMPW AX, #0x0DD0 - BZ $.+5 - BR !!_vRegTestError - MOVW AX, #0x0AA0 + /* Register bank 3 is not used outside of interrupts so is not saved as + part of the task context. */ SEL RB0 diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G14.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G14.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G14.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G14.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G14_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G14_ext.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G14_ext.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G14_ext.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A_ext.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1A_ext.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1A_ext.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1C.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1C.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1C.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1C.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1C_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1C_ext.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78G1C_ext.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78G1C_ext.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13_ext.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L13_ext.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L13_ext.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C.h diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C_ext.h b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C_ext.h similarity index 100% rename from FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine_RL78L1C_ext.h rename to FreeRTOS/Demo/RL78_E2Studio_GCC/src/iodefine/iodefine_RL78L1C_ext.h -- 2.39.5