From f148b6d014413b66ab249278f6c51875892c0ec2 Mon Sep 17 00:00:00 2001 From: rtel Date: Thu, 15 Oct 2015 20:19:26 +0000 Subject: [PATCH] Preparing for maintenance release - Bug fix - issue introduced in V8.2.2 when the current timer list is empty and the overflow timer list is not empty. Add PIC32MZ EF (floating point) support and update the MZ demo project to test the flop context switching. Improve efficiency of the stack overflow checking. Add CLI to RX71M demo. General tidy up of new RZ and RX projects - including ensuring the UART driver copes with 0 length strings. Add stack overflow checking to the [old] PIC24 demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2388 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../.cproject | 2 +- .../.project | 69 +- .../org.eclipse.core.resources.prefs | 2 - .../FreeRTOSConfig.h | 10 +- .../RTOSDemo.ewd | 6 +- .../settings/RTOSDemo.dbgdt | 8 +- .../settings/RTOSDemo.dni | 51 +- .../settings/RTOSDemo.wsdt | 10 +- .../ReadMe_Instructions.url | 5 + .../System/IAR/Interrupt_Entry_Stubs.asm | 2 +- .../settings/RTOSDemo.wsdt | 10 +- .../src/FreeRTOS_tick_config.c | 12 +- .../src/Full_Demo/IntQueueTimer.c | 26 +- .../src/cg_src/r_cg_scifa_user.c | 50 +- .../Demo/CORTEX_R4F_RZ_T_GCC_IAR/src/main.c | 3 + .../org.eclipse.core.resources.prefs | 46 + .../FreeRTOSConfig.h | 2 +- FreeRTOS/Demo/PIC24_MPLAB/FreeRTOSConfig.h | 1 + FreeRTOS/Demo/PIC24_MPLAB/main.c | 16 + .../PIC24_MPLAB/nbproject/Makefile-default.mk | 195 ++-- .../nbproject/Makefile-genesis.properties | 11 +- .../nbproject/Makefile-local-default.mk | 20 +- .../PIC24_MPLAB/nbproject/configurations.xml | 342 ++++++- .../nbproject/private/configurations.xml | 2 +- .../PIC24_MPLAB/nbproject/private/private.xml | 9 +- .../Demo/PIC24_MPLAB/nbproject/project.xml | 4 +- FreeRTOS/Demo/PIC32MZ_MPLAB/FreeRTOSConfig.h | 15 +- .../nbproject/Makefile-PIC32MZ2048_SK.mk | 26 +- .../nbproject/Makefile-genesis.properties | 20 +- .../RTOSDemo.X/nbproject/Makefile-impl.mk | 8 +- .../Makefile-local-PIC32MZ2048_SK.mk | 28 +- .../nbproject/Makefile-variables.mk | 14 + .../RTOSDemo.X/nbproject/configurations.xml | 900 +++++++++++++++++- .../nbproject/private/configurations.xml | 42 +- .../RTOSDemo.X/nbproject/private/private.xml | 11 + .../Demo/PIC32MZ_MPLAB/RegisterTestTasks.S | 671 ++++++------- FreeRTOS/Demo/PIC32MZ_MPLAB/flop_mz.c | 388 ++++++++ FreeRTOS/Demo/PIC32MZ_MPLAB/flop_mz.h | 78 ++ FreeRTOS/Demo/PIC32MZ_MPLAB/main.c | 64 +- FreeRTOS/Demo/PIC32MZ_MPLAB/main_full.c | 19 +- .../src/cg_src/r_cg_sci_user_GCC.c | 158 +-- .../src/cg_src/r_cg_sci_user_IAR.c | 156 +-- .../src/cg_src/r_cg_sci_user.c | 156 +-- .../.cproject | 3 +- .../RX700_RX71M_RSK_GCC_e2studio_IAR/.project | 80 +- .../.settings/language.settings.xml | 2 +- .../RTOSDemo HardwareDebug.launch | 8 +- .../RTOSDemo.ewd | 2 +- .../RTOSDemo.ewp | 26 +- .../settings/RTOSDemo.dbgdt | 232 +---- .../settings/RTOSDemo.dni | 222 ++--- .../settings/RTOSDemo.wsdt | 12 +- .../settings/RTOSDemo.wspos | 2 +- .../src/Blinky_Demo/main_blinky.c | 22 +- .../src/FreeRTOSConfig.h | 45 +- .../src/Full_Demo/IntQueueTimer.h | 4 +- .../src/Full_Demo/main_full.c | 65 +- .../src/Renesas_Source/interrupt_handlers.c | 16 +- .../src/Renesas_Source/vector_table.c | 6 +- .../src/cg_src/r_cg_intprg_iar.c | 127 +++ .../src/cg_src/r_cg_macrodriver.h | 1 + .../src/cg_src/r_cg_sci_user.c | 232 ----- .../src/cg_src/r_cg_sci_user_gcc.c | 368 +++++++ .../src/cg_src/r_cg_sci_user_iar.c | 168 +++- .../src/main.c | 6 +- .../.cproject | 1 + .../RX700_RX71M_RSK_Renesas_e2studio/.project | 15 + .../RTOSDemo HardwareDebug.launch | 8 +- .../src/Blinky_Demo/main_blinky.c | 22 +- .../src/FreeRTOSConfig.h | 44 +- .../src/Full_Demo/IntQueueTimer.c | 19 +- .../src/Full_Demo/IntQueueTimer.h | 4 +- .../src/Full_Demo/main_full.c | 65 +- .../src/cg_src/r_cg_sci_user.c | 156 ++- .../src/main.c | 8 +- FreeRTOS/Source/include/FreeRTOS.h | 8 + FreeRTOS/Source/include/StackMacros.h | 63 +- FreeRTOS/Source/include/task.h | 12 + FreeRTOS/Source/portable/IAR/RXv2/port.c | 1 - .../portable/MPLAB/PIC32MZ/ISR_Support.h | 226 ++++- FreeRTOS/Source/portable/MPLAB/PIC32MZ/port.c | 51 +- .../Source/portable/MPLAB/PIC32MZ/port_asm.S | 813 ++++++++++++---- .../Source/portable/MPLAB/PIC32MZ/portmacro.h | 9 + FreeRTOS/Source/timers.c | 11 +- 84 files changed, 5006 insertions(+), 1847 deletions(-) create mode 100644 FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/ReadMe_Instructions.url create mode 100644 FreeRTOS/Demo/PIC32MZ_MPLAB/flop_mz.c create mode 100644 FreeRTOS/Demo/PIC32MZ_MPLAB/flop_mz.h create mode 100644 FreeRTOS/Demo/RX700_RX71M_RSK_GCC_e2studio_IAR/src/cg_src/r_cg_intprg_iar.c delete mode 100644 FreeRTOS/Demo/RX700_RX71M_RSK_GCC_e2studio_IAR/src/cg_src/r_cg_sci_user.c create mode 100644 FreeRTOS/Demo/RX700_RX71M_RSK_GCC_e2studio_IAR/src/cg_src/r_cg_sci_user_gcc.c diff --git a/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/.cproject b/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/.cproject index 2a946487e..3a0c4320b 100644 --- a/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/.cproject +++ b/FreeRTOS/Demo/CORTEX_M4F_MSP432_LaunchPad_IAR_CCS_Keil/.cproject @@ -69,7 +69,7 @@