From 857280ed8fe6610361bd144a505da7194591f2b1 Mon Sep 17 00:00:00 2001 From: rtel Date: Sat, 16 Aug 2014 14:29:39 +0000 Subject: [PATCH] Demo application related: + Update the RZ IAR project so it targets the RZ RSK rather than custom hardware. + Update the RZ ARM/DS-5 project so it targets the RZ RSK rather than custom hardware. + Updated RX64M demos to use the new iodefine.h naming. Cortex-A9 port related: + Update IAR, ARM and GCC Cortex-A9 port layers to include a 'task exit error' function which is called if a task attempts to incorrectly exit its implementing function. + Moved the instruction which switches into system mode out of the restore context macro, as it is only needed when starting the first task. Core kernel files related: + Ensure there are no references to the mutexes held count when mutexes are excluded from the build. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2288 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../CORTEX_A9_RZ_R7S72100_IAR_DS-5/.cproject | 11 ++-- .../IAR/RTOSDemo.ewd | 8 +-- .../IAR/RTOSDemo.ewp | 14 +++-- .../IAR/settings/RTOSDemo.dbgdt | 10 ++-- .../IAR/settings/RTOSDemo.dni | 2 +- .../IAR/settings/RTOSDemo.wsdt | 4 +- .../Source/LEDs.c | 57 +++++++------------ .../Source/RenesasFiles/common/vbar_init.s | 8 +++ .../Source/main.c | 2 +- .../target_scripts/init_RZ-A1H.ds | 55 +++++++++++++++--- .../RTOSDemo/src/FreeRTOSConfig.h | 6 ++ .../CORTEX_A9_Zynq_ZC702/RTOSDemo/src/main.c | 2 - FreeRTOS/Demo/Common/include/serial.h | 12 ++-- .../Demo/RX600_RX64M_RSK_GCC_e2studio/.info | 2 +- .../.settings/language.settings.xml | 2 +- .../RTOSDemo HardwareDebug.launch | 1 + .../src/FreeRTOSConfig.h | 3 - .../src/IntQueueTimer.c | 4 ++ .../src/ParTest.c | 1 + .../RX600_RX64M_RSK_GCC_e2studio/src/main.c | 4 ++ .../RX600_RX64M_RSK_Renesas_e2studio/.info | 2 +- .../Source/FreeRTOSConfig.h | 3 - .../Renesas_Code/RegisterWriteProtect.c | 2 +- .../Renesas_Code/cg_src/r_cg_macrodriver.h | 2 +- .../{cg_src/r_cg_iodefine.h => iodefine.h} | 0 .../Source/main.c | 2 +- FreeRTOS/Source/portable/GCC/ARM_CA9/port.c | 32 ++++++++++- .../Source/portable/GCC/ARM_CA9/portASM.S | 12 ++-- FreeRTOS/Source/portable/GCC/RX600v2/port.c | 3 + FreeRTOS/Source/portable/IAR/ARM_CA9/port.c | 25 +++++++- .../Source/portable/IAR/ARM_CA9/portASM.h | 3 - .../Source/portable/IAR/ARM_CA9/portASM.s | 11 +++- FreeRTOS/Source/portable/RVDS/ARM_CA9/port.c | 31 +++++++++- .../Source/portable/RVDS/ARM_CA9/portASM.s | 11 +++- .../portable/RVDS/ARM_CA9/portmacro.inc | 3 - .../Source/portable/Renesas/RX600v2/port.c | 3 + FreeRTOS/Source/tasks.c | 26 ++++++--- 37 files changed, 259 insertions(+), 120 deletions(-) rename FreeRTOS/Demo/RX600_RX64M_RSK_Renesas_e2studio/Source/Renesas_Code/{cg_src/r_cg_iodefine.h => iodefine.h} (100%) diff --git a/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/.cproject b/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/.cproject index 5b91ada31..b4a6fcdfd 100644 --- a/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/.cproject +++ b/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/.cproject @@ -1,7 +1,5 @@ - - - + @@ -97,8 +95,10 @@ - - + + + + @@ -110,4 +110,5 @@ + diff --git a/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/IAR/RTOSDemo.ewd b/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/IAR/RTOSDemo.ewd index 81e55ac4f..a29a4a9ca 100644 --- a/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/IAR/RTOSDemo.ewd +++ b/FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/IAR/RTOSDemo.ewd @@ -45,11 +45,11 @@