From f89b22f9d1e89e083e33e2bac8903e3cfa5b5a25 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 17 May 2010 18:12:16 +0000 Subject: [PATCH] Add Cortus port to produce V6.0.5. --- Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c | 2 +- Demo/CORTEX_LM3S316_IAR/commstest.c | 2 +- Demo/CORTEX_LM3S316_IAR/commstest.h | 2 +- Demo/CORTEX_LM3S316_IAR/main.c | 2 +- Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3S811_GCC/main.c | 2 +- Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3S811_IAR/main.c | 2 +- Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c | 2 +- Demo/CORTEX_LM3S811_KEIL/main.c | 2 +- .../RTOSDemo/FreeRTOSConfig.h | 2 +- .../RTOSDemo/IntQueueTimer.c | 2 +- .../RTOSDemo/IntQueueTimer.h | 2 +- .../CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile | 2 +- .../RTOSDemo/ParTest/ParTest.c | 2 +- Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c | 2 +- .../RTOSDemo/timertest.c | 2 +- .../RTOSDemo/webserver/emac.c | 2 +- .../RTOSDemo/webserver/uIP_Task.c | 2 +- .../CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c | 2 +- Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h | 2 +- .../ParTest/ParTest.c | 2 +- Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c | 2 +- Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c | 2 +- .../CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c | 2 +- .../webserver/uIP_Task.c | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.c | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.h | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/ParTest/ParTest.c | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/main.c | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/timertest.c | 2 +- Demo/CORTEX_LM3Sxxxx_Rowley/webserver/emac.c | 2 +- .../webserver/uIP_Task.c | 2 +- .../src/FreeRTOSConfig.h | 2 +- .../CORTEX_LPC1768_GCC_RedSuite/src/ParTest.c | 2 +- Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c | 2 +- .../src/webserver/emac.c | 2 +- .../src/webserver/uIP_Task.c | 2 +- .../FreeRTOSConfig.h | 2 +- Demo/CORTEX_LPC1768_GCC_Rowley/LED.h | 2 +- Demo/CORTEX_LPC1768_GCC_Rowley/ParTest.c | 2 +- Demo/CORTEX_LPC1768_GCC_Rowley/main.c | 2 +- .../webserver/emac.c | 2 +- .../webserver/uIP_Task.c | 2 +- Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h | 2 +- Demo/CORTEX_LPC1768_IAR/LED.h | 2 +- Demo/CORTEX_LPC1768_IAR/ParTest.c | 2 +- Demo/CORTEX_LPC1768_IAR/main.c | 2 +- Demo/CORTEX_LPC1768_IAR/webserver/emac.c | 2 +- Demo/CORTEX_LPC1768_IAR/webserver/uIP_Task.c | 2 +- .../FreeRTOSConfig.h | 2 +- Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c | 2 +- .../src/FreeRTOSConfig.h | 2 +- .../src/main.c | 2 +- Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h | 2 +- Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c | 2 +- Demo/CORTEX_STM32F103_IAR/main.c | 2 +- Demo/CORTEX_STM32F103_IAR/serial/serial.c | 2 +- Demo/CORTEX_STM32F103_IAR/timertest.c | 2 +- Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h | 2 +- Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c | 2 +- Demo/CORTEX_STM32F103_Keil/main.c | 2 +- Demo/CORTEX_STM32F103_Keil/serial/serial.c | 2 +- Demo/CORTEX_STM32F103_Keil/timertest.c | 2 +- .../FreeRTOSConfig.h | 2 +- .../ParTest/ParTest.c | 2 +- Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h | 2 +- Demo/CORTEX_STM32F103_Primer_GCC/main.c | 2 +- Demo/CORTEX_STM32F103_Primer_GCC/timertest.c | 2 +- .../FreeRTOSConfig.h | 2 +- .../ParTest/ParTest.c | 2 +- Demo/CORTEX_STM32F107_GCC_Rowley/main.c | 2 +- Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c | 2 +- .../webserver/emac.c | 2 +- .../webserver/emac.h | 2 +- .../webserver/uIP_Task.c | 2 +- Demo/CORTUS_APS3_GCC/Demo/7seg.c | 2 +- Demo/CORTUS_APS3_GCC/Demo/7seg.h | 2 +- Demo/CORTUS_APS3_GCC/Demo/FreeRTOSConfig.h | 246 +++---- Demo/CORTUS_APS3_GCC/Demo/ParTest.c | 226 +++---- Demo/CORTUS_APS3_GCC/Demo/RegTest.c | 638 +++++++++--------- Demo/CORTUS_APS3_GCC/Demo/RegTest.h | 122 ++-- Demo/CORTUS_APS3_GCC/Demo/demoGpio.h | 2 +- Demo/CORTUS_APS3_GCC/Demo/main.c | 588 ++++++++-------- Demo/CORTUS_APS3_GCC/Demo/serial.c | 472 ++++++------- Demo/Cygnal/FreeRTOSConfig.h | 2 +- Demo/Cygnal/Makefile | 2 +- Demo/Cygnal/ParTest/ParTest.c | 2 +- Demo/Cygnal/main.c | 2 +- Demo/Cygnal/serial/serial.c | 2 +- Demo/Flshlite/FRConfig.h | 2 +- Demo/Flshlite/FileIO/fileIO.c | 2 +- Demo/Flshlite/FreeRTOSConfig.h | 2 +- Demo/Flshlite/ParTest/ParTest.c | 2 +- Demo/Flshlite/main.c | 2 +- Demo/Flshlite/serial/serial.c | 2 +- Demo/H8S/RTOSDemo/FreeRTOSConfig.h | 2 +- Demo/H8S/RTOSDemo/ParTest/ParTest.c | 2 +- Demo/H8S/RTOSDemo/main.c | 2 +- Demo/H8S/RTOSDemo/serial/serial.c | 2 +- .../HCS12_CodeWarrior_banked/FreeRTOSConfig.h | 2 +- .../ParTest/ParTest.c | 2 +- Demo/HCS12_CodeWarrior_banked/main.c | 2 +- Demo/HCS12_CodeWarrior_banked/serial/serial.c | 2 +- Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h | 2 +- .../HCS12_CodeWarrior_small/ParTest/ParTest.c | 2 +- Demo/HCS12_CodeWarrior_small/main.c | 2 +- Demo/HCS12_CodeWarrior_small/serial/serial.c | 2 +- Demo/HCS12_GCC_banked/FreeRTOSConfig.h | 2 +- Demo/HCS12_GCC_banked/ParTest.c | 2 +- Demo/HCS12_GCC_banked/main.c | 2 +- Demo/HCS12_GCC_banked/startup.c | 2 +- Demo/MB91460_Softune/SRC/FreeRTOSConfig.h | 2 +- Demo/MB91460_Softune/SRC/crflash_modified.c | 2 +- Demo/MB91460_Softune/SRC/main.c | 2 +- Demo/MB91460_Softune/SRC/partest/partest.c | 2 +- Demo/MB91460_Softune/SRC/serial/serial.c | 2 +- .../Src/FreeRTOSConfig.h | 2 +- .../Src/crflash_sk16fx100mpc.c | 2 +- .../FreeRTOS_96348hs_SK16FX100PMC/Src/main.c | 2 +- .../Src/partest/partest.c | 2 +- .../Src/serial/serial.c | 2 +- Demo/MB96350_Softune_Dice_Kit/DiceTask.c | 2 +- Demo/MB96350_Softune_Dice_Kit/DiceTask.h | 2 +- .../MB96350_Softune_Dice_Kit/FreeRTOSConfig.h | 2 +- .../ParTest/ParTest.c | 2 +- .../SegmentToggleTasks.c | 2 +- Demo/MB96350_Softune_Dice_Kit/main.c | 2 +- Demo/dsPIC_MPLAB/FreeRTOSConfig.h | 2 +- Demo/dsPIC_MPLAB/ParTest/ParTest.c | 2 +- Demo/dsPIC_MPLAB/lcd.c | 2 +- Demo/dsPIC_MPLAB/lcd.h | 2 +- Demo/dsPIC_MPLAB/main.c | 2 +- Demo/dsPIC_MPLAB/serial/serial.c | 2 +- Demo/dsPIC_MPLAB/timertest.c | 2 +- Demo/dsPIC_MPLAB/timertest.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h | 2 +- .../EMAC/SAM7_EMAC_ISR.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h | 2 +- Demo/lwIP_Demo_Rowley_ARM7/main.c | 2 +- Demo/lwIP_Demo_Rowley_ARM7/makefile | 2 +- 154 files changed, 1294 insertions(+), 1294 deletions(-) diff --git a/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h b/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h index 32825c64b..f4f206941 100644 --- a/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S316_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c b/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c index 786a7ae48..8bc69b5c5 100644 --- a/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3S316_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S316_IAR/commstest.c b/Demo/CORTEX_LM3S316_IAR/commstest.c index 270af381b..59356460c 100644 --- a/Demo/CORTEX_LM3S316_IAR/commstest.c +++ b/Demo/CORTEX_LM3S316_IAR/commstest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S316_IAR/commstest.h b/Demo/CORTEX_LM3S316_IAR/commstest.h index 20da55902..6f2fac19c 100644 --- a/Demo/CORTEX_LM3S316_IAR/commstest.h +++ b/Demo/CORTEX_LM3S316_IAR/commstest.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S316_IAR/main.c b/Demo/CORTEX_LM3S316_IAR/main.c index 2a2e5dfee..070812022 100644 --- a/Demo/CORTEX_LM3S316_IAR/main.c +++ b/Demo/CORTEX_LM3S316_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h index 4494ccbf6..612b4b8fb 100644 --- a/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_GCC/main.c b/Demo/CORTEX_LM3S811_GCC/main.c index 2de1faad3..677ad05d8 100644 --- a/Demo/CORTEX_LM3S811_GCC/main.c +++ b/Demo/CORTEX_LM3S811_GCC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h index cb963ecc7..b3cee3ed8 100644 --- a/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_IAR/main.c b/Demo/CORTEX_LM3S811_IAR/main.c index 9da7e47ee..bf909fbe1 100644 --- a/Demo/CORTEX_LM3S811_IAR/main.c +++ b/Demo/CORTEX_LM3S811_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h b/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h index f773c8176..d2aea5078 100644 --- a/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3S811_KEIL/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c b/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c index 6991164a4..956d247fb 100644 --- a/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c +++ b/Demo/CORTEX_LM3S811_KEIL/heap/heap_1.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3S811_KEIL/main.c b/Demo/CORTEX_LM3S811_KEIL/main.c index 4cb9bef52..50e5837a2 100644 --- a/Demo/CORTEX_LM3S811_KEIL/main.c +++ b/Demo/CORTEX_LM3S811_KEIL/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h index 0c2efac47..e4652d0e6 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c index 89e2fac70..bf2cbbf2f 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h index 876a928a9..ce40d7e29 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile index 6a3b7e3ac..803d22160 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. +# FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. # # *************************************************************************** # * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c index c8ace6b21..2dfac094c 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c index 083462085..91e94a4bd 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c index 98565e281..dd70d671f 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c index f004075ba..70abd10a2 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c index 385e31064..42519bcd0 100644 --- a/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c +++ b/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h index 4626c21d6..ddc1cd40d 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c index 89e2fac70..bf2cbbf2f 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h index 876a928a9..ce40d7e29 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c index c8ace6b21..2dfac094c 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c index 4b715126b..eda299d94 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c index dd590814a..47374488a 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c index 3aa2eadf7..dc00c3adc 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c index f8ace8245..a284995a3 100644 --- a/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c +++ b/Demo/CORTEX_LM3Sxxxx_IAR_Keil/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_LM3Sxxxx_Rowley/FreeRTOSConfig.h index b8d4051c3..aeb993fb8 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.c b/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.c index 89e2fac70..bf2cbbf2f 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.h b/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.h index 876a928a9..ce40d7e29 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.h +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/IntQueueTimer.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/ParTest/ParTest.c b/Demo/CORTEX_LM3Sxxxx_Rowley/ParTest/ParTest.c index c8ace6b21..2dfac094c 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/ParTest/ParTest.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/main.c b/Demo/CORTEX_LM3Sxxxx_Rowley/main.c index a71d6ffab..6447cfad9 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/main.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/timertest.c b/Demo/CORTEX_LM3Sxxxx_Rowley/timertest.c index 7c940aeb7..075764826 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/timertest.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/emac.c b/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/emac.c index 80e428f14..48ee6f06a 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/emac.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/uIP_Task.c b/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/uIP_Task.c index 199cac9b2..358ebd4ef 100644 --- a/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/uIP_Task.c +++ b/Demo/CORTEX_LM3Sxxxx_Rowley/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h index 85909debd..2270276a9 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/ParTest.c b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/ParTest.c index 62fc4350e..77447a9ef 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/ParTest.c +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c index e62287ba1..3e11a4279 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/emac.c b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/emac.c index 0c1179648..8c1069813 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/emac.c +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/uIP_Task.c b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/uIP_Task.c index d498ce165..2628409a0 100644 --- a/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/uIP_Task.c +++ b/Demo/CORTEX_LPC1768_GCC_RedSuite/src/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_LPC1768_GCC_Rowley/FreeRTOSConfig.h index cf0444b78..2fe5c9739 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/LED.h b/Demo/CORTEX_LPC1768_GCC_Rowley/LED.h index 1ae4d73b9..b8cb2f96e 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/LED.h +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/LED.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/ParTest.c b/Demo/CORTEX_LPC1768_GCC_Rowley/ParTest.c index ae5efb2ba..b981aa420 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/ParTest.c +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/main.c b/Demo/CORTEX_LPC1768_GCC_Rowley/main.c index 59c4ed9dd..82d496800 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/main.c +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/emac.c b/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/emac.c index 50461bf03..d0483e745 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/emac.c +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/uIP_Task.c b/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/uIP_Task.c index 366f13105..b4975ff12 100644 --- a/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/uIP_Task.c +++ b/Demo/CORTEX_LPC1768_GCC_Rowley/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h b/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h index f2f0e42ac..a8537675a 100644 --- a/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/LED.h b/Demo/CORTEX_LPC1768_IAR/LED.h index 1ae4d73b9..b8cb2f96e 100644 --- a/Demo/CORTEX_LPC1768_IAR/LED.h +++ b/Demo/CORTEX_LPC1768_IAR/LED.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/ParTest.c b/Demo/CORTEX_LPC1768_IAR/ParTest.c index 1eea2836f..672563386 100644 --- a/Demo/CORTEX_LPC1768_IAR/ParTest.c +++ b/Demo/CORTEX_LPC1768_IAR/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/main.c b/Demo/CORTEX_LPC1768_IAR/main.c index cb50dfc3f..45f1a48af 100644 --- a/Demo/CORTEX_LPC1768_IAR/main.c +++ b/Demo/CORTEX_LPC1768_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/webserver/emac.c b/Demo/CORTEX_LPC1768_IAR/webserver/emac.c index 734bf3108..06f285ad3 100644 --- a/Demo/CORTEX_LPC1768_IAR/webserver/emac.c +++ b/Demo/CORTEX_LPC1768_IAR/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_LPC1768_IAR/webserver/uIP_Task.c b/Demo/CORTEX_LPC1768_IAR/webserver/uIP_Task.c index 366f13105..b4975ff12 100644 --- a/Demo/CORTEX_LPC1768_IAR/webserver/uIP_Task.c +++ b/Demo/CORTEX_LPC1768_IAR/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h index fc076e5e9..2434f5d8e 100644 --- a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c index 1e8f5872f..e269556a9 100644 --- a/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c +++ b/Demo/CORTEX_MPU_LM3Sxxxx_Rowley/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h index 16f67b5d1..e1d5a3b70 100644 --- a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h +++ b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/main.c b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/main.c index 5648db039..55ee4a929 100644 --- a/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/main.c +++ b/Demo/CORTEX_MPU_LPC1768_GCC_RedSuite/src/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h index 93580f658..3da2a383c 100644 --- a/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_IAR/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c index 6adb16e79..67f0e1f27 100644 --- a/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_IAR/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_IAR/main.c b/Demo/CORTEX_STM32F103_IAR/main.c index 8acfb4535..14062f4c1 100644 --- a/Demo/CORTEX_STM32F103_IAR/main.c +++ b/Demo/CORTEX_STM32F103_IAR/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_IAR/serial/serial.c b/Demo/CORTEX_STM32F103_IAR/serial/serial.c index 953f7ecda..83d5db589 100644 --- a/Demo/CORTEX_STM32F103_IAR/serial/serial.c +++ b/Demo/CORTEX_STM32F103_IAR/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_IAR/timertest.c b/Demo/CORTEX_STM32F103_IAR/timertest.c index 372898838..769269f9e 100644 --- a/Demo/CORTEX_STM32F103_IAR/timertest.c +++ b/Demo/CORTEX_STM32F103_IAR/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h index 93580f658..3da2a383c 100644 --- a/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_Keil/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c index 6adb16e79..67f0e1f27 100644 --- a/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_Keil/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Keil/main.c b/Demo/CORTEX_STM32F103_Keil/main.c index 8acfb4535..14062f4c1 100644 --- a/Demo/CORTEX_STM32F103_Keil/main.c +++ b/Demo/CORTEX_STM32F103_Keil/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Keil/serial/serial.c b/Demo/CORTEX_STM32F103_Keil/serial/serial.c index 953f7ecda..83d5db589 100644 --- a/Demo/CORTEX_STM32F103_Keil/serial/serial.c +++ b/Demo/CORTEX_STM32F103_Keil/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Keil/timertest.c b/Demo/CORTEX_STM32F103_Keil/timertest.c index 372898838..769269f9e 100644 --- a/Demo/CORTEX_STM32F103_Keil/timertest.c +++ b/Demo/CORTEX_STM32F103_Keil/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h b/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h index cfecb37a0..6b5a63bac 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F103_Primer_GCC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c b/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c index e46f368f9..a1d4f0096 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F103_Primer_GCC/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h b/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h index fd3142567..a2abe289c 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h +++ b/Demo/CORTEX_STM32F103_Primer_GCC/bitmap.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/main.c b/Demo/CORTEX_STM32F103_Primer_GCC/main.c index 9cda8cb2d..979ec8ee5 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/main.c +++ b/Demo/CORTEX_STM32F103_Primer_GCC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c b/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c index 372898838..769269f9e 100644 --- a/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c +++ b/Demo/CORTEX_STM32F103_Primer_GCC/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h index d43ad0abd..2efc1b375 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c b/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c index b85cf35e3..b19c1bc21 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/main.c b/Demo/CORTEX_STM32F107_GCC_Rowley/main.c index 5f8fe496b..f9e83d3cb 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/main.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c b/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c index c06fd3ba5..d4459400a 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c index b718006be..e86eab4f1 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h index b7c82b7df..5bf237d28 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/emac.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c index 009accf11..995155081 100644 --- a/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c +++ b/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/uIP_Task.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTUS_APS3_GCC/Demo/7seg.c b/Demo/CORTUS_APS3_GCC/Demo/7seg.c index 8d7d6ef2f..9a7c7826d 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/7seg.c +++ b/Demo/CORTUS_APS3_GCC/Demo/7seg.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTUS_APS3_GCC/Demo/7seg.h b/Demo/CORTUS_APS3_GCC/Demo/7seg.h index 15b217e2a..00629bec6 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/7seg.h +++ b/Demo/CORTUS_APS3_GCC/Demo/7seg.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTUS_APS3_GCC/Demo/FreeRTOSConfig.h b/Demo/CORTUS_APS3_GCC/Demo/FreeRTOSConfig.h index 88b85129f..318804364 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/FreeRTOSConfig.h +++ b/Demo/CORTUS_APS3_GCC/Demo/FreeRTOSConfig.h @@ -1,123 +1,123 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -#ifndef FREERTOS_CONFIG_H -#define FREERTOS_CONFIG_H - -#include - -/*----------------------------------------------------------- - * Application specific definitions. - * - * These definitions should be adjusted for your particular hardware and - * application requirements. - * - * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE - * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. - * - * See http://www.freertos.org/a00110.html. - */ - -/*----------------------------------------------------------*/ - -#define configUSE_PREEMPTION 1 -#define configUSE_IDLE_HOOK 0 -#define configUSE_TICK_HOOK 0 -#define configCPU_CLOCK_HZ ( ( unsigned long ) CLOCK_FREQUENCY ) -#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) -#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) -#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 ) -#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 32 * 1024 ) ) -#define configMAX_TASK_NAME_LEN ( 16 ) -#define configUSE_TRACE_FACILITY 0 -#define configUSE_16_BIT_TICKS 0 -#define configIDLE_SHOULD_YIELD 0 -#define configUSE_MALLOC_FAILED_HOOK 1 -#define configCHECK_FOR_STACK_OVERFLOW 1 - -/* Co-routine definitions. */ -#define configUSE_CO_ROUTINES 0 -#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) - -/* Set the following definitions to 1 to include the API function, or zero -to exclude the API function. -We use --gc-sections when linking, so there is no harm is setting all of these to 1 */ - -#define INCLUDE_vTaskPrioritySet 1 -#define INCLUDE_uxTaskPriorityGet 1 -#define INCLUDE_vTaskDelete 1 -#define INCLUDE_vTaskCleanUpResources 1 -#define INCLUDE_vTaskSuspend 1 -#define INCLUDE_vTaskDelayUntil 1 -#define INCLUDE_vTaskDelay 1 - -#define BLOCKQ_1 1 - - - - -/* A task is created to test the behaviour of the interrupt controller during -context switches. This macro is just used to set a variable to true each time -the test task is switched out - the task itself needs to know when this happens -in order to complete its tests. This macro will slow down the context switch -and can normally be removed (just delete the whole macro, although doing so will -cause the test task to indicate an error). */ -extern void *xICTestTask; -extern volatile unsigned long ulTaskSwitchedOut; -#define traceTASK_SWITCHED_OUT() if( pxCurrentTCB == xICTestTask ) ulTaskSwitchedOut = pdTRUE - - - -#endif /* FREERTOS_CONFIG_H */ - - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +#ifndef FREERTOS_CONFIG_H +#define FREERTOS_CONFIG_H + +#include + +/*----------------------------------------------------------- + * Application specific definitions. + * + * These definitions should be adjusted for your particular hardware and + * application requirements. + * + * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE + * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. + * + * See http://www.freertos.org/a00110.html. + */ + +/*----------------------------------------------------------*/ + +#define configUSE_PREEMPTION 1 +#define configUSE_IDLE_HOOK 0 +#define configUSE_TICK_HOOK 0 +#define configCPU_CLOCK_HZ ( ( unsigned long ) CLOCK_FREQUENCY ) +#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) +#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) +#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 32 * 1024 ) ) +#define configMAX_TASK_NAME_LEN ( 16 ) +#define configUSE_TRACE_FACILITY 0 +#define configUSE_16_BIT_TICKS 0 +#define configIDLE_SHOULD_YIELD 0 +#define configUSE_MALLOC_FAILED_HOOK 1 +#define configCHECK_FOR_STACK_OVERFLOW 1 + +/* Co-routine definitions. */ +#define configUSE_CO_ROUTINES 0 +#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) + +/* Set the following definitions to 1 to include the API function, or zero +to exclude the API function. +We use --gc-sections when linking, so there is no harm is setting all of these to 1 */ + +#define INCLUDE_vTaskPrioritySet 1 +#define INCLUDE_uxTaskPriorityGet 1 +#define INCLUDE_vTaskDelete 1 +#define INCLUDE_vTaskCleanUpResources 1 +#define INCLUDE_vTaskSuspend 1 +#define INCLUDE_vTaskDelayUntil 1 +#define INCLUDE_vTaskDelay 1 + +#define BLOCKQ_1 1 + + + + +/* A task is created to test the behaviour of the interrupt controller during +context switches. This macro is just used to set a variable to true each time +the test task is switched out - the task itself needs to know when this happens +in order to complete its tests. This macro will slow down the context switch +and can normally be removed (just delete the whole macro, although doing so will +cause the test task to indicate an error). */ +extern void *xICTestTask; +extern volatile unsigned long ulTaskSwitchedOut; +#define traceTASK_SWITCHED_OUT() if( pxCurrentTCB == xICTestTask ) ulTaskSwitchedOut = pdTRUE + + + +#endif /* FREERTOS_CONFIG_H */ + + diff --git a/Demo/CORTUS_APS3_GCC/Demo/ParTest.c b/Demo/CORTUS_APS3_GCC/Demo/ParTest.c index 034c41fd8..8b30370f0 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/ParTest.c +++ b/Demo/CORTUS_APS3_GCC/Demo/ParTest.c @@ -1,113 +1,113 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -/* Scheduler includes. */ -#include "FreeRTOS.h" -#include "portable.h" - -/* Demo app includes. */ -#include "partest.h" -#include "demoGpio.h" - -#define partstNUM_LEDS ( 8 ) -#define partstALL_OUTPUTS_OFF ( ( unsigned long ) ~(0xFFFFFFFF << partstNUM_LEDS) ) - -static unsigned long ulLEDReg; - -/*----------------------------------------------------------- - * Simple parallel port IO routines. - *-----------------------------------------------------------*/ - -static void SetLeds (unsigned int leds) -{ - gpio->out.leds = leds; -} - -/*-----------------------------------------------------------*/ - -void vParTestInitialise( void ) -{ - gpio->dir.leds = 0xff; -} - -/*-----------------------------------------------------------*/ - -void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue ) -{ - /* Switch an LED on or off as requested. */ - if (uxLED < partstNUM_LEDS) - { - if( xValue ) - { - ulLEDReg &= ~( 1 << uxLED ); - } - else - { - ulLEDReg |= ( 1 << uxLED ); - } - - SetLeds( ulLEDReg ); - } -} -/*-----------------------------------------------------------*/ - -void vParTestToggleLED( unsigned portBASE_TYPE uxLED ) -{ - /* Toggle the state of the requested LED. */ - if (uxLED < partstNUM_LEDS) - { - ulLEDReg ^= ( 1 << uxLED ); - SetLeds( ulLEDReg ); - } -} - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +/* Scheduler includes. */ +#include "FreeRTOS.h" +#include "portable.h" + +/* Demo app includes. */ +#include "partest.h" +#include "demoGpio.h" + +#define partstNUM_LEDS ( 8 ) +#define partstALL_OUTPUTS_OFF ( ( unsigned long ) ~(0xFFFFFFFF << partstNUM_LEDS) ) + +static unsigned long ulLEDReg; + +/*----------------------------------------------------------- + * Simple parallel port IO routines. + *-----------------------------------------------------------*/ + +static void SetLeds (unsigned int leds) +{ + gpio->out.leds = leds; +} + +/*-----------------------------------------------------------*/ + +void vParTestInitialise( void ) +{ + gpio->dir.leds = 0xff; +} + +/*-----------------------------------------------------------*/ + +void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue ) +{ + /* Switch an LED on or off as requested. */ + if (uxLED < partstNUM_LEDS) + { + if( xValue ) + { + ulLEDReg &= ~( 1 << uxLED ); + } + else + { + ulLEDReg |= ( 1 << uxLED ); + } + + SetLeds( ulLEDReg ); + } +} +/*-----------------------------------------------------------*/ + +void vParTestToggleLED( unsigned portBASE_TYPE uxLED ) +{ + /* Toggle the state of the requested LED. */ + if (uxLED < partstNUM_LEDS) + { + ulLEDReg ^= ( 1 << uxLED ); + SetLeds( ulLEDReg ); + } +} + diff --git a/Demo/CORTUS_APS3_GCC/Demo/RegTest.c b/Demo/CORTUS_APS3_GCC/Demo/RegTest.c index 7719e9a3a..8bfb32786 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/RegTest.c +++ b/Demo/CORTUS_APS3_GCC/Demo/RegTest.c @@ -1,319 +1,319 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -#include "FreeRTOS.h" -#include "task.h" - -/* - * Two test tasks that fill the CPU registers with known values before - * continuously looping round checking that each register still contains its - * expected value. Both tasks use a separate set of values, with an incorrect - * value being found at any time being indicative of an error in the context - * switch mechanism. One of the tasks uses a yield instruction to increase the - * test coverage. The nature of these tasks necessitates that they are written - * in assembly code. - */ -static void vRegTest1( void *pvParameters ); -static void vRegTest2( void *pvParameters ); - -/* - * A task that tests the management of the Interrupt Controller (IC) during a - * context switch. The state of the IC current mask level must be maintained - * across context switches. Also, yields must be able to be performed when the - * interrupt controller mask is not zero. This task tests both these - * requirements. - */ -static void prvICCheck1Task( void *pvParameters ); - -/* Counters used to ensure the tasks are still running. */ -static volatile unsigned long ulRegTest1Counter = 0UL, ulRegTest2Counter = 0UL, ulICTestCounter = 0UL; - -/* Handle to the task that checks the interrupt controller behaviour. This is -used by the traceTASK_SWITCHED_OUT() macro, which is defined in -FreeRTOSConfig.h and can be removed - it is just for the purpose of this test. */ -xTaskHandle xICTestTask = NULL; - -/* Variable that gets set to pdTRUE by traceTASK_SWITCHED_OUT each time -is switched out. */ -volatile unsigned long ulTaskSwitchedOut; -/*-----------------------------------------------------------*/ - -void vStartRegTestTasks( void ) -{ - xTaskCreate( vRegTest1, ( signed char * ) "RTest1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); - xTaskCreate( vRegTest2, ( signed char * ) "RTest1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); - xTaskCreate( prvICCheck1Task, ( signed char * ) "ICCheck", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xICTestTask ); -} -/*-----------------------------------------------------------*/ - -static void vRegTest1( void *pvParameters ) -{ - __asm volatile - ( - " mov r2, #0x02 \n" /* Fill the registers with known values, r0 is always 0 and r1 is the stack pointer. */ - " mov r3, #0x03 \n" - " mov r4, #0x04 \n" - " mov r5, #0x05 \n" - " mov r6, #0x06 \n" - " mov r7, #0x07 \n" - " mov r8, #0x08 \n" - " mov r9, #0x09 \n" - " mov r10, #0x0a \n" - " mov r11, #0x0b \n" - " mov r12, #0x0c \n" - " mov r13, #0x0d \n" - " mov r14, #0x0e \n" - " mov r15, #0x0f \n" - " \n" - "reg_check_loop_1: \n" - " trap #31 \n" - " cmp r2, #0x02 \n" /* Check that each register still contains the expected value, jump to an infinite loop if an error is found. */ - " bne.s reg_check_error_1 \n" - " cmp r3, #0x03 \n" - " bne.s reg_check_error_1 \n" - " cmp r4, #0x04 \n" - " bne.s reg_check_error_1 \n" - " cmp r5, #0x05 \n" - " bne.s reg_check_error_1 \n" - " cmp r6, #0x06 \n" - " bne.s reg_check_error_1 \n" - " cmp r7, #0x07 \n" - " bne.s reg_check_error_1 \n" - " cmp r8, #0x08 \n" - " bne.s reg_check_error_1 \n" - " cmp r9, #0x09 \n" - " bne.s reg_check_error_1 \n" - " cmp r10, #0x0a \n" - " bne.s reg_check_error_1 \n" - " cmp r11, #0x0b \n" - " bne.s reg_check_error_1 \n" - " cmp r12, #0x0c \n" - " bne.s reg_check_error_1 \n" - " cmp r13, #0x0d \n" - " bne.s reg_check_error_1 \n" - " cmp r14, #0x0e \n" - " bne.s reg_check_error_1 \n" - " cmp r15, #0x0f \n" - " bne.s reg_check_error_1 \n" - " \n" - " ld r2, [r0]+short(ulRegTest1Counter) \n" /* Increment the loop counter to show that this task is still running error free. */ - " add r2, #1 \n" - " st r2, [r0]+short(ulRegTest1Counter) \n" - " mov r2, #0x02 \n" - " \n" - " bra.s reg_check_loop_1 \n" /* Do it all again. */ - " \n" - "reg_check_error_1: \n" - "bra.s . \n" - ); -} -/*-----------------------------------------------------------*/ - -static void vRegTest2( void *pvParameters ) -{ - __asm volatile - ( - " mov r2, #0x12 \n" /* Fill the registers with known values, r0 is always 0 and r1 is the stack pointer. */ - " mov r3, #0x13 \n" - " mov r4, #0x14 \n" - " mov r5, #0x15 \n" - " mov r6, #0x16 \n" - " mov r7, #0x17 \n" - " mov r8, #0x18 \n" - " mov r9, #0x19 \n" - " mov r10, #0x1a \n" - " mov r11, #0x1b \n" - " mov r12, #0x1c \n" - " mov r13, #0x1d \n" - " mov r14, #0x1e \n" - " mov r15, #0x1f \n" - " \n" - "reg_check_loop_2: \n" - " cmp r2, #0x12 \n" /* Check that each register still contains the expected value, jump to an infinite loop if an error is found. */ - " bne.s reg_check_error_2 \n" - " cmp r3, #0x13 \n" - " bne.s reg_check_error_2 \n" - " cmp r4, #0x14 \n" - " bne.s reg_check_error_2 \n" - " cmp r5, #0x15 \n" - " bne.s reg_check_error_2 \n" - " cmp r6, #0x16 \n" - " bne.s reg_check_error_2 \n" - " cmp r7, #0x17 \n" - " bne.s reg_check_error_2 \n" - " cmp r8, #0x18 \n" - " bne.s reg_check_error_2 \n" - " cmp r9, #0x19 \n" - " bne.s reg_check_error_2 \n" - " cmp r10, #0x1a \n" - " bne.s reg_check_error_2 \n" - " cmp r11, #0x1b \n" - " bne.s reg_check_error_2 \n" - " cmp r12, #0x1c \n" - " bne.s reg_check_error_2 \n" - " cmp r13, #0x1d \n" - " bne.s reg_check_error_2 \n" - " cmp r14, #0x1e \n" - " bne.s reg_check_error_2 \n" - " cmp r15, #0x1f \n" - " bne.s reg_check_error_2 \n" - " \n" - " ld r2, [r0]+short(ulRegTest2Counter) \n" /* Increment the loop counter to show that this task is still running error free. */ - " add r2, #1 \n" - " st r2, [r0]+short(ulRegTest2Counter) \n" - " mov r2, #0x12 \n" - " \n" - " bra.s reg_check_loop_2 \n" /* Do it all again. */ - " \n" - "reg_check_error_2: \n" - "bra.s . \n" - ); -} -/*-----------------------------------------------------------*/ - -static void prvICCheck1Task( void *pvParameters ) -{ -long lICCheckStatus = pdPASS; - - for( ;; ) - { - /* At this point the interrupt mask should be zero. */ - if( ic->cpl != 0 ) - { - lICCheckStatus = pdFAIL; - } - - /* If we yield here, it should still be 0 when the task next runs. - ulTaskSwitchedOut is just used to check that a switch does actually - happen. */ - ulTaskSwitchedOut = pdFALSE; - taskYIELD(); - if( ( ulTaskSwitchedOut != pdTRUE ) || ( ic->cpl != 0 ) ) - { - lICCheckStatus = pdFAIL; - } - - /* Set the interrupt mask to portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1, - before checking it is as expected. */ - taskENTER_CRITICAL(); - if( ic->cpl != ( portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1 ) ) - { - lICCheckStatus = pdFAIL; - } - - /* If we yield here, it should still be - portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 10 when the task next runs. */ - ulTaskSwitchedOut = pdFALSE; - taskYIELD(); - if( ( ulTaskSwitchedOut != pdTRUE ) || ( ic->cpl != ( portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1 ) ) ) - { - lICCheckStatus = pdFAIL; - } - - /* Return the interrupt mask to its default state. */ - taskEXIT_CRITICAL(); - - /* Just increment a loop counter so the check task knows if this task - is still running or not. */ - if( lICCheckStatus == pdPASS ) - { - ulICTestCounter++; - } - } -} -/*-----------------------------------------------------------*/ - -portBASE_TYPE xAreRegTestTasksStillRunning( void ) -{ -static unsigned long ulLastCounter1 = 0UL, ulLastCounter2 = 0UL, ulLastICTestCounter = 0UL; -long lReturn; - - /* Check that both loop counters are still incrementing, indicating that - both reg test tasks are still running error free. */ - if( ulLastCounter1 == ulRegTest1Counter ) - { - lReturn = pdFAIL; - } - else if( ulLastCounter2 == ulRegTest2Counter ) - { - lReturn = pdFAIL; - } - else if( ulLastICTestCounter == ulICTestCounter ) - { - lReturn = pdFAIL; - } - else - { - lReturn = pdPASS; - } - - ulLastCounter1 = ulRegTest1Counter; - ulLastCounter2 = ulRegTest2Counter; - ulLastICTestCounter = ulICTestCounter; - - return lReturn; -} - - - - - - - - - - - - - - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +#include "FreeRTOS.h" +#include "task.h" + +/* + * Two test tasks that fill the CPU registers with known values before + * continuously looping round checking that each register still contains its + * expected value. Both tasks use a separate set of values, with an incorrect + * value being found at any time being indicative of an error in the context + * switch mechanism. One of the tasks uses a yield instruction to increase the + * test coverage. The nature of these tasks necessitates that they are written + * in assembly code. + */ +static void vRegTest1( void *pvParameters ); +static void vRegTest2( void *pvParameters ); + +/* + * A task that tests the management of the Interrupt Controller (IC) during a + * context switch. The state of the IC current mask level must be maintained + * across context switches. Also, yields must be able to be performed when the + * interrupt controller mask is not zero. This task tests both these + * requirements. + */ +static void prvICCheck1Task( void *pvParameters ); + +/* Counters used to ensure the tasks are still running. */ +static volatile unsigned long ulRegTest1Counter = 0UL, ulRegTest2Counter = 0UL, ulICTestCounter = 0UL; + +/* Handle to the task that checks the interrupt controller behaviour. This is +used by the traceTASK_SWITCHED_OUT() macro, which is defined in +FreeRTOSConfig.h and can be removed - it is just for the purpose of this test. */ +xTaskHandle xICTestTask = NULL; + +/* Variable that gets set to pdTRUE by traceTASK_SWITCHED_OUT each time +is switched out. */ +volatile unsigned long ulTaskSwitchedOut; +/*-----------------------------------------------------------*/ + +void vStartRegTestTasks( void ) +{ + xTaskCreate( vRegTest1, ( signed char * ) "RTest1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); + xTaskCreate( vRegTest2, ( signed char * ) "RTest1", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); + xTaskCreate( prvICCheck1Task, ( signed char * ) "ICCheck", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, &xICTestTask ); +} +/*-----------------------------------------------------------*/ + +static void vRegTest1( void *pvParameters ) +{ + __asm volatile + ( + " mov r2, #0x02 \n" /* Fill the registers with known values, r0 is always 0 and r1 is the stack pointer. */ + " mov r3, #0x03 \n" + " mov r4, #0x04 \n" + " mov r5, #0x05 \n" + " mov r6, #0x06 \n" + " mov r7, #0x07 \n" + " mov r8, #0x08 \n" + " mov r9, #0x09 \n" + " mov r10, #0x0a \n" + " mov r11, #0x0b \n" + " mov r12, #0x0c \n" + " mov r13, #0x0d \n" + " mov r14, #0x0e \n" + " mov r15, #0x0f \n" + " \n" + "reg_check_loop_1: \n" + " trap #31 \n" + " cmp r2, #0x02 \n" /* Check that each register still contains the expected value, jump to an infinite loop if an error is found. */ + " bne.s reg_check_error_1 \n" + " cmp r3, #0x03 \n" + " bne.s reg_check_error_1 \n" + " cmp r4, #0x04 \n" + " bne.s reg_check_error_1 \n" + " cmp r5, #0x05 \n" + " bne.s reg_check_error_1 \n" + " cmp r6, #0x06 \n" + " bne.s reg_check_error_1 \n" + " cmp r7, #0x07 \n" + " bne.s reg_check_error_1 \n" + " cmp r8, #0x08 \n" + " bne.s reg_check_error_1 \n" + " cmp r9, #0x09 \n" + " bne.s reg_check_error_1 \n" + " cmp r10, #0x0a \n" + " bne.s reg_check_error_1 \n" + " cmp r11, #0x0b \n" + " bne.s reg_check_error_1 \n" + " cmp r12, #0x0c \n" + " bne.s reg_check_error_1 \n" + " cmp r13, #0x0d \n" + " bne.s reg_check_error_1 \n" + " cmp r14, #0x0e \n" + " bne.s reg_check_error_1 \n" + " cmp r15, #0x0f \n" + " bne.s reg_check_error_1 \n" + " \n" + " ld r2, [r0]+short(ulRegTest1Counter) \n" /* Increment the loop counter to show that this task is still running error free. */ + " add r2, #1 \n" + " st r2, [r0]+short(ulRegTest1Counter) \n" + " mov r2, #0x02 \n" + " \n" + " bra.s reg_check_loop_1 \n" /* Do it all again. */ + " \n" + "reg_check_error_1: \n" + "bra.s . \n" + ); +} +/*-----------------------------------------------------------*/ + +static void vRegTest2( void *pvParameters ) +{ + __asm volatile + ( + " mov r2, #0x12 \n" /* Fill the registers with known values, r0 is always 0 and r1 is the stack pointer. */ + " mov r3, #0x13 \n" + " mov r4, #0x14 \n" + " mov r5, #0x15 \n" + " mov r6, #0x16 \n" + " mov r7, #0x17 \n" + " mov r8, #0x18 \n" + " mov r9, #0x19 \n" + " mov r10, #0x1a \n" + " mov r11, #0x1b \n" + " mov r12, #0x1c \n" + " mov r13, #0x1d \n" + " mov r14, #0x1e \n" + " mov r15, #0x1f \n" + " \n" + "reg_check_loop_2: \n" + " cmp r2, #0x12 \n" /* Check that each register still contains the expected value, jump to an infinite loop if an error is found. */ + " bne.s reg_check_error_2 \n" + " cmp r3, #0x13 \n" + " bne.s reg_check_error_2 \n" + " cmp r4, #0x14 \n" + " bne.s reg_check_error_2 \n" + " cmp r5, #0x15 \n" + " bne.s reg_check_error_2 \n" + " cmp r6, #0x16 \n" + " bne.s reg_check_error_2 \n" + " cmp r7, #0x17 \n" + " bne.s reg_check_error_2 \n" + " cmp r8, #0x18 \n" + " bne.s reg_check_error_2 \n" + " cmp r9, #0x19 \n" + " bne.s reg_check_error_2 \n" + " cmp r10, #0x1a \n" + " bne.s reg_check_error_2 \n" + " cmp r11, #0x1b \n" + " bne.s reg_check_error_2 \n" + " cmp r12, #0x1c \n" + " bne.s reg_check_error_2 \n" + " cmp r13, #0x1d \n" + " bne.s reg_check_error_2 \n" + " cmp r14, #0x1e \n" + " bne.s reg_check_error_2 \n" + " cmp r15, #0x1f \n" + " bne.s reg_check_error_2 \n" + " \n" + " ld r2, [r0]+short(ulRegTest2Counter) \n" /* Increment the loop counter to show that this task is still running error free. */ + " add r2, #1 \n" + " st r2, [r0]+short(ulRegTest2Counter) \n" + " mov r2, #0x12 \n" + " \n" + " bra.s reg_check_loop_2 \n" /* Do it all again. */ + " \n" + "reg_check_error_2: \n" + "bra.s . \n" + ); +} +/*-----------------------------------------------------------*/ + +static void prvICCheck1Task( void *pvParameters ) +{ +long lICCheckStatus = pdPASS; + + for( ;; ) + { + /* At this point the interrupt mask should be zero. */ + if( ic->cpl != 0 ) + { + lICCheckStatus = pdFAIL; + } + + /* If we yield here, it should still be 0 when the task next runs. + ulTaskSwitchedOut is just used to check that a switch does actually + happen. */ + ulTaskSwitchedOut = pdFALSE; + taskYIELD(); + if( ( ulTaskSwitchedOut != pdTRUE ) || ( ic->cpl != 0 ) ) + { + lICCheckStatus = pdFAIL; + } + + /* Set the interrupt mask to portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1, + before checking it is as expected. */ + taskENTER_CRITICAL(); + if( ic->cpl != ( portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1 ) ) + { + lICCheckStatus = pdFAIL; + } + + /* If we yield here, it should still be + portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 10 when the task next runs. */ + ulTaskSwitchedOut = pdFALSE; + taskYIELD(); + if( ( ulTaskSwitchedOut != pdTRUE ) || ( ic->cpl != ( portSYSTEM_INTERRUPT_PRIORITY_LEVEL + 1 ) ) ) + { + lICCheckStatus = pdFAIL; + } + + /* Return the interrupt mask to its default state. */ + taskEXIT_CRITICAL(); + + /* Just increment a loop counter so the check task knows if this task + is still running or not. */ + if( lICCheckStatus == pdPASS ) + { + ulICTestCounter++; + } + } +} +/*-----------------------------------------------------------*/ + +portBASE_TYPE xAreRegTestTasksStillRunning( void ) +{ +static unsigned long ulLastCounter1 = 0UL, ulLastCounter2 = 0UL, ulLastICTestCounter = 0UL; +long lReturn; + + /* Check that both loop counters are still incrementing, indicating that + both reg test tasks are still running error free. */ + if( ulLastCounter1 == ulRegTest1Counter ) + { + lReturn = pdFAIL; + } + else if( ulLastCounter2 == ulRegTest2Counter ) + { + lReturn = pdFAIL; + } + else if( ulLastICTestCounter == ulICTestCounter ) + { + lReturn = pdFAIL; + } + else + { + lReturn = pdPASS; + } + + ulLastCounter1 = ulRegTest1Counter; + ulLastCounter2 = ulRegTest2Counter; + ulLastICTestCounter = ulICTestCounter; + + return lReturn; +} + + + + + + + + + + + + + + diff --git a/Demo/CORTUS_APS3_GCC/Demo/RegTest.h b/Demo/CORTUS_APS3_GCC/Demo/RegTest.h index c18890d4b..9d9dd8f9e 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/RegTest.h +++ b/Demo/CORTUS_APS3_GCC/Demo/RegTest.h @@ -1,61 +1,61 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -#ifndef REG_TEST_H -#define REG_TEST_H - -void vStartRegTestTasks( void ); -portBASE_TYPE xAreRegTestTasksStillRunning( void ); - -#endif - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +#ifndef REG_TEST_H +#define REG_TEST_H + +void vStartRegTestTasks( void ); +portBASE_TYPE xAreRegTestTasksStillRunning( void ); + +#endif + diff --git a/Demo/CORTUS_APS3_GCC/Demo/demoGpio.h b/Demo/CORTUS_APS3_GCC/Demo/demoGpio.h index faa8ede31..5a574b547 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/demoGpio.h +++ b/Demo/CORTUS_APS3_GCC/Demo/demoGpio.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/CORTUS_APS3_GCC/Demo/main.c b/Demo/CORTUS_APS3_GCC/Demo/main.c index 093bac967..a75bf21cb 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/main.c +++ b/Demo/CORTUS_APS3_GCC/Demo/main.c @@ -1,294 +1,294 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -/* - * Creates all the demo application tasks, then starts the scheduler. - * - * Main.c also creates a task called "Check". This only executes every three - * seconds but has the highest priority so is guaranteed to get processor time. - * Its main function is to check that all the other tasks are still operational. - * Each task (other than the "flash" tasks) maintains a unique count that is - * incremented each time the task successfully completes its function. Should - * any error occur within such a task the count is permanently halted. The - * check task inspects the count of each task to ensure it has changed since - * the last time the check task executed. If all the count variables have - * changed all the tasks are still executing error free, and the check task - * toggles the on board LED. Should any task contain an error at any time - * the LED toggle rate will change from 3 seconds to 500ms. - * - * NOTE: The demo application includes tasks that send and receive characters - * over the UART. The characters sent by one task are received by another - - * with an error condition being flagged should any characters be missed or - * received out of order. A loopback connector is required on the 9way D socket - * for this mechanism to operation (pins 2 and 3 the socket should be connected - * together - a paper clip is normally sufficient). - * - */ - -/* Standard includes. */ -#include -#include - -/* Scheduler includes. */ -#include "FreeRTOS.h" -#include "task.h" - -/* Demo application includes. */ -#include "partest.h" -#include "flash.h" -#include "integer.h" -#include "PollQ.h" -#include "comtest2.h" -#include "semtest.h" -#include "flop.h" -#include "dynamic.h" -#include "BlockQ.h" -#include "serial.h" -#include "demoGpio.h" -#include "7seg.h" -#include "RegTest.h" - -/*-----------------------------------------------------------*/ - -/* Constants for the ComTest tasks. */ -#define mainCOM_TEST_BAUD_RATE ( ( unsigned long ) 115200 ) -#define mainCOM_TEST_LED ( 5 ) - -/* Priorities for the demo application tasks. */ -#define mainLED_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) -#define mainCOM_TEST_PRIORITY ( tskIDLE_PRIORITY + 2 ) -#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 ) -#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 4 ) -#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 ) -#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 ) -#define main7SEG_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) - -/* The rate at which the on board LED will toggle when there is/is not an -error. */ -#define mainNO_ERROR_FLASH_PERIOD ( ( portTickType ) 3000 / portTICK_RATE_MS ) -#define mainERROR_FLASH_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS ) -#define mainON_BOARD_LED_BIT ( ( unsigned long ) 7 ) - -/* The size of the memory blocks allocated by the vMemCheckTask() task. */ -#define mainMEM_CHECK_SIZE_1 ( ( size_t ) 51 ) -#define mainMEM_CHECK_SIZE_2 ( ( size_t ) 52 ) -#define mainMEM_CHECK_SIZE_3 ( ( size_t ) 151 ) - -/*-----------------------------------------------------------*/ - -/* - * Checks that all the demo application tasks are still executing without error - * - as described at the top of the file. - */ -static long prvCheckOtherTasksAreStillRunning( void ); - -/* - * The task that executes at the highest priority and calls - * prvCheckOtherTasksAreStillRunning(). See the description at the top - * of the file. - */ -static void vErrorChecks( void *pvParameters ); - -/* - * Configure the processor for use with the Olimex demo board. This includes - * setup for the I/O, system clock, and access timings. - */ -static void prvSetupHardware( void ); - - -/*-----------------------------------------------------------*/ - -/* - * Starts all the other tasks, then starts the scheduler. - */ -int main( void ) -{ - /* Setup the hardware for use with the Xilinx evaluation board. */ - prvSetupHardware(); - - /* Start the demo/test application tasks. */ - vStartIntegerMathTasks( tskIDLE_PRIORITY ); - vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED ); - vStartLEDFlashTasks( mainLED_TASK_PRIORITY ); - vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY ); - vStartSemaphoreTasks( mainSEM_TEST_PRIORITY ); - vStartDynamicPriorityTasks(); - vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); - vStart7SegTasks( main7SEG_TASK_PRIORITY ); - vStartRegTestTasks(); - - /* Start the check task - which is defined in this file. */ - xTaskCreate( vErrorChecks, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL ); - - /* Now all the tasks have been started - start the scheduler. */ - vTaskStartScheduler(); - - /* Should never reach here! */ - for( ;; ); -} -/*-----------------------------------------------------------*/ - -static void vErrorChecks( void *pvParameters ) -{ -portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD; - - /* Just to stop compiler warnings. */ - ( void ) pvParameters; - - /* Cycle for ever, delaying then checking all the other tasks are still - operating without error. If an error is detected then the delay period - is decreased from mainNO_ERROR_FLASH_PERIOD to mainERROR_FLASH_PERIOD so - the on board LED flash rate will increase. */ - - for( ;; ) - { - /* Delay until it is time to execute again. */ - vTaskDelay( xDelayPeriod ); - - /* Check all the standard demo application tasks are executing without - error. */ - if( prvCheckOtherTasksAreStillRunning() != pdPASS ) - { - /* An error has been detected in one of the tasks - flash faster. */ - xDelayPeriod = mainERROR_FLASH_PERIOD; - } - - /* The toggle rate of the LED depends on how long this task delays for. - An error reduces the delay period and so increases the toggle rate. */ - vParTestToggleLED( mainON_BOARD_LED_BIT ); - } -} -/*-----------------------------------------------------------*/ - -static void prvSetupHardware( void ) -{ - /* Initialise LED outputs. */ - vParTestInitialise(); -} -/*-----------------------------------------------------------*/ - -static long prvCheckOtherTasksAreStillRunning( void ) -{ -long lReturn = pdPASS; - - /* Check all the demo tasks (other than the flash tasks) to ensure - that they are all still running, and that none of them have detected - an error. */ - - if( xAreIntegerMathsTaskStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xAreComTestTasksStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xArePollingQueuesStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xAreSemaphoreTasksStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xAreDynamicPriorityTasksStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xAreBlockingQueuesStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - if( xAreRegTestTasksStillRunning() != pdTRUE ) - { - lReturn = pdFAIL; - } - - return lReturn; -} -/*-----------------------------------------------------------*/ - -void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName ) -{ - /* This function will be called if a task overflows its stack. Inspect - pxCurrentTCB to find the offending task if the overflow was sever enough - to corrupt the pcTaskName parameter. */ - vParTestSetLED( 4, 1 ); - for( ;; ); -} -/*-----------------------------------------------------------*/ - -void vApplicationMallocFailedHook( void ) -{ - /* This function will be called if a call to pvPortMalloc() fails to return - the requested memory. pvPortMalloc() is called internally by the scheduler - whenever a task, queue or semaphore is created. */ - vParTestSetLED( 4, 1 ); - for( ;; ); -} -/*-----------------------------------------------------------*/ - -/* Provide an exit function to prevent a whole load of standard library functions -being brought into the build. */ -void exit( int status ) -{ - for( ;; ); -} - - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +/* + * Creates all the demo application tasks, then starts the scheduler. + * + * Main.c also creates a task called "Check". This only executes every three + * seconds but has the highest priority so is guaranteed to get processor time. + * Its main function is to check that all the other tasks are still operational. + * Each task (other than the "flash" tasks) maintains a unique count that is + * incremented each time the task successfully completes its function. Should + * any error occur within such a task the count is permanently halted. The + * check task inspects the count of each task to ensure it has changed since + * the last time the check task executed. If all the count variables have + * changed all the tasks are still executing error free, and the check task + * toggles the on board LED. Should any task contain an error at any time + * the LED toggle rate will change from 3 seconds to 500ms. + * + * NOTE: The demo application includes tasks that send and receive characters + * over the UART. The characters sent by one task are received by another - + * with an error condition being flagged should any characters be missed or + * received out of order. A loopback connector is required on the 9way D socket + * for this mechanism to operation (pins 2 and 3 the socket should be connected + * together - a paper clip is normally sufficient). + * + */ + +/* Standard includes. */ +#include +#include + +/* Scheduler includes. */ +#include "FreeRTOS.h" +#include "task.h" + +/* Demo application includes. */ +#include "partest.h" +#include "flash.h" +#include "integer.h" +#include "PollQ.h" +#include "comtest2.h" +#include "semtest.h" +#include "flop.h" +#include "dynamic.h" +#include "BlockQ.h" +#include "serial.h" +#include "demoGpio.h" +#include "7seg.h" +#include "RegTest.h" + +/*-----------------------------------------------------------*/ + +/* Constants for the ComTest tasks. */ +#define mainCOM_TEST_BAUD_RATE ( ( unsigned long ) 115200 ) +#define mainCOM_TEST_LED ( 5 ) + +/* Priorities for the demo application tasks. */ +#define mainLED_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) +#define mainCOM_TEST_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 4 ) +#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 ) +#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define main7SEG_TASK_PRIORITY ( tskIDLE_PRIORITY + 2 ) + +/* The rate at which the on board LED will toggle when there is/is not an +error. */ +#define mainNO_ERROR_FLASH_PERIOD ( ( portTickType ) 3000 / portTICK_RATE_MS ) +#define mainERROR_FLASH_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS ) +#define mainON_BOARD_LED_BIT ( ( unsigned long ) 7 ) + +/* The size of the memory blocks allocated by the vMemCheckTask() task. */ +#define mainMEM_CHECK_SIZE_1 ( ( size_t ) 51 ) +#define mainMEM_CHECK_SIZE_2 ( ( size_t ) 52 ) +#define mainMEM_CHECK_SIZE_3 ( ( size_t ) 151 ) + +/*-----------------------------------------------------------*/ + +/* + * Checks that all the demo application tasks are still executing without error + * - as described at the top of the file. + */ +static long prvCheckOtherTasksAreStillRunning( void ); + +/* + * The task that executes at the highest priority and calls + * prvCheckOtherTasksAreStillRunning(). See the description at the top + * of the file. + */ +static void vErrorChecks( void *pvParameters ); + +/* + * Configure the processor for use with the Olimex demo board. This includes + * setup for the I/O, system clock, and access timings. + */ +static void prvSetupHardware( void ); + + +/*-----------------------------------------------------------*/ + +/* + * Starts all the other tasks, then starts the scheduler. + */ +int main( void ) +{ + /* Setup the hardware for use with the Xilinx evaluation board. */ + prvSetupHardware(); + + /* Start the demo/test application tasks. */ + vStartIntegerMathTasks( tskIDLE_PRIORITY ); + vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED ); + vStartLEDFlashTasks( mainLED_TASK_PRIORITY ); + vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY ); + vStartSemaphoreTasks( mainSEM_TEST_PRIORITY ); + vStartDynamicPriorityTasks(); + vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); + vStart7SegTasks( main7SEG_TASK_PRIORITY ); + vStartRegTestTasks(); + + /* Start the check task - which is defined in this file. */ + xTaskCreate( vErrorChecks, ( signed char * ) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL ); + + /* Now all the tasks have been started - start the scheduler. */ + vTaskStartScheduler(); + + /* Should never reach here! */ + for( ;; ); +} +/*-----------------------------------------------------------*/ + +static void vErrorChecks( void *pvParameters ) +{ +portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD; + + /* Just to stop compiler warnings. */ + ( void ) pvParameters; + + /* Cycle for ever, delaying then checking all the other tasks are still + operating without error. If an error is detected then the delay period + is decreased from mainNO_ERROR_FLASH_PERIOD to mainERROR_FLASH_PERIOD so + the on board LED flash rate will increase. */ + + for( ;; ) + { + /* Delay until it is time to execute again. */ + vTaskDelay( xDelayPeriod ); + + /* Check all the standard demo application tasks are executing without + error. */ + if( prvCheckOtherTasksAreStillRunning() != pdPASS ) + { + /* An error has been detected in one of the tasks - flash faster. */ + xDelayPeriod = mainERROR_FLASH_PERIOD; + } + + /* The toggle rate of the LED depends on how long this task delays for. + An error reduces the delay period and so increases the toggle rate. */ + vParTestToggleLED( mainON_BOARD_LED_BIT ); + } +} +/*-----------------------------------------------------------*/ + +static void prvSetupHardware( void ) +{ + /* Initialise LED outputs. */ + vParTestInitialise(); +} +/*-----------------------------------------------------------*/ + +static long prvCheckOtherTasksAreStillRunning( void ) +{ +long lReturn = pdPASS; + + /* Check all the demo tasks (other than the flash tasks) to ensure + that they are all still running, and that none of them have detected + an error. */ + + if( xAreIntegerMathsTaskStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xAreComTestTasksStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xArePollingQueuesStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xAreSemaphoreTasksStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xAreDynamicPriorityTasksStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xAreBlockingQueuesStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + if( xAreRegTestTasksStillRunning() != pdTRUE ) + { + lReturn = pdFAIL; + } + + return lReturn; +} +/*-----------------------------------------------------------*/ + +void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName ) +{ + /* This function will be called if a task overflows its stack. Inspect + pxCurrentTCB to find the offending task if the overflow was sever enough + to corrupt the pcTaskName parameter. */ + vParTestSetLED( 4, 1 ); + for( ;; ); +} +/*-----------------------------------------------------------*/ + +void vApplicationMallocFailedHook( void ) +{ + /* This function will be called if a call to pvPortMalloc() fails to return + the requested memory. pvPortMalloc() is called internally by the scheduler + whenever a task, queue or semaphore is created. */ + vParTestSetLED( 4, 1 ); + for( ;; ); +} +/*-----------------------------------------------------------*/ + +/* Provide an exit function to prevent a whole load of standard library functions +being brought into the build. */ +void exit( int status ) +{ + for( ;; ); +} + + diff --git a/Demo/CORTUS_APS3_GCC/Demo/serial.c b/Demo/CORTUS_APS3_GCC/Demo/serial.c index 4db95f4a1..70659cc84 100644 --- a/Demo/CORTUS_APS3_GCC/Demo/serial.c +++ b/Demo/CORTUS_APS3_GCC/Demo/serial.c @@ -1,236 +1,236 @@ -/* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. - - *************************************************************************** - * * - * If you are: * - * * - * + New to FreeRTOS, * - * + Wanting to learn FreeRTOS or multitasking in general quickly * - * + Looking for basic training, * - * + Wanting to improve your FreeRTOS skills and productivity * - * * - * then take a look at the FreeRTOS eBook * - * * - * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * - * http://www.FreeRTOS.org/Documentation * - * * - * A pdf reference manual is also available. Both are usually delivered * - * to your inbox within 20 minutes to two hours when purchased between 8am * - * and 8pm GMT (although please allow up to 24 hours in case of * - * exceptional circumstances). Thank you for your support! * - * * - *************************************************************************** - - This file is part of the FreeRTOS distribution. - - FreeRTOS is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License (version 2) as published by the - Free Software Foundation AND MODIFIED BY the FreeRTOS exception. - ***NOTE*** The exception to the GPL is included to allow you to distribute - a combined work that includes FreeRTOS without being obliged to provide the - source code for proprietary components outside of the FreeRTOS kernel. - FreeRTOS is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. You should have received a copy of the GNU General Public - License and the FreeRTOS license exception along with FreeRTOS; if not it - can be viewed here: http://www.freertos.org/a00114.html and also obtained - by writing to Richard Barry, contact details for whom are available on the - FreeRTOS WEB site. - - 1 tab == 4 spaces! - - http://www.FreeRTOS.org - Documentation, latest information, license and - contact details. - - http://www.SafeRTOS.com - A version that is certified for use in safety - critical systems. - - http://www.OpenRTOS.com - Commercial support, development, porting, - licensing and training services. -*/ - -/* Basic interrupt driven serial port driver for uart1. -*/ - -/* Standard includes. */ -#include - -/* Kernel includes. */ -#include "FreeRTOS.h" -#include "queue.h" -#include "task.h" - -/* Demo application includes. */ -#include -#include -#include "serial.h" -/*-----------------------------------------------------------*/ - -#define comBLOCK_RETRY_TIME 10 -/*-----------------------------------------------------------*/ - -/* The interrupt handlers are naked functions that call C handlers. The C -handlers are marked as noinline to ensure they work correctly when the -optimiser is on. */ -void interrupt5_handler( void ) __attribute__((naked)); -static void prvTxHandler( void ) __attribute__((noinline)); -void interrupt6_handler( void ) __attribute__((naked)); -static void prvRxHandler( void ) __attribute__((noinline)); - -/*-----------------------------------------------------------*/ - -/* Queues used to hold received characters, and characters waiting to be -transmitted. */ -static xQueueHandle xRxedChars; -static xQueueHandle xCharsForTx; -extern unsigned portBASE_TYPE *pxVectorTable; -/*-----------------------------------------------------------*/ - -xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength ) -{ - /* Create the queues used to hold Rx and Tx characters. */ - xRxedChars = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( signed char ) ); - xCharsForTx = xQueueCreate( uxQueueLength + 1, ( unsigned portBASE_TYPE ) sizeof( signed char ) ); - - if( ( xRxedChars ) && ( xCharsForTx ) ) - { - /* Set up interrupts */ - /* tx interrupt will be enabled when we need to send something */ - uart1->tx_mask = 0; - uart1->rx_mask = 1; - irq[IRQ_UART1_TX].ien = 1; - irq[IRQ_UART1_TX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL; - irq[IRQ_UART1_RX].ien = 1; - irq[IRQ_UART1_RX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL; - } - - return ( xComPortHandle ) 0; -} -/*-----------------------------------------------------------*/ - -signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, portTickType xBlockTime ) -{ - /* The port handle is not required as this driver only supports uart1. */ - (void) pxPort; - - /* Get the next character from the buffer. Return false if no characters - are available, or arrive before xBlockTime expires. */ - if( xQueueReceive( xRxedChars, pcRxedChar, xBlockTime ) ) - { - return pdTRUE; - } - else - { - return pdFALSE; - } -} -/*-----------------------------------------------------------*/ - -void vSerialPutString( xComPortHandle pxPort, const signed char * const pcString, unsigned short usStringLength ) -{ - int i; - signed char *pChNext; - - /* Send each character in the string, one at a time. */ - pChNext = ( signed char * )pcString; - for( i = 0; i < usStringLength; i++ ) - { - /* Block until character has been transmitted. */ - while( xSerialPutChar( pxPort, *pChNext, comBLOCK_RETRY_TIME ) != pdTRUE ); pChNext++; - } -} -/*-----------------------------------------------------------*/ - -signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, portTickType xBlockTime ) -{ - ( void ) pxPort; - - /* Place the character in the queue of characters to be transmitted. */ - if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS ) - { - return pdFAIL; - } - - /* Turn on the Tx interrupt so the ISR will remove the character from the - queue and send it. This does not need to be in a critical section as - if the interrupt has already removed the character the next interrupt - will simply turn off the Tx interrupt again. */ - uart1->tx_mask = 1; - - return pdPASS; -} -/*-----------------------------------------------------------*/ - -void vSerialClose( xComPortHandle xPort ) -{ - /* Not supported as not required by the demo application. */ - ( void ) xPort; -} -/*-----------------------------------------------------------*/ - -/* UART Tx interrupt handler. */ -void interrupt5_handler( void ) -{ - /* This is a naked function. */ - portSAVE_CONTEXT(); - prvTxHandler(); - portRESTORE_CONTEXT(); -} -/*-----------------------------------------------------------*/ - -static void prvTxHandler( void ) -{ -signed char cChar; -portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; - - /* The interrupt was caused by the transmit fifo having space for at least one - character. Are there any more characters to transmit? */ - if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xHigherPriorityTaskWoken ) == pdTRUE ) - { - /* A character was retrieved from the queue so can be sent to the uart now. */ - uart1->tx_data = cChar; - } - else - { - /* Queue empty, nothing to send so turn off the Tx interrupt. */ - uart1->tx_mask = 0; - } - - /* If an event caused a task to unblock then we call "Yield from ISR" to - ensure that the unblocked task is the task that executes when the interrupt - completes if the unblocked task has a priority higher than the interrupted - task. */ - portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); -} -/*-----------------------------------------------------------*/ - -/* UART Rx interrupt. */ -void interrupt6_handler( void ) -{ - portSAVE_CONTEXT(); - prvRxHandler(); - portRESTORE_CONTEXT(); -} -/*-----------------------------------------------------------*/ - -static void prvRxHandler( void ) -{ -signed char cChar; -portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; - - /* The interrupt was caused by the receiver getting data. */ - cChar = uart1->rx_data; - - xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken ); - - /* If an event caused a task to unblock then we call "Yield from ISR" to - ensure that the unblocked task is the task that executes when the interrupt - completes if the unblocked task has a priority higher than the interrupted - task. */ - portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); -} -/*-----------------------------------------------------------*/ - - +/* + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. + + *************************************************************************** + * * + * If you are: * + * * + * + New to FreeRTOS, * + * + Wanting to learn FreeRTOS or multitasking in general quickly * + * + Looking for basic training, * + * + Wanting to improve your FreeRTOS skills and productivity * + * * + * then take a look at the FreeRTOS eBook * + * * + * "Using the FreeRTOS Real Time Kernel - a Practical Guide" * + * http://www.FreeRTOS.org/Documentation * + * * + * A pdf reference manual is also available. Both are usually delivered * + * to your inbox within 20 minutes to two hours when purchased between 8am * + * and 8pm GMT (although please allow up to 24 hours in case of * + * exceptional circumstances). Thank you for your support! * + * * + *************************************************************************** + + This file is part of the FreeRTOS distribution. + + FreeRTOS is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License (version 2) as published by the + Free Software Foundation AND MODIFIED BY the FreeRTOS exception. + ***NOTE*** The exception to the GPL is included to allow you to distribute + a combined work that includes FreeRTOS without being obliged to provide the + source code for proprietary components outside of the FreeRTOS kernel. + FreeRTOS is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. You should have received a copy of the GNU General Public + License and the FreeRTOS license exception along with FreeRTOS; if not it + can be viewed here: http://www.freertos.org/a00114.html and also obtained + by writing to Richard Barry, contact details for whom are available on the + FreeRTOS WEB site. + + 1 tab == 4 spaces! + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +/* Basic interrupt driven serial port driver for uart1. +*/ + +/* Standard includes. */ +#include + +/* Kernel includes. */ +#include "FreeRTOS.h" +#include "queue.h" +#include "task.h" + +/* Demo application includes. */ +#include +#include +#include "serial.h" +/*-----------------------------------------------------------*/ + +#define comBLOCK_RETRY_TIME 10 +/*-----------------------------------------------------------*/ + +/* The interrupt handlers are naked functions that call C handlers. The C +handlers are marked as noinline to ensure they work correctly when the +optimiser is on. */ +void interrupt5_handler( void ) __attribute__((naked)); +static void prvTxHandler( void ) __attribute__((noinline)); +void interrupt6_handler( void ) __attribute__((naked)); +static void prvRxHandler( void ) __attribute__((noinline)); + +/*-----------------------------------------------------------*/ + +/* Queues used to hold received characters, and characters waiting to be +transmitted. */ +static xQueueHandle xRxedChars; +static xQueueHandle xCharsForTx; +extern unsigned portBASE_TYPE *pxVectorTable; +/*-----------------------------------------------------------*/ + +xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength ) +{ + /* Create the queues used to hold Rx and Tx characters. */ + xRxedChars = xQueueCreate( uxQueueLength, ( unsigned portBASE_TYPE ) sizeof( signed char ) ); + xCharsForTx = xQueueCreate( uxQueueLength + 1, ( unsigned portBASE_TYPE ) sizeof( signed char ) ); + + if( ( xRxedChars ) && ( xCharsForTx ) ) + { + /* Set up interrupts */ + /* tx interrupt will be enabled when we need to send something */ + uart1->tx_mask = 0; + uart1->rx_mask = 1; + irq[IRQ_UART1_TX].ien = 1; + irq[IRQ_UART1_TX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL; + irq[IRQ_UART1_RX].ien = 1; + irq[IRQ_UART1_RX].ipl = portSYSTEM_INTERRUPT_PRIORITY_LEVEL; + } + + return ( xComPortHandle ) 0; +} +/*-----------------------------------------------------------*/ + +signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, portTickType xBlockTime ) +{ + /* The port handle is not required as this driver only supports uart1. */ + (void) pxPort; + + /* Get the next character from the buffer. Return false if no characters + are available, or arrive before xBlockTime expires. */ + if( xQueueReceive( xRxedChars, pcRxedChar, xBlockTime ) ) + { + return pdTRUE; + } + else + { + return pdFALSE; + } +} +/*-----------------------------------------------------------*/ + +void vSerialPutString( xComPortHandle pxPort, const signed char * const pcString, unsigned short usStringLength ) +{ + int i; + signed char *pChNext; + + /* Send each character in the string, one at a time. */ + pChNext = ( signed char * )pcString; + for( i = 0; i < usStringLength; i++ ) + { + /* Block until character has been transmitted. */ + while( xSerialPutChar( pxPort, *pChNext, comBLOCK_RETRY_TIME ) != pdTRUE ); pChNext++; + } +} +/*-----------------------------------------------------------*/ + +signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, portTickType xBlockTime ) +{ + ( void ) pxPort; + + /* Place the character in the queue of characters to be transmitted. */ + if( xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) != pdPASS ) + { + return pdFAIL; + } + + /* Turn on the Tx interrupt so the ISR will remove the character from the + queue and send it. This does not need to be in a critical section as + if the interrupt has already removed the character the next interrupt + will simply turn off the Tx interrupt again. */ + uart1->tx_mask = 1; + + return pdPASS; +} +/*-----------------------------------------------------------*/ + +void vSerialClose( xComPortHandle xPort ) +{ + /* Not supported as not required by the demo application. */ + ( void ) xPort; +} +/*-----------------------------------------------------------*/ + +/* UART Tx interrupt handler. */ +void interrupt5_handler( void ) +{ + /* This is a naked function. */ + portSAVE_CONTEXT(); + prvTxHandler(); + portRESTORE_CONTEXT(); +} +/*-----------------------------------------------------------*/ + +static void prvTxHandler( void ) +{ +signed char cChar; +portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; + + /* The interrupt was caused by the transmit fifo having space for at least one + character. Are there any more characters to transmit? */ + if( xQueueReceiveFromISR( xCharsForTx, &cChar, &xHigherPriorityTaskWoken ) == pdTRUE ) + { + /* A character was retrieved from the queue so can be sent to the uart now. */ + uart1->tx_data = cChar; + } + else + { + /* Queue empty, nothing to send so turn off the Tx interrupt. */ + uart1->tx_mask = 0; + } + + /* If an event caused a task to unblock then we call "Yield from ISR" to + ensure that the unblocked task is the task that executes when the interrupt + completes if the unblocked task has a priority higher than the interrupted + task. */ + portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); +} +/*-----------------------------------------------------------*/ + +/* UART Rx interrupt. */ +void interrupt6_handler( void ) +{ + portSAVE_CONTEXT(); + prvRxHandler(); + portRESTORE_CONTEXT(); +} +/*-----------------------------------------------------------*/ + +static void prvRxHandler( void ) +{ +signed char cChar; +portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; + + /* The interrupt was caused by the receiver getting data. */ + cChar = uart1->rx_data; + + xQueueSendFromISR(xRxedChars, &cChar, &xHigherPriorityTaskWoken ); + + /* If an event caused a task to unblock then we call "Yield from ISR" to + ensure that the unblocked task is the task that executes when the interrupt + completes if the unblocked task has a priority higher than the interrupted + task. */ + portYIELD_FROM_ISR( xHigherPriorityTaskWoken ); +} +/*-----------------------------------------------------------*/ + + diff --git a/Demo/Cygnal/FreeRTOSConfig.h b/Demo/Cygnal/FreeRTOSConfig.h index d0c228aac..b4e79e081 100644 --- a/Demo/Cygnal/FreeRTOSConfig.h +++ b/Demo/Cygnal/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Cygnal/Makefile b/Demo/Cygnal/Makefile index fa706d21c..8cf44f355 100644 --- a/Demo/Cygnal/Makefile +++ b/Demo/Cygnal/Makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. +# FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. # # *************************************************************************** # * * diff --git a/Demo/Cygnal/ParTest/ParTest.c b/Demo/Cygnal/ParTest/ParTest.c index 2c7b09fff..53c2e3857 100644 --- a/Demo/Cygnal/ParTest/ParTest.c +++ b/Demo/Cygnal/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Cygnal/main.c b/Demo/Cygnal/main.c index d0af254b7..b9ca1c713 100644 --- a/Demo/Cygnal/main.c +++ b/Demo/Cygnal/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Cygnal/serial/serial.c b/Demo/Cygnal/serial/serial.c index 5a5988a8b..9d6b57d3e 100644 --- a/Demo/Cygnal/serial/serial.c +++ b/Demo/Cygnal/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/FRConfig.h b/Demo/Flshlite/FRConfig.h index 1e2f781b2..ca17d9bbf 100644 --- a/Demo/Flshlite/FRConfig.h +++ b/Demo/Flshlite/FRConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/FileIO/fileIO.c b/Demo/Flshlite/FileIO/fileIO.c index 9bd92d13c..5d5a45fd6 100644 --- a/Demo/Flshlite/FileIO/fileIO.c +++ b/Demo/Flshlite/FileIO/fileIO.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/FreeRTOSConfig.h b/Demo/Flshlite/FreeRTOSConfig.h index 02d85cf22..f702ef42c 100644 --- a/Demo/Flshlite/FreeRTOSConfig.h +++ b/Demo/Flshlite/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/ParTest/ParTest.c b/Demo/Flshlite/ParTest/ParTest.c index 89e98e1a8..55151ff23 100644 --- a/Demo/Flshlite/ParTest/ParTest.c +++ b/Demo/Flshlite/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/main.c b/Demo/Flshlite/main.c index 9d5fdb993..126eb5f25 100644 --- a/Demo/Flshlite/main.c +++ b/Demo/Flshlite/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/Flshlite/serial/serial.c b/Demo/Flshlite/serial/serial.c index 49f48f3b5..0ef60096d 100644 --- a/Demo/Flshlite/serial/serial.c +++ b/Demo/Flshlite/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/H8S/RTOSDemo/FreeRTOSConfig.h b/Demo/H8S/RTOSDemo/FreeRTOSConfig.h index 619555a4d..9cfcbbd6e 100644 --- a/Demo/H8S/RTOSDemo/FreeRTOSConfig.h +++ b/Demo/H8S/RTOSDemo/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/H8S/RTOSDemo/ParTest/ParTest.c b/Demo/H8S/RTOSDemo/ParTest/ParTest.c index b41150f11..e48c7d718 100644 --- a/Demo/H8S/RTOSDemo/ParTest/ParTest.c +++ b/Demo/H8S/RTOSDemo/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/H8S/RTOSDemo/main.c b/Demo/H8S/RTOSDemo/main.c index 7c196014a..dfa06e3da 100644 --- a/Demo/H8S/RTOSDemo/main.c +++ b/Demo/H8S/RTOSDemo/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/H8S/RTOSDemo/serial/serial.c b/Demo/H8S/RTOSDemo/serial/serial.c index 842af6179..3c671dcf5 100644 --- a/Demo/H8S/RTOSDemo/serial/serial.c +++ b/Demo/H8S/RTOSDemo/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h b/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h index 7d6f2aa0e..60e02a090 100644 --- a/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h +++ b/Demo/HCS12_CodeWarrior_banked/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c b/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c index 7998a64a8..27e691d35 100644 --- a/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c +++ b/Demo/HCS12_CodeWarrior_banked/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_banked/main.c b/Demo/HCS12_CodeWarrior_banked/main.c index 11f9f1dcf..ad0ae13c4 100644 --- a/Demo/HCS12_CodeWarrior_banked/main.c +++ b/Demo/HCS12_CodeWarrior_banked/main.c @@ -1,6 +1,6 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_banked/serial/serial.c b/Demo/HCS12_CodeWarrior_banked/serial/serial.c index 3e600aef4..ec653465e 100644 --- a/Demo/HCS12_CodeWarrior_banked/serial/serial.c +++ b/Demo/HCS12_CodeWarrior_banked/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h b/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h index 331412dc6..d60352179 100644 --- a/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h +++ b/Demo/HCS12_CodeWarrior_small/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c b/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c index 7998a64a8..27e691d35 100644 --- a/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c +++ b/Demo/HCS12_CodeWarrior_small/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_small/main.c b/Demo/HCS12_CodeWarrior_small/main.c index c8c9ac48f..135939cc7 100644 --- a/Demo/HCS12_CodeWarrior_small/main.c +++ b/Demo/HCS12_CodeWarrior_small/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_CodeWarrior_small/serial/serial.c b/Demo/HCS12_CodeWarrior_small/serial/serial.c index 66c7cd1de..1696083c1 100644 --- a/Demo/HCS12_CodeWarrior_small/serial/serial.c +++ b/Demo/HCS12_CodeWarrior_small/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_GCC_banked/FreeRTOSConfig.h b/Demo/HCS12_GCC_banked/FreeRTOSConfig.h index d83b61f96..642b2e37c 100644 --- a/Demo/HCS12_GCC_banked/FreeRTOSConfig.h +++ b/Demo/HCS12_GCC_banked/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_GCC_banked/ParTest.c b/Demo/HCS12_GCC_banked/ParTest.c index b1626737a..b9d25c459 100644 --- a/Demo/HCS12_GCC_banked/ParTest.c +++ b/Demo/HCS12_GCC_banked/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_GCC_banked/main.c b/Demo/HCS12_GCC_banked/main.c index 7c5cdefad..1306dae50 100644 --- a/Demo/HCS12_GCC_banked/main.c +++ b/Demo/HCS12_GCC_banked/main.c @@ -1,6 +1,6 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/HCS12_GCC_banked/startup.c b/Demo/HCS12_GCC_banked/startup.c index 5407b2ddc..9516a1016 100644 --- a/Demo/HCS12_GCC_banked/startup.c +++ b/Demo/HCS12_GCC_banked/startup.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h b/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h index 4690e53f9..52eb466c8 100644 --- a/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h +++ b/Demo/MB91460_Softune/SRC/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB91460_Softune/SRC/crflash_modified.c b/Demo/MB91460_Softune/SRC/crflash_modified.c index 007be1360..f9e60d22b 100644 --- a/Demo/MB91460_Softune/SRC/crflash_modified.c +++ b/Demo/MB91460_Softune/SRC/crflash_modified.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB91460_Softune/SRC/main.c b/Demo/MB91460_Softune/SRC/main.c index 9864b0edd..e9f748686 100644 --- a/Demo/MB91460_Softune/SRC/main.c +++ b/Demo/MB91460_Softune/SRC/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB91460_Softune/SRC/partest/partest.c b/Demo/MB91460_Softune/SRC/partest/partest.c index 741f2b32d..e00f20a96 100644 --- a/Demo/MB91460_Softune/SRC/partest/partest.c +++ b/Demo/MB91460_Softune/SRC/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB91460_Softune/SRC/serial/serial.c b/Demo/MB91460_Softune/SRC/serial/serial.c index 02d61f5e1..ce39b8119 100644 --- a/Demo/MB91460_Softune/SRC/serial/serial.c +++ b/Demo/MB91460_Softune/SRC/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h index 5d64b7d7a..6f3f061dc 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c index 007be1360..f9e60d22b 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/crflash_sk16fx100mpc.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c index 21b320324..afc5dc7e8 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c index 6b9cc02e3..4dbf00420 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/partest/partest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c index 68029a27d..420ea3fb9 100644 --- a/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c +++ b/Demo/MB96340_Softune/FreeRTOS_96348hs_SK16FX100PMC/Src/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c index a96429cb2..22b3447c4 100644 --- a/Demo/MB96350_Softune_Dice_Kit/DiceTask.c +++ b/Demo/MB96350_Softune_Dice_Kit/DiceTask.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/DiceTask.h b/Demo/MB96350_Softune_Dice_Kit/DiceTask.h index 043f30c94..df5123042 100644 --- a/Demo/MB96350_Softune_Dice_Kit/DiceTask.h +++ b/Demo/MB96350_Softune_Dice_Kit/DiceTask.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h b/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h index a36f1c44d..f4b857236 100644 --- a/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h +++ b/Demo/MB96350_Softune_Dice_Kit/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c b/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c index 5580b41d2..7a3c307aa 100644 --- a/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c +++ b/Demo/MB96350_Softune_Dice_Kit/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c b/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c index 5a978bb9c..cc8ab1108 100644 --- a/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c +++ b/Demo/MB96350_Softune_Dice_Kit/SegmentToggleTasks.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/MB96350_Softune_Dice_Kit/main.c b/Demo/MB96350_Softune_Dice_Kit/main.c index e7b99e5c3..c0184bda5 100644 --- a/Demo/MB96350_Softune_Dice_Kit/main.c +++ b/Demo/MB96350_Softune_Dice_Kit/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/FreeRTOSConfig.h b/Demo/dsPIC_MPLAB/FreeRTOSConfig.h index 9176d0359..b1e96cdf6 100644 --- a/Demo/dsPIC_MPLAB/FreeRTOSConfig.h +++ b/Demo/dsPIC_MPLAB/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/ParTest/ParTest.c b/Demo/dsPIC_MPLAB/ParTest/ParTest.c index c27c1afb3..91250c1a3 100644 --- a/Demo/dsPIC_MPLAB/ParTest/ParTest.c +++ b/Demo/dsPIC_MPLAB/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/lcd.c b/Demo/dsPIC_MPLAB/lcd.c index 7410d6ff6..a529fbfce 100644 --- a/Demo/dsPIC_MPLAB/lcd.c +++ b/Demo/dsPIC_MPLAB/lcd.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/lcd.h b/Demo/dsPIC_MPLAB/lcd.h index 7470f7c9a..1a2d92658 100644 --- a/Demo/dsPIC_MPLAB/lcd.h +++ b/Demo/dsPIC_MPLAB/lcd.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/main.c b/Demo/dsPIC_MPLAB/main.c index a69701b4a..934647f2c 100644 --- a/Demo/dsPIC_MPLAB/main.c +++ b/Demo/dsPIC_MPLAB/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/serial/serial.c b/Demo/dsPIC_MPLAB/serial/serial.c index aba9f9822..76d6f9f94 100644 --- a/Demo/dsPIC_MPLAB/serial/serial.c +++ b/Demo/dsPIC_MPLAB/serial/serial.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/timertest.c b/Demo/dsPIC_MPLAB/timertest.c index 89c3f18f8..b8cb5414d 100644 --- a/Demo/dsPIC_MPLAB/timertest.c +++ b/Demo/dsPIC_MPLAB/timertest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/dsPIC_MPLAB/timertest.h b/Demo/dsPIC_MPLAB/timertest.h index f1ac07f8e..d8d56c840 100644 --- a/Demo/dsPIC_MPLAB/timertest.h +++ b/Demo/dsPIC_MPLAB/timertest.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c index 55395b096..4436ef10f 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h index 50e475050..465eb6ea8 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/BasicWEB.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c index 70d4fa17a..0cffed84d 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h index f5297a848..7987862c3 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c index d0ea1b668..60a223b94 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/EMAC/SAM7_EMAC_ISR.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h b/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h index 2f3b2587a..1d5b00c36 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/FreeRTOSConfig.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c b/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c index 7a8ce52d6..f72177a92 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/ParTest/ParTest.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c index b615f8553..92f05e4e6 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h index 5790d7f52..b455e9e6c 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USB-CDC.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c b/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c index 90be02ae4..45ca25548 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/USBIsr.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h index 9055afe11..87f339aa5 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/descriptors.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h b/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h index 5e1e830a2..36b60abde 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h +++ b/Demo/lwIP_Demo_Rowley_ARM7/USB/usb.h @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/main.c b/Demo/lwIP_Demo_Rowley_ARM7/main.c index 1b8d86ac9..ef71abf0c 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/main.c +++ b/Demo/lwIP_Demo_Rowley_ARM7/main.c @@ -1,5 +1,5 @@ /* - FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. + FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * diff --git a/Demo/lwIP_Demo_Rowley_ARM7/makefile b/Demo/lwIP_Demo_Rowley_ARM7/makefile index 8cbf2ae05..84c9dc433 100644 --- a/Demo/lwIP_Demo_Rowley_ARM7/makefile +++ b/Demo/lwIP_Demo_Rowley_ARM7/makefile @@ -1,5 +1,5 @@ #/* -# FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. +# FreeRTOS V6.0.5 - Copyright (C) 2010 Real Time Engineers Ltd. # # *************************************************************************** # * *