Active=STANDALONE\r
\r
[MEMBER]\r
-F0=45\r
+F0=39\r
F1=0 f Source Files\r
F2=0 c Src\Main.c\r
F3=0 a Src\mb96348hs.asm\r
F4=0 * readme.txt\r
F5=0 a Src\Start.asm\r
F6=0 c Src\vectors.c\r
-F7=0 f Source Files\portable\r
-F8=0 c ..\..\..\Source\portable\Softune\MB96340\__STD_LIB_sbrk.c\r
-F9=0 c ..\..\..\Source\portable\Softune\MB96340\port.c\r
-F10=0 f Source Files\FreeRTOS\r
-F11=0 c ..\..\..\Source\croutine.c\r
-F12=0 c ..\..\..\Source\list.c\r
-F13=0 c ..\..\..\Source\queue.c\r
-F14=0 c ..\..\..\Source\tasks.c\r
-F15=0 f Source Files\Minimal\r
-F16=0 c ..\..\Common\Minimal\AltBlckQ.c\r
-F17=0 c ..\..\Common\Minimal\AltBlock.c\r
-F18=0 c ..\..\Common\Minimal\AltPollQ.c\r
-F19=0 c ..\..\Common\Minimal\AltQTest.c\r
-F20=0 c ..\..\Common\Minimal\BlockQ.c\r
-F21=0 c ..\..\Common\Minimal\blocktim.c\r
-F22=0 c ..\..\Common\Minimal\comtest.c\r
-F23=0 c ..\..\Common\Minimal\countsem.c\r
-F24=0 c Src\crflash_sk16fx100mpc.c\r
-F25=0 c ..\..\Common\Minimal\crhook.c\r
+F7=0 f Source Files\watchdog\r
+F8=0 c Src\watchdog\watchdog.c\r
+F9=0 f Source Files\FreeRTOS Source\r
+F10=0 c ..\..\..\Source\croutine.c\r
+F11=0 c ..\..\..\Source\list.c\r
+F12=0 c ..\..\..\Source\queue.c\r
+F13=0 c ..\..\..\Source\tasks.c\r
+F14=0 f Source Files\FreeRTOS Source\portable\r
+F15=0 c ..\..\..\Source\portable\Softune\MB96340\__STD_LIB_sbrk.c\r
+F16=0 c ..\..\..\Source\portable\Softune\MB96340\port.c\r
+F17=0 f Source Files\FreeRTOS Source\MemMang\r
+F18=0 c ..\..\..\Source\portable\MemMang\heap_1.c\r
+F19=0 c ..\..\..\Source\portable\MemMang\heap_2.c\r
+F20=0 c ..\..\..\Source\portable\MemMang\heap_3.c\r
+F21=0 f Source Files\Demo Source\r
+F22=0 c ..\..\Common\Minimal\BlockQ.c\r
+F23=0 c ..\..\Common\Minimal\blocktim.c\r
+F24=0 c ..\..\Common\Minimal\comtest.c\r
+F25=0 c Src\crflash_sk16fx100mpc.c\r
F26=0 c ..\..\Common\Minimal\death.c\r
F27=0 c ..\..\Common\Minimal\dynamic.c\r
F28=0 c ..\..\Common\Minimal\flash.c\r
-F29=0 c ..\..\Common\Minimal\flop.c\r
-F30=0 c ..\..\Common\Minimal\GenQTest.c\r
-F31=0 c ..\..\Common\Minimal\integer.c\r
-F32=0 c ..\..\Common\Minimal\PollQ.c\r
-F33=0 c ..\..\Common\Minimal\QPeek.c\r
-F34=0 c ..\..\Common\Minimal\semtest.c\r
-F35=0 f Source Files\MemMang\r
-F36=0 c ..\..\..\Source\portable\MemMang\heap_1.c\r
-F37=0 c ..\..\..\Source\portable\MemMang\heap_2.c\r
-F38=0 c ..\..\..\Source\portable\MemMang\heap_3.c\r
-F39=0 f Source Files\serial\r
-F40=0 c Src\serial\serial.c\r
-F41=0 f Source Files\watchdog\r
-F42=0 c Src\watchdog\watchdog.c\r
-F43=0 f Source Files\utility\r
-F44=0 c Src\utility\taskutility.c\r
-F45=0 f Include Files\r
+F29=0 c ..\..\Common\Minimal\GenQTest.c\r
+F30=0 c ..\..\Common\Minimal\integer.c\r
+F31=0 c ..\..\Common\Minimal\PollQ.c\r
+F32=0 c ..\..\Common\Minimal\semtest.c\r
+F33=0 f Source Files\Demo Source\partest\r
+F34=0 c Src\partest\partest.c\r
+F35=0 f Source Files\Demo Source\utility\r
+F36=0 c Src\utility\taskutility.c\r
+F37=0 f Source Files\Demo Source\serial\r
+F38=0 c Src\serial\serial.c\r
+F39=0 f Include Files\r
\r
[OPTIONFILE]\r
FILE=options.dat\r
OPT=STANDALONE\OPT\\r
\r
[MEMBER-STANDALONE]\r
-F0=36\r
+F0=29\r
F1=0 m 1 STANDALONE\ABS\FreeRTOS_96348hs_SK16FX100PMC.abs\r
-F2=13 c 1 Src\Main.c\r
+F2=27 c 1 Src\Main.c\r
F2-1=- src\mb96348hs.h\r
F2-2=- ..\..\..\Source\include\FreeRTOS.h\r
F2-3=- ..\..\..\Source\include\projdefs.h\r
-F2-4=- Src\config\FreeRTOSConfig.h\r
-F2-5=- ..\..\..\Source\include\portable.h\r
-F2-6=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F2-7=- ..\..\..\Source\include\task.h\r
-F2-8=- ..\..\..\Source\include\list.h\r
-F2-9=- ..\..\..\Source\include\semphr.h\r
-F2-10=- ..\..\..\Source\include\queue.h\r
-F2-11=- Src\watchdog\watchdog.h\r
-F2-12=- Src\config\config.h\r
-F2-13=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F2-4=- ..\..\..\Source\include\portable.h\r
+F2-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F2-6=- ..\..\..\Source\include\task.h\r
+F2-7=- ..\..\..\Source\include\list.h\r
+F2-8=- ..\..\..\Source\include\semphr.h\r
+F2-9=- ..\..\..\Source\include\queue.h\r
+F2-10=- Src\watchdog\watchdog.h\r
+F2-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F2-12=- ..\..\Common\include\flash.h\r
+F2-13=- ..\..\Common\include\integer.h\r
+F2-14=- ..\..\Common\include\comtest2.h\r
+F2-15=- ..\..\Common\include\PollQ.h\r
+F2-16=- ..\..\Common\include\semtest.h\r
+F2-17=- ..\..\Common\include\BlockQ.h\r
+F2-18=- ..\..\Common\include\dynamic.h\r
+F2-19=- ..\..\Common\include\flop.h\r
+F2-20=- ..\..\Common\include\GenQTest.h\r
+F2-21=- ..\..\Common\include\QPeek.h\r
+F2-22=- ..\..\Common\include\blocktim.h\r
+F2-23=- ..\..\Common\include\death.h\r
+F2-24=- ..\..\Common\include\partest.h\r
+F2-25=- Src\utility\taskutility.h\r
+F2-26=- ..\..\Common\include\crflash.h\r
+F2-27=- Src\FreeRTOSConfig.h\r
F3=0 a 1 Src\mb96348hs.asm\r
F4=0 a 1 Src\Start.asm\r
F5=2 c 1 Src\vectors.c\r
F5-1=- src\mb96348hs.h\r
-F5-2=- Src\config\config.h\r
+F5-2=- Src\FreeRTOSConfig.h\r
F6=3 c 1 ..\..\..\Source\portable\Softune\MB96340\__STD_LIB_sbrk.c\r
-F6-1=- Src\config\FreeRTOSConfig.h\r
-F6-2=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F6-3=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F6-1=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F6-2=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F6-3=- Src\FreeRTOSConfig.h\r
F7=9 c 1 ..\..\..\Source\portable\Softune\MB96340\port.c\r
F7-1=- ..\..\..\Source\include\FreeRTOS.h\r
F7-2=- ..\..\..\Source\include\projdefs.h\r
-F7-3=- Src\config\FreeRTOSConfig.h\r
-F7-4=- ..\..\..\Source\include\portable.h\r
-F7-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F7-6=- src\mb96348hs.h\r
-F7-7=- ..\..\..\Source\include\task.h\r
-F7-8=- ..\..\..\Source\include\list.h\r
-F7-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F7-3=- ..\..\..\Source\include\portable.h\r
+F7-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F7-5=- src\mb96348hs.h\r
+F7-6=- ..\..\..\Source\include\task.h\r
+F7-7=- ..\..\..\Source\include\list.h\r
+F7-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F7-9=- Src\FreeRTOSConfig.h\r
F8=10 c 1 ..\..\..\Source\croutine.c\r
F8-1=- ..\..\..\Source\include\FreeRTOS.h\r
F8-2=- ..\..\..\Source\include\projdefs.h\r
-F8-3=- Src\config\FreeRTOSConfig.h\r
-F8-4=- ..\..\..\Source\include\portable.h\r
-F8-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F8-6=- ..\..\..\Source\include\task.h\r
-F8-7=- ..\..\..\Source\include\list.h\r
-F8-8=- ..\..\..\Source\include\croutine.h\r
-F8-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F8-10=- src\mb96348hs.h\r
+F8-3=- ..\..\..\Source\include\portable.h\r
+F8-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F8-5=- ..\..\..\Source\include\task.h\r
+F8-6=- ..\..\..\Source\include\list.h\r
+F8-7=- ..\..\..\Source\include\croutine.h\r
+F8-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F8-9=- src\mb96348hs.h\r
+F8-10=- Src\FreeRTOSConfig.h\r
F9=9 c 1 ..\..\..\Source\list.c\r
F9-1=- ..\..\..\Source\include\FreeRTOS.h\r
F9-2=- ..\..\..\Source\include\projdefs.h\r
-F9-3=- Src\config\FreeRTOSConfig.h\r
-F9-4=- ..\..\..\Source\include\portable.h\r
-F9-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F9-6=- ..\..\..\Source\include\list.h\r
-F9-7=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F9-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F9-9=- src\mb96348hs.h\r
+F9-3=- ..\..\..\Source\include\portable.h\r
+F9-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F9-5=- ..\..\..\Source\include\list.h\r
+F9-6=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F9-7=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F9-8=- src\mb96348hs.h\r
+F9-9=- Src\FreeRTOSConfig.h\r
F10=12 c 1 ..\..\..\Source\queue.c\r
F10-1=- ..\..\..\Source\include\FreeRTOS.h\r
F10-2=- ..\..\..\Source\include\projdefs.h\r
-F10-3=- Src\config\FreeRTOSConfig.h\r
-F10-4=- ..\..\..\Source\include\portable.h\r
-F10-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F10-6=- ..\..\..\Source\include\task.h\r
-F10-7=- ..\..\..\Source\include\list.h\r
-F10-8=- ..\..\..\Source\include\croutine.h\r
-F10-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F10-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F10-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h\r
-F10-12=- src\mb96348hs.h\r
+F10-3=- ..\..\..\Source\include\portable.h\r
+F10-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F10-5=- ..\..\..\Source\include\task.h\r
+F10-6=- ..\..\..\Source\include\list.h\r
+F10-7=- ..\..\..\Source\include\croutine.h\r
+F10-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F10-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F10-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h\r
+F10-11=- src\mb96348hs.h\r
+F10-12=- Src\FreeRTOSConfig.h\r
F11=13 c 1 ..\..\..\Source\tasks.c\r
F11-1=- ..\..\..\Source\include\FreeRTOS.h\r
F11-2=- ..\..\..\Source\include\projdefs.h\r
-F11-3=- Src\config\FreeRTOSConfig.h\r
-F11-4=- ..\..\..\Source\include\portable.h\r
-F11-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F11-6=- ..\..\..\Source\include\task.h\r
-F11-7=- ..\..\..\Source\include\list.h\r
-F11-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdio.h\r
-F11-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F11-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdarg.h\r
-F11-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F11-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h\r
-F11-13=- src\mb96348hs.h\r
-F12=0 c 0 ..\..\Common\Minimal\AltBlckQ.c\r
-F13=0 c 0 ..\..\Common\Minimal\AltBlock.c\r
-F14=0 c 0 ..\..\Common\Minimal\AltPollQ.c\r
-F15=0 c 0 ..\..\Common\Minimal\AltQTest.c\r
-F16=12 c 1 ..\..\Common\Minimal\BlockQ.c\r
+F11-3=- ..\..\..\Source\include\portable.h\r
+F11-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F11-5=- ..\..\..\Source\include\task.h\r
+F11-6=- ..\..\..\Source\include\list.h\r
+F11-7=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdio.h\r
+F11-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F11-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdarg.h\r
+F11-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F11-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\string.h\r
+F11-12=- src\mb96348hs.h\r
+F11-13=- Src\FreeRTOSConfig.h\r
+F12=12 c 1 ..\..\Common\Minimal\BlockQ.c\r
+F12-1=- ..\..\..\Source\include\FreeRTOS.h\r
+F12-2=- ..\..\..\Source\include\projdefs.h\r
+F12-3=- ..\..\..\Source\include\portable.h\r
+F12-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F12-5=- ..\..\..\Source\include\task.h\r
+F12-6=- ..\..\..\Source\include\list.h\r
+F12-7=- ..\..\..\Source\include\queue.h\r
+F12-8=- ..\..\Common\include\BlockQ.h\r
+F12-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F12-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F12-11=- src\mb96348hs.h\r
+F12-12=- Src\FreeRTOSConfig.h\r
+F13=11 c 1 ..\..\Common\Minimal\blocktim.c\r
+F13-1=- ..\..\..\Source\include\FreeRTOS.h\r
+F13-2=- ..\..\..\Source\include\projdefs.h\r
+F13-3=- ..\..\..\Source\include\portable.h\r
+F13-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F13-5=- ..\..\..\Source\include\task.h\r
+F13-6=- ..\..\..\Source\include\list.h\r
+F13-7=- ..\..\..\Source\include\queue.h\r
+F13-8=- ..\..\Common\include\blocktim.h\r
+F13-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F13-10=- src\mb96348hs.h\r
+F13-11=- Src\FreeRTOSConfig.h\r
+F14=13 c 1 ..\..\Common\Minimal\comtest.c\r
+F14-1=- ..\..\..\Source\include\FreeRTOS.h\r
+F14-2=- ..\..\..\Source\include\projdefs.h\r
+F14-3=- ..\..\..\Source\include\portable.h\r
+F14-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F14-5=- ..\..\..\Source\include\task.h\r
+F14-6=- ..\..\..\Source\include\list.h\r
+F14-7=- ..\..\Common\include\serial.h\r
+F14-8=- ..\..\Common\include\comtest.h\r
+F14-9=- ..\..\Common\include\partest.h\r
+F14-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F14-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F14-12=- src\mb96348hs.h\r
+F14-13=- Src\FreeRTOSConfig.h\r
+F15=11 c 1 ..\..\Common\Minimal\death.c\r
+F15-1=- ..\..\..\Source\include\FreeRTOS.h\r
+F15-2=- ..\..\..\Source\include\projdefs.h\r
+F15-3=- ..\..\..\Source\include\portable.h\r
+F15-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F15-5=- ..\..\..\Source\include\task.h\r
+F15-6=- ..\..\..\Source\include\list.h\r
+F15-7=- ..\..\Common\include\death.h\r
+F15-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F15-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F15-10=- src\mb96348hs.h\r
+F15-11=- Src\FreeRTOSConfig.h\r
+F16=13 c 1 ..\..\Common\Minimal\dynamic.c\r
F16-1=- ..\..\..\Source\include\FreeRTOS.h\r
F16-2=- ..\..\..\Source\include\projdefs.h\r
-F16-3=- Src\config\FreeRTOSConfig.h\r
-F16-4=- ..\..\..\Source\include\portable.h\r
-F16-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F16-6=- ..\..\..\Source\include\task.h\r
-F16-7=- ..\..\..\Source\include\list.h\r
+F16-3=- ..\..\..\Source\include\portable.h\r
+F16-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F16-5=- ..\..\..\Source\include\task.h\r
+F16-6=- ..\..\..\Source\include\list.h\r
+F16-7=- ..\..\..\Source\include\semphr.h\r
F16-8=- ..\..\..\Source\include\queue.h\r
-F16-9=- ..\..\Common\include\BlockQ.h\r
+F16-9=- ..\..\Common\include\dynamic.h\r
F16-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
F16-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
F16-12=- src\mb96348hs.h\r
-F17=11 c 1 ..\..\Common\Minimal\blocktim.c\r
+F16-13=- Src\FreeRTOSConfig.h\r
+F17=12 c 1 ..\..\Common\Minimal\flash.c\r
F17-1=- ..\..\..\Source\include\FreeRTOS.h\r
F17-2=- ..\..\..\Source\include\projdefs.h\r
-F17-3=- Src\config\FreeRTOSConfig.h\r
-F17-4=- ..\..\..\Source\include\portable.h\r
-F17-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F17-6=- ..\..\..\Source\include\task.h\r
-F17-7=- ..\..\..\Source\include\list.h\r
-F17-8=- ..\..\..\Source\include\queue.h\r
-F17-9=- ..\..\Common\include\blocktim.h\r
+F17-3=- ..\..\..\Source\include\portable.h\r
+F17-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F17-5=- ..\..\..\Source\include\task.h\r
+F17-6=- ..\..\..\Source\include\list.h\r
+F17-7=- ..\..\Common\include\partest.h\r
+F17-8=- ..\..\Common\include\flash.h\r
+F17-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
F17-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
F17-11=- src\mb96348hs.h\r
-F18=13 c 1 ..\..\Common\Minimal\comtest.c\r
+F17-12=- Src\FreeRTOSConfig.h\r
+F18=13 c 1 ..\..\Common\Minimal\GenQTest.c\r
F18-1=- ..\..\..\Source\include\FreeRTOS.h\r
F18-2=- ..\..\..\Source\include\projdefs.h\r
-F18-3=- Src\config\FreeRTOSConfig.h\r
-F18-4=- ..\..\..\Source\include\portable.h\r
-F18-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F18-6=- ..\..\..\Source\include\task.h\r
-F18-7=- ..\..\..\Source\include\list.h\r
-F18-8=- ..\..\Common\include\serial.h\r
-F18-9=- ..\..\Common\include\comtest.h\r
-F18-10=- ..\..\Common\include\partest.h\r
-F18-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F18-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F18-13=- src\mb96348hs.h\r
-F19=0 c 0 ..\..\Common\Minimal\countsem.c\r
-F20=11 c 1 ..\..\Common\Minimal\crhook.c\r
+F18-3=- ..\..\..\Source\include\portable.h\r
+F18-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F18-5=- ..\..\..\Source\include\task.h\r
+F18-6=- ..\..\..\Source\include\list.h\r
+F18-7=- ..\..\..\Source\include\queue.h\r
+F18-8=- ..\..\..\Source\include\semphr.h\r
+F18-9=- ..\..\Common\include\GenQTest.h\r
+F18-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F18-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F18-12=- src\mb96348hs.h\r
+F18-13=- Src\FreeRTOSConfig.h\r
+F19=11 c 1 ..\..\Common\Minimal\integer.c\r
+F19-1=- ..\..\..\Source\include\FreeRTOS.h\r
+F19-2=- ..\..\..\Source\include\projdefs.h\r
+F19-3=- ..\..\..\Source\include\portable.h\r
+F19-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F19-5=- ..\..\..\Source\include\task.h\r
+F19-6=- ..\..\..\Source\include\list.h\r
+F19-7=- ..\..\Common\include\integer.h\r
+F19-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F19-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F19-10=- src\mb96348hs.h\r
+F19-11=- Src\FreeRTOSConfig.h\r
+F20=12 c 1 ..\..\Common\Minimal\PollQ.c\r
F20-1=- ..\..\..\Source\include\FreeRTOS.h\r
F20-2=- ..\..\..\Source\include\projdefs.h\r
-F20-3=- Src\config\FreeRTOSConfig.h\r
-F20-4=- ..\..\..\Source\include\portable.h\r
-F20-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F20-6=- ..\..\..\Source\include\croutine.h\r
-F20-7=- ..\..\..\Source\include\list.h\r
-F20-8=- ..\..\..\Source\include\queue.h\r
-F20-9=- ..\..\Common\include\crhook.h\r
+F20-3=- ..\..\..\Source\include\portable.h\r
+F20-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F20-5=- ..\..\..\Source\include\task.h\r
+F20-6=- ..\..\..\Source\include\list.h\r
+F20-7=- ..\..\..\Source\include\queue.h\r
+F20-8=- ..\..\Common\include\PollQ.h\r
+F20-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
F20-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
F20-11=- src\mb96348hs.h\r
-F21=11 c 1 ..\..\Common\Minimal\death.c\r
+F20-12=- Src\FreeRTOSConfig.h\r
+F21=13 c 1 ..\..\Common\Minimal\semtest.c\r
F21-1=- ..\..\..\Source\include\FreeRTOS.h\r
F21-2=- ..\..\..\Source\include\projdefs.h\r
-F21-3=- Src\config\FreeRTOSConfig.h\r
-F21-4=- ..\..\..\Source\include\portable.h\r
-F21-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F21-6=- ..\..\..\Source\include\task.h\r
-F21-7=- ..\..\..\Source\include\list.h\r
-F21-8=- ..\..\Common\include\death.h\r
-F21-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F21-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F21-11=- src\mb96348hs.h\r
-F22=13 c 1 ..\..\Common\Minimal\dynamic.c\r
-F22-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F22-2=- ..\..\..\Source\include\projdefs.h\r
-F22-3=- Src\config\FreeRTOSConfig.h\r
-F22-4=- ..\..\..\Source\include\portable.h\r
-F22-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F22-6=- ..\..\..\Source\include\task.h\r
-F22-7=- ..\..\..\Source\include\list.h\r
-F22-8=- ..\..\..\Source\include\semphr.h\r
-F22-9=- ..\..\..\Source\include\queue.h\r
-F22-10=- ..\..\Common\include\dynamic.h\r
-F22-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F22-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F22-13=- src\mb96348hs.h\r
-F23=12 c 1 ..\..\Common\Minimal\flash.c\r
-F23-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F23-2=- ..\..\..\Source\include\projdefs.h\r
-F23-3=- Src\config\FreeRTOSConfig.h\r
-F23-4=- ..\..\..\Source\include\portable.h\r
-F23-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F23-6=- ..\..\..\Source\include\task.h\r
-F23-7=- ..\..\..\Source\include\list.h\r
-F23-8=- ..\..\Common\include\partest.h\r
-F23-9=- ..\..\Common\include\flash.h\r
-F23-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F23-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F23-12=- src\mb96348hs.h\r
-F24=13 c 1 ..\..\Common\Minimal\flop.c\r
+F21-3=- ..\..\..\Source\include\portable.h\r
+F21-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F21-5=- ..\..\..\Source\include\task.h\r
+F21-6=- ..\..\..\Source\include\list.h\r
+F21-7=- ..\..\..\Source\include\semphr.h\r
+F21-8=- ..\..\..\Source\include\queue.h\r
+F21-9=- ..\..\Common\include\semtest.h\r
+F21-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F21-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F21-12=- src\mb96348hs.h\r
+F21-13=- Src\FreeRTOSConfig.h\r
+F22=0 c 0 ..\..\..\Source\portable\MemMang\heap_1.c\r
+F23=0 c 0 ..\..\..\Source\portable\MemMang\heap_2.c\r
+F24=10 c 1 ..\..\..\Source\portable\MemMang\heap_3.c\r
F24-1=- ..\..\..\Source\include\FreeRTOS.h\r
F24-2=- ..\..\..\Source\include\projdefs.h\r
-F24-3=- Src\config\FreeRTOSConfig.h\r
-F24-4=- ..\..\..\Source\include\portable.h\r
-F24-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F24-6=- ..\..\..\Source\include\task.h\r
-F24-7=- ..\..\..\Source\include\list.h\r
-F24-8=- ..\..\Common\include\flop.h\r
-F24-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F24-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F24-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\math.h\r
-F24-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\errno.h\r
-F24-13=- src\mb96348hs.h\r
-F25=13 c 1 ..\..\Common\Minimal\GenQTest.c\r
+F24-3=- ..\..\..\Source\include\portable.h\r
+F24-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F24-5=- ..\..\..\Source\include\task.h\r
+F24-6=- ..\..\..\Source\include\list.h\r
+F24-7=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F24-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F24-9=- src\mb96348hs.h\r
+F24-10=- Src\FreeRTOSConfig.h\r
+F25=12 c 1 Src\serial\serial.c\r
F25-1=- ..\..\..\Source\include\FreeRTOS.h\r
F25-2=- ..\..\..\Source\include\projdefs.h\r
-F25-3=- Src\config\FreeRTOSConfig.h\r
-F25-4=- ..\..\..\Source\include\portable.h\r
-F25-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F25-3=- ..\..\..\Source\include\portable.h\r
+F25-4=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
+F25-5=- ..\..\..\Source\include\queue.h\r
F25-6=- ..\..\..\Source\include\task.h\r
F25-7=- ..\..\..\Source\include\list.h\r
-F25-8=- ..\..\..\Source\include\queue.h\r
-F25-9=- ..\..\..\Source\include\semphr.h\r
-F25-10=- ..\..\Common\include\GenQTest.h\r
-F25-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F25-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F25-13=- src\mb96348hs.h\r
-F26=11 c 1 ..\..\Common\Minimal\integer.c\r
-F26-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F26-2=- ..\..\..\Source\include\projdefs.h\r
-F26-3=- Src\config\FreeRTOSConfig.h\r
+F25-8=- ..\..\Common\include\serial.h\r
+F25-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
+F25-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F25-11=- src\mb96348hs.h\r
+F25-12=- Src\FreeRTOSConfig.h\r
+F26=10 c 1 Src\watchdog\watchdog.c\r
+F26-1=- src\mb96348hs.h\r
+F26-2=- ..\..\..\Source\include\FreeRTOS.h\r
+F26-3=- ..\..\..\Source\include\projdefs.h\r
F26-4=- ..\..\..\Source\include\portable.h\r
F26-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
F26-6=- ..\..\..\Source\include\task.h\r
F26-7=- ..\..\..\Source\include\list.h\r
-F26-8=- ..\..\Common\include\integer.h\r
-F26-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F26-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F26-11=- src\mb96348hs.h\r
-F27=12 c 1 ..\..\Common\Minimal\PollQ.c\r
-F27-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F27-2=- ..\..\..\Source\include\projdefs.h\r
-F27-3=- Src\config\FreeRTOSConfig.h\r
+F26-8=- Src\watchdog\watchdog.h\r
+F26-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F26-10=- Src\FreeRTOSConfig.h\r
+F27=9 c 1 Src\utility\taskutility.c\r
+F27-1=- src\mb96348hs.h\r
+F27-2=- ..\..\..\Source\include\FreeRTOS.h\r
+F27-3=- ..\..\..\Source\include\projdefs.h\r
F27-4=- ..\..\..\Source\include\portable.h\r
F27-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
F27-6=- ..\..\..\Source\include\task.h\r
F27-7=- ..\..\..\Source\include\list.h\r
-F27-8=- ..\..\..\Source\include\queue.h\r
-F27-9=- ..\..\Common\include\PollQ.h\r
-F27-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F27-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F27-12=- src\mb96348hs.h\r
-F28=13 c 1 ..\..\Common\Minimal\QPeek.c\r
+F27-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F27-9=- Src\FreeRTOSConfig.h\r
+F28=12 c 1 Src\crflash_sk16fx100mpc.c\r
F28-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F28-2=- ..\..\..\Source\include\projdefs.h\r
-F28-3=- Src\config\FreeRTOSConfig.h\r
+F28-2=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F28-3=- ..\..\..\Source\include\projdefs.h\r
F28-4=- ..\..\..\Source\include\portable.h\r
F28-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F28-6=- ..\..\..\Source\include\task.h\r
+F28-6=- ..\..\..\Source\include\croutine.h\r
F28-7=- ..\..\..\Source\include\list.h\r
F28-8=- ..\..\..\Source\include\queue.h\r
-F28-9=- ..\..\..\Source\include\semphr.h\r
-F28-10=- ..\..\Common\include\QPeek.h\r
-F28-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F28-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F28-13=- src\mb96348hs.h\r
-F29=13 c 1 ..\..\Common\Minimal\semtest.c\r
+F28-9=- ..\..\Common\include\partest.h\r
+F28-10=- ..\..\Common\include\crflash.h\r
+F28-11=- src\mb96348hs.h\r
+F28-12=- Src\FreeRTOSConfig.h\r
+F29=9 c 1 Src\partest\partest.c\r
F29-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F29-2=- ..\..\..\Source\include\projdefs.h\r
-F29-3=- Src\config\FreeRTOSConfig.h\r
+F29-2=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
+F29-3=- ..\..\..\Source\include\projdefs.h\r
F29-4=- ..\..\..\Source\include\portable.h\r
F29-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F29-6=- ..\..\..\Source\include\task.h\r
-F29-7=- ..\..\..\Source\include\list.h\r
-F29-8=- ..\..\..\Source\include\semphr.h\r
-F29-9=- ..\..\..\Source\include\queue.h\r
-F29-10=- ..\..\Common\include\semtest.h\r
-F29-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F29-12=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F29-13=- src\mb96348hs.h\r
-F30=0 c 0 ..\..\..\Source\portable\MemMang\heap_1.c\r
-F31=0 c 0 ..\..\..\Source\portable\MemMang\heap_2.c\r
-F32=10 c 1 ..\..\..\Source\portable\MemMang\heap_3.c\r
-F32-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F32-2=- ..\..\..\Source\include\projdefs.h\r
-F32-3=- Src\config\FreeRTOSConfig.h\r
-F32-4=- ..\..\..\Source\include\portable.h\r
-F32-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F32-6=- ..\..\..\Source\include\task.h\r
-F32-7=- ..\..\..\Source\include\list.h\r
-F32-8=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F32-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F32-10=- src\mb96348hs.h\r
-F33=12 c 1 Src\serial\serial.c\r
-F33-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F33-2=- ..\..\..\Source\include\projdefs.h\r
-F33-3=- Src\config\FreeRTOSConfig.h\r
-F33-4=- ..\..\..\Source\include\portable.h\r
-F33-5=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F33-6=- ..\..\..\Source\include\queue.h\r
-F33-7=- ..\..\..\Source\include\task.h\r
-F33-8=- ..\..\..\Source\include\list.h\r
-F33-9=- ..\..\Common\include\serial.h\r
-F33-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stdlib.h\r
-F33-11=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F33-12=- src\mb96348hs.h\r
-F34=10 c 1 Src\watchdog\watchdog.c\r
-F34-1=- src\mb96348hs.h\r
-F34-2=- ..\..\..\Source\include\FreeRTOS.h\r
-F34-3=- ..\..\..\Source\include\projdefs.h\r
-F34-4=- Src\config\FreeRTOSConfig.h\r
-F34-5=- ..\..\..\Source\include\portable.h\r
-F34-6=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F34-7=- ..\..\..\Source\include\task.h\r
-F34-8=- ..\..\..\Source\include\list.h\r
-F34-9=- Src\watchdog\watchdog.h\r
-F34-10=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F35=9 c 1 Src\utility\taskutility.c\r
-F35-1=- src\mb96348hs.h\r
-F35-2=- ..\..\..\Source\include\FreeRTOS.h\r
-F35-3=- ..\..\..\Source\include\projdefs.h\r
-F35-4=- Src\config\FreeRTOSConfig.h\r
-F35-5=- ..\..\..\Source\include\portable.h\r
-F35-6=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F35-7=- ..\..\..\Source\include\task.h\r
-F35-8=- ..\..\..\Source\include\list.h\r
-F35-9=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F36=12 c 1 Src\crflash_sk16fx100mpc.c\r
-F36-1=- ..\..\..\Source\include\FreeRTOS.h\r
-F36-2=- ..\..\..\..\..\..\..\devtools\Softune\LIB\907\INCLUDE\stddef.h\r
-F36-3=- ..\..\..\Source\include\projdefs.h\r
-F36-4=- Src\config\FreeRTOSConfig.h\r
-F36-5=- ..\..\..\Source\include\portable.h\r
-F36-6=- ..\..\..\Source\portable\Softune\MB96340\portmacro.h\r
-F36-7=- ..\..\..\Source\include\croutine.h\r
-F36-8=- ..\..\..\Source\include\list.h\r
-F36-9=- ..\..\..\Source\include\queue.h\r
-F36-10=- ..\..\Common\include\partest.h\r
-F36-11=- ..\..\Common\include\crflash.h\r
-F36-12=- src\mb96348hs.h\r
+F29-6=- src\mb96348hs.h\r
+F29-7=- ..\..\..\Source\include\task.h\r
+F29-8=- ..\..\..\Source\include\list.h\r
+F29-9=- Src\FreeRTOSConfig.h\r
\r
[BUILDMODE-STANDALONE]\r
kernel=1\r
***************************************************************************\r
*/\r
\r
-/*---------------------------------------------------------------------------\r
- MAIN.C\r
- - description\r
- - See README.TXT for project description and disclaimer.\r
-\r
-/*---------------------------------------------------------------------------*/\r
+/*\r
+ * Creates all the demo application tasks, then starts the scheduler. The WEB\r
+ * documentation provides more details of the demo application tasks.\r
+ * \r
+ * In addition to the standard demo tasks, the follow demo specific tasks are\r
+ * create:\r
+ *\r
+ * The "Check" task. This only executes every three seconds but has the highest \r
+ * priority so is guaranteed to get processor time. Its main function is to \r
+ * check that all the other tasks are still operational. Most tasks maintain \r
+ * a unique count that is incremented each time the task successfully completes \r
+ * its function. Should any error occur within such a task the count is \r
+ * permanently halted. The check task inspects the count of each task to ensure \r
+ * it has changed since the last time the check task executed. If all the count \r
+ * variables have changed all the tasks are still executing error free, and the \r
+ * check task toggles the onboard LED. Should any task contain an error at any time \r
+ * the LED toggle rate will change from 3 seconds to 500ms.\r
+ *\r
+ * The "Register Check" tasks. These tasks fill the CPU registers with known\r
+ * values, then check that each register still contains the expected value 0 the\r
+ * discovery of an unexpected value being indicative of an error in the RTOS\r
+ * context switch mechanism. The register check tasks operate at low priority\r
+ * so are switched in and out frequently.\r
+ *\r
+ * The "Trace Utility" task. This can be used to obtain trace and debug \r
+ * information via UART5.\r
+ */\r
\r
-/* 16FX includes */\r
-#include "mb96348hs.h"\r
\r
/* Scheduler includes. */\r
#include "FreeRTOS.h"\r
#include "task.h"\r
#include "semphr.h"\r
+\r
+/* Demo application includes. */\r
+#include "flash.h"\r
+#include "integer.h"\r
+#include "comtest2.h"\r
+#include "PollQ.h"\r
+#include "semtest.h"\r
+#include "BlockQ.h"\r
+#include "dynamic.h"\r
+#include "flop.h"\r
+#include "GenQTest.h"\r
+#include "QPeek.h"\r
+#include "BlockTim.h"\r
+#include "death.h"\r
+#include "taskutility.h"\r
+#include "partest.h"\r
+#include "crflash.h"\r
+#include "watchdog.h"\r
+\r
+/* Library includes. */\r
#include <watchdog.h>\r
-#include <config.h>\r
\r
-/*---------------------------------------------------------------------------*/\r
+/*-----------------------------------------------------------*/\r
\r
/* Demo task priorities. */\r
#define WTC_TASK_PRIORITY ( tskIDLE_PRIORITY + 5 )\r
top of the page. When the system is operating error free the 'Check' task\r
toggles an LED every three seconds. If an error is discovered in any task the\r
rate is increased to 500 milliseconds. [in this case the '*' characters on the \r
-LCD represent LED's]*/\r
+LCD represent LED's] */\r
#define mainNO_ERROR_CHECK_DELAY ( (portTickType) 3000 / portTICK_RATE_MS )\r
#define mainERROR_CHECK_DELAY ( (portTickType) 500 / portTICK_RATE_MS )\r
\r
-/*---------------------------------------------------------------------------*/\r
-#define ledNUMBER_OF_LEDS 8\r
-#define mainCOM_TEST_LED 0x05\r
-#define mainCHECK_TEST_LED 0x07\r
+/* LED assignments for the demo tasks. */\r
+#define mainNUM_FLASH_CO_ROUTINES 8\r
+#define mainCOM_TEST_LED 0x05\r
+#define mainCHECK_TEST_LED 0x07\r
\r
-/*---------------------------------------------------------------------------*/\r
+/*-----------------------------------------------------------*/\r
\r
/* \r
* The function that implements the Check task. See the comments at the head\r
* of the page for implementation details.\r
*/\r
-static void vErrorChecks( void *pvParameters );\r
+static void vErrorChecks( void *pvParameters );\r
\r
/*\r
* Called by the Check task. Returns pdPASS if all the other tasks are found\r
* to be operating without error - otherwise returns pdFAIL.\r
*/\r
-static portSHORT prvCheckOtherTasksAreStillRunning( void );\r
-\r
-/*---------------------------------------------------------------------------*/\r
-static unsigned portCHAR sState[2] = { 0xFF, 0xFF };\r
-\r
-/*---------------------------------------------------------------------------\r
- * The below callback function is called from Tick ISR if configUSE_TICK_HOOK \r
- * is configured as 1.\r
- *---------------------------------------------------------------------------*/\r
-\r
-/*void vApplicationTickHook ( void )\r
-{\r
-#if WATCHDOG == WTC_IN_TICK\r
- Kick_Watchdog();\r
-#endif\r
-}*/\r
+static portSHORT prvCheckOtherTasksAreStillRunning( void );\r
\r
-/*---------------------------------------------------------------------------\r
- * The below callback function is called from Delayed ISR if configUSE_IDLE_HOOK \r
- * is configured as 1.\r
- *---------------------------------------------------------------------------*/\r
-void vApplicationIdleHook( void )\r
-{\r
- #if WATCHDOG == WTC_IN_IDLE\r
- Kick_Watchdog();\r
- #endif\r
- #if ( INCLUDE_StartFlashCoRoutines == 1 || INCLUDE_StartHookCoRoutines == 1 )\r
- vCoRoutineSchedule();\r
- #endif\r
-}\r
-\r
-/*---------------------------------------------------------------------------\r
- * Initialize Port 00\r
- *---------------------------------------------------------------------------*/\r
-static void prvInitPort00( void )\r
-{\r
- DDR00 = 0xFF;\r
- PDR00 = 0xFF;\r
- DDR09 = 0xFF;\r
- PDR09 = 0xFF;\r
-}\r
-\r
-/*---------------------------------------------------------------------------\r
- * Setup the hardware\r
- *---------------------------------------------------------------------------*/\r
-static void prvSetupHardware( void )\r
-{\r
- prvInitPort00();\r
+/*\r
+ * Perform any hardware setup necessary for the demo.\r
+ */\r
+static void prvSetupHardware( void );\r
\r
- #if WATCHDOG != WTC_NONE\r
- InitWatchdog();\r
- #endif\r
-}\r
+/*-----------------------------------------------------------*/\r
\r
-/*---------------------------------------------------------------------------\r
- * main()\r
- *---------------------------------------------------------------------------*/\r
void main( void )\r
{\r
InitIrqLevels(); /* Initialize interrupts */\r
#endif\r
\r
/* Start the standard demo application tasks. */\r
- #if ( INCLUDE_StartLEDFlashTasks == 1 )\r
- vStartLEDFlashTasks( mainLED_TASK_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartIntegerMathTasks == 1 )\r
- vStartIntegerMathTasks( tskIDLE_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_AltStartComTestTasks == 1 )\r
- vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED - 1 );\r
- #endif\r
-\r
- #if ( INCLUDE_StartPolledQueueTasks == 1 )\r
- vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartSemaphoreTasks == 1 )\r
- vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartBlockingQueueTasks == 1 )\r
- vStartBlockingQueueTasks( mainQUEUE_BLOCK_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartDynamicPriorityTasks == 1 )\r
- vStartDynamicPriorityTasks();\r
- #endif\r
-\r
- #if ( INCLUDE_StartMathTasks == 1 )\r
- vStartMathTasks( tskIDLE_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartFlashCoRoutines == 1 )\r
- vStartFlashCoRoutines( ledNUMBER_OF_LEDS );\r
- #endif\r
-\r
- #if ( INCLUDE_StartHookCoRoutines == 1 )\r
- vStartHookCoRoutines();\r
- #endif\r
-\r
- #if ( INCLUDE_StartGenericQueueTasks == 1 )\r
- vStartGenericQueueTasks( mainGENERIC_QUEUE_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_StartQueuePeekTasks == 1 )\r
- vStartQueuePeekTasks();\r
- #endif\r
-\r
- #if ( INCLUDE_CreateBlockTimeTasks == 1 )\r
- vCreateBlockTimeTasks();\r
- #endif\r
-\r
- #if ( INCLUDE_CreateSuicidalTasks == 1 )\r
- vCreateSuicidalTasks( mainDEATH_PRIORITY );\r
- #endif\r
-\r
- #if ( INCLUDE_TraceListTasks == 1 )\r
+ vStartLEDFlashTasks( mainLED_TASK_PRIORITY );\r
+ vStartIntegerMathTasks( tskIDLE_PRIORITY );\r
+ vAltStartComTestTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED - 1 );\r
+ vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY );\r
+ vStartSemaphoreTasks( mainSEM_TEST_PRIORITY );\r
+ vStartBlockingQueueTasks( mainQUEUE_BLOCK_PRIORITY );\r
+ vStartDynamicPriorityTasks();\r
+ vStartFlashCoRoutines( mainNUM_FLASH_CO_ROUTINES );\r
+ vStartGenericQueueTasks( mainGENERIC_QUEUE_PRIORITY );\r
+ vCreateBlockTimeTasks();\r
+\r
+ /* The definition INCLUDE_TraceListTasks is set within FreeRTOSConfig.h.\r
+ It should be set to 0 if using the EUROScope debugger. */\r
+ #if INCLUDE_TraceListTasks == 1\r
vTraceListTasks( TASK_UTILITY_PRIORITY );\r
#endif\r
\r
/* Start the 'Check' task which is defined in this file. */\r
xTaskCreate( vErrorChecks, (signed portCHAR *) "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );\r
\r
- vTaskStartScheduler();\r
-\r
- /* Should not reach here */\r
- while( 1 )\r
- {\r
- __asm( " NOP " ); /* // */\r
- }\r
+ /* The suicide tasks must be started last as they record the number of other\r
+ tasks that exist within the system. The value is then used to ensure at run\r
+ time the number of tasks that exists is within expected bounds. */\r
+ vCreateSuicidalTasks( mainDEATH_PRIORITY );\r
+\r
+ /* Now start the scheduler. Following this call the created tasks should\r
+ be executing. */ \r
+ vTaskStartScheduler( );\r
+ \r
+ /* vTaskStartScheduler() will only return if an error occurs while the \r
+ idle task is being created. */\r
+ for( ;; );\r
}\r
-\r
/*-----------------------------------------------------------*/\r
-void vParTestToggleLED( unsigned portBASE_TYPE uxLED )\r
-{\r
- if( uxLED < ledNUMBER_OF_LEDS )\r
- {\r
- vTaskSuspendAll();\r
-\r
- /* Toggle the state of the single genuine on board LED. */\r
- if( (sState[0] & ((portCHAR) (1 << uxLED))) == 0 )\r
- {\r
- PDR09 |= ( 1 << uxLED );\r
- sState[0] |= ( 1 << uxLED );\r
- }\r
- else\r
- {\r
- PDR09 &= ~( 1 << uxLED );\r
- sState[0] &= ~( 1 << uxLED );\r
- }\r
\r
- xTaskResumeAll();\r
- }\r
- else\r
- {\r
- vTaskSuspendAll();\r
-\r
- uxLED -= ledNUMBER_OF_LEDS;\r
-\r
- if( (sState[1] & ((portCHAR) (1 << uxLED))) == 0 )\r
- {\r
- PDR00 |= ( 1 << uxLED );\r
- sState[1] |= ( 1 << uxLED );\r
- }\r
- else\r
- {\r
- PDR00 &= ~( 1 << uxLED );\r
- sState[1] &= ~( 1 << uxLED );\r
- }\r
-\r
- xTaskResumeAll();\r
- }\r
-}\r
-\r
-/*-----------------------------------------------------------*/\r
-void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )\r
+static void prvSetupHardware( void )\r
{\r
- /* Set or clear the output [in this case show or hide the '*' character. */\r
- if( uxLED < ledNUMBER_OF_LEDS )\r
- {\r
- vTaskSuspendAll();\r
- {\r
- if( xValue )\r
- {\r
- PDR09 &= ~( 1 << uxLED );\r
- sState[0] &= ~( 1 << uxLED );\r
- }\r
- else\r
- {\r
- PDR09 |= ( 1 << uxLED );\r
- sState[0] |= ( 1 << uxLED );\r
- }\r
- }\r
-\r
- xTaskResumeAll();\r
- }\r
- else\r
- {\r
- vTaskSuspendAll();\r
- {\r
- if( xValue )\r
- {\r
- PDR00 &= ~( 1 << uxLED );\r
- sState[1] &= ~( 1 << uxLED );\r
- }\r
- else\r
- {\r
- PDR00 |= ( 1 << uxLED );\r
- sState[1] |= ( 1 << uxLED );\r
- }\r
- }\r
+ /* Initialise the port used by the LEDs. */\r
+ vParTestInitialise();\r
\r
- xTaskResumeAll();\r
- }\r
+ /* See watchdog.h for definitions relating to the watchdog use. */\r
+ #if WATCHDOG != WTC_NONE\r
+ InitWatchdog();\r
+ #endif\r
}\r
-\r
/*-----------------------------------------------------------*/\r
+\r
static void vErrorChecks( void *pvParameters )\r
{\r
- static volatile unsigned portLONG ulDummyVariable = 3UL;\r
- portTickType xDelayPeriod = mainNO_ERROR_CHECK_DELAY;\r
+portTickType xDelayPeriod = mainNO_ERROR_CHECK_DELAY;\r
+\r
+ /* Just to remove compiler warnings. */\r
( void ) pvParameters;\r
\r
/* Cycle for ever, delaying then checking all the other tasks are still\r
detected the time is shortened resulting in a faster LED flash rate. */\r
vTaskDelay( xDelayPeriod );\r
\r
- /* Perform a bit of 32bit maths to ensure the registers used by the \r
- integer tasks get some exercise outside of the integer tasks \r
- themselves. The result here is not important we are just deliberately\r
- changing registers used by other tasks to ensure that their context\r
- switch is operating as required. - see the demo application \r
- documentation for more info. */\r
- ulDummyVariable *= 3UL;\r
-\r
/* See if the other tasks are all ok. */\r
if( prvCheckOtherTasksAreStillRunning() != pdPASS )\r
{\r
vParTestToggleLED( mainCHECK_TEST_LED );\r
}\r
}\r
-\r
/*-----------------------------------------------------------*/\r
+\r
static portSHORT prvCheckOtherTasksAreStillRunning( void )\r
{\r
static portSHORT sNoErrorFound = pdTRUE;\r
incremented. A count remaining at the same value between calls therefore\r
indicates that an error has been detected. Only tasks that do not flash\r
an LED are checked. */\r
- #if ( INCLUDE_StartIntegerMathTasks == 1 )\r
if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_AltStartComTestTasks == 1 )\r
if( xAreComTestTasksStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartPolledQueueTasks == 1 )\r
if( xArePollingQueuesStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartSemaphoreTasks == 1 )\r
if( xAreSemaphoreTasksStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartBlockingQueueTasks == 1 )\r
if( xAreBlockingQueuesStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartDynamicPriorityTasks == 1 )\r
if( xAreDynamicPriorityTasksStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartMathTasks == 1 )\r
- if( xAreMathsTaskStillRunning() != pdTRUE )\r
- {\r
- sNoErrorFound = pdFALSE;\r
- }\r
-\r
- #endif\r
- #if ( INCLUDE_StartFlashCoRoutines == 1 )\r
if( xAreFlashCoRoutinesStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartHookCoRoutines == 1 )\r
- if( xAreHookCoRoutinesStillRunning() != pdTRUE )\r
- {\r
- sNoErrorFound = pdFALSE;\r
- }\r
-\r
- #endif\r
- #if ( INCLUDE_StartGenericQueueTasks == 1 )\r
if( xAreGenericQueueTasksStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_StartQueuePeekTasks == 1 )\r
- if( xAreQueuePeekTasksStillRunning() != pdTRUE )\r
- {\r
- sNoErrorFound = pdFALSE;\r
- }\r
-\r
- #endif\r
- #if ( INCLUDE_CreateBlockTimeTasks == 1 )\r
if( xAreBlockTimeTestTasksStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
- #if ( INCLUDE_CreateSuicidalTasks == 1 )\r
if( xIsCreateTaskStillRunning() != pdTRUE )\r
{\r
sNoErrorFound = pdFALSE;\r
}\r
\r
- #endif\r
return sNoErrorFound;\r
}\r
+/*-----------------------------------------------------------*/\r
\r
-/*---------------------------------------------------------------------------*/\r
+/* Idle hook function. */\r
+#if configUSE_IDLE_HOOK == 1\r
+ void vApplicationIdleHook( void )\r
+ {\r
+ /* Are we using the idle task to kick the watchdog? See watchdog.h\r
+ for watchdog kicking options. Note this is for demonstration only\r
+ and is not a suggested method of servicing the watchdog in a real\r
+ application. */\r
+ #if WATCHDOG == WTC_IN_IDLE\r
+ Kick_Watchdog();\r
+ #endif\r
+ }\r
+#else\r
+ #if WATCHDOG == WTC_IN_IDLE\r
+ #error configUSE_IDLE_HOOK must be set to 1 in FreeRTOSConfig.h if the watchdog is being cleared in the idle task hook.\r
+ #endif\r
+#endif\r
+\r
+/*-----------------------------------------------------------*/\r
+\r
+/* Tick hook function. */\r
+#if configUSE_TICK_HOOK == 1\r
+ void vApplicationTickHook( void )\r
+ {\r
+ /* Are we using the tick to kick the watchdog? See watchdog.h\r
+ for watchdog kicking options. Note this is for demonstration\r
+ only and is not a suggested method of servicing the watchdog in\r
+ a real application. */\r
+ #if WATCHDOG == WTC_IN_TICK\r
+ Kick_Watchdog();\r
+ #endif\r
+\r
+ vCoRoutineSchedule();\r
+ }\r
+#else\r
+ #if WATCHDOG == WTC_IN_TICK\r
+ #error configUSE_TICK_HOOK must be set to 1 in FreeRTOSConfig.h if the watchdog is being cleared in the tick hook.\r
+ #endif\r
+#endif\r
+/*-----------------------------------------------------------*/\r