mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-22 01:30:31 -05:00
Remove coroutines (#874)
* Remove co-routine centric CORTEX_LM3S102_Rowley demos. Remove CORTEX_LM3S102_Rowley Demo2 and Demo3. Update Demo1 to no longer use coroutines. * Remove co-routines from MB91460_Softune demo * FreeRTOS_96348hs_SK16FX100PMC: Remove co-routine usage. Remove co-routine usage from FreeRTOS_96348hs_SK16FX100PMC demo. * MB96350_Softune_Dice_Kit: Remove co-routine usage Remove co-routines usage from MB96350_Softune_Dice_Kit demo * AVR_Dx_IAR: Remove co-routine usage * AVR_Dx_Atmel_Studio: Remove co-routine usage * PIC24_MPLAB: Remove autogenerated files and add to .gitignore * PIC24_MPLAB: Remove co-routine usage from demo * AVR_ATMega323_IAR: Remove co-routine usage * ColdFire_MCF52221_CodeWarrior: Remove coroutine usage * AVR_ATMega4809_MPLAB.X: Remove co-routine usage * AVR_ATMega4809_IAR: Remove co-routine usage * AVR_ATMega4809_Atmel_Studio: Remove coroutine usage * AVR_ATMega323_WinAVR: Remove coroutine usage * AVR_Dx_MPLAB.X: Remove coroutine usage * dsPIC_MPLAB: Remove coroutine usage * CORTEX_LM3S102_GCC: Remove coroutines and coroutine centric demos * CORTEX_LM3S102_GCC: Update makefile to discard unused symbols Allows fitting in the limited ram/flash for this part. * CORTEX_LM3S316_IAR: Remove coroutines * Demos: Remove references to crflash.c, crhook.c, crflash.h, crhook.h * Remove coroutine options from FreeRTOSConfig.h files * Xilinx: Remove backup file generated by revup utility * Demos: Remove Coroutine related config items and references * Format CBMC FreeRTOSConfig.h * Update URL from aws.amazon.com/freertos to github.com/FreeRTOS * Fix copyright year and license text * Fix license text in demo files * Update header check excluded path list * Add configBENCHMARK to lexicon
This commit is contained in:
parent
eb7fd55a49
commit
569c78fd8c
1153 changed files with 4875 additions and 12450 deletions
|
|
@ -18,44 +18,42 @@ PrjInfo-1=MONDEB_INTERNAL
|
|||
Active=STANDALONE
|
||||
|
||||
[MEMBER]
|
||||
F0=37
|
||||
F0=35
|
||||
F1=0 f Source Files
|
||||
F2=0 c SRC\crflash_modified.c
|
||||
F3=0 c SRC\main.c
|
||||
F4=0 a SRC\mb91467d.asm
|
||||
F5=0 a SRC\Start91460.asm
|
||||
F6=0 c SRC\vectors.c
|
||||
F7=0 f Source Files\watchdog
|
||||
F8=0 c SRC\watchdog\watchdog.c
|
||||
F9=0 f Source Files\utility
|
||||
F10=0 c SRC\utility\printf-stdarg.c
|
||||
F11=0 c SRC\utility\taskutility.c
|
||||
F12=0 f Source Files\FreeRTOS Source
|
||||
F13=0 c ..\..\Source\croutine.c
|
||||
F14=0 c ..\..\Source\list.c
|
||||
F15=0 c ..\..\Source\queue.c
|
||||
F16=0 c ..\..\Source\tasks.c
|
||||
F17=0 f Source Files\FreeRTOS Source\portable
|
||||
F18=0 c ..\..\Source\portable\Softune\MB91460\__STD_LIB_sbrk.c
|
||||
F19=0 c ..\..\Source\portable\Softune\MB91460\port.c
|
||||
F20=0 f Source Files\FreeRTOS Source\MemMang
|
||||
F21=0 c ..\..\Source\portable\MemMang\heap_3.c
|
||||
F22=0 f Source Files\Demo Source
|
||||
F23=0 c ..\Common\Minimal\BlockQ.c
|
||||
F24=0 c ..\Common\Minimal\blocktim.c
|
||||
F25=0 c ..\Common\Minimal\comtest.c
|
||||
F26=0 c ..\Common\Minimal\death.c
|
||||
F27=0 c ..\Common\Minimal\dynamic.c
|
||||
F28=0 c ..\Common\Minimal\flash.c
|
||||
F29=0 c ..\Common\Minimal\flop.c
|
||||
F30=0 c ..\Common\Minimal\GenQTest.c
|
||||
F31=0 c ..\Common\Minimal\integer.c
|
||||
F32=0 c SRC\partest\partest.c
|
||||
F33=0 c ..\Common\Minimal\QPeek.c
|
||||
F34=0 c ..\Common\Minimal\semtest.c
|
||||
F35=0 f Source Files\Demo Source\serial
|
||||
F36=0 c SRC\serial\serial.c
|
||||
F37=0 f Include Files
|
||||
F2=0 c SRC\main.c
|
||||
F3=0 a SRC\mb91467d.asm
|
||||
F4=0 a SRC\Start91460.asm
|
||||
F5=0 c SRC\vectors.c
|
||||
F6=0 f Source Files\watchdog
|
||||
F7=0 c SRC\watchdog\watchdog.c
|
||||
F8=0 f Source Files\utility
|
||||
F9=0 c SRC\utility\printf-stdarg.c
|
||||
F10=0 c SRC\utility\taskutility.c
|
||||
F11=0 f Source Files\FreeRTOS Source
|
||||
F12=0 c ..\..\Source\list.c
|
||||
F13=0 c ..\..\Source\queue.c
|
||||
F14=0 c ..\..\Source\tasks.c
|
||||
F15=0 f Source Files\FreeRTOS Source\portable
|
||||
F16=0 c ..\..\Source\portable\Softune\MB91460\__STD_LIB_sbrk.c
|
||||
F17=0 c ..\..\Source\portable\Softune\MB91460\port.c
|
||||
F18=0 f Source Files\FreeRTOS Source\MemMang
|
||||
F19=0 c ..\..\Source\portable\MemMang\heap_3.c
|
||||
F20=0 f Source Files\Demo Source
|
||||
F21=0 c ..\Common\Minimal\BlockQ.c
|
||||
F22=0 c ..\Common\Minimal\blocktim.c
|
||||
F23=0 c ..\Common\Minimal\comtest.c
|
||||
F24=0 c ..\Common\Minimal\death.c
|
||||
F25=0 c ..\Common\Minimal\dynamic.c
|
||||
F26=0 c ..\Common\Minimal\flash.c
|
||||
F27=0 c ..\Common\Minimal\flop.c
|
||||
F28=0 c ..\Common\Minimal\GenQTest.c
|
||||
F29=0 c ..\Common\Minimal\integer.c
|
||||
F30=0 c SRC\partest\partest.c
|
||||
F31=0 c ..\Common\Minimal\QPeek.c
|
||||
F32=0 c ..\Common\Minimal\semtest.c
|
||||
F33=0 f Source Files\Demo Source\serial
|
||||
F34=0 c SRC\serial\serial.c
|
||||
F35=0 f Include Files
|
||||
|
||||
[OPTIONFILE]
|
||||
FILE=91460_template_91467d.dat
|
||||
|
|
@ -75,7 +73,7 @@ LST=STANDALONE\LST\
|
|||
OPT=STANDALONE\OPT\
|
||||
|
||||
[MEMBER-STANDALONE]
|
||||
F0=29
|
||||
F0=27
|
||||
F1=0 m 1 STANDALONE\ABS\91467d_FreeRTOS.abs
|
||||
F2=9 c 1 ..\..\Source\portable\Softune\MB91460\port.c
|
||||
F2-1=- ..\..\Source\include\FreeRTOS.h
|
||||
|
|
@ -91,28 +89,29 @@ F3=3 c 1 ..\..\Source\portable\Softune\MB91460\__STD_LIB_sbrk.c
|
|||
F3-1=- SRC\FreeRTOSConfig.h
|
||||
F3-2=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F3-3=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F4=10 c 1 ..\..\Source\croutine.c
|
||||
F4=9 c 1 ..\..\Source\list.c
|
||||
F4-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F4-2=- ..\..\Source\include\projdefs.h
|
||||
F4-3=- SRC\FreeRTOSConfig.h
|
||||
F4-4=- ..\..\Source\include\portable.h
|
||||
F4-5=- ..\..\Source\include\task.h
|
||||
F4-6=- ..\..\Source\include\list.h
|
||||
F4-7=- ..\..\Source\include\croutine.h
|
||||
F4-8=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F4-9=- SRC\mb91467d.h
|
||||
F4-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F5=9 c 1 ..\..\Source\list.c
|
||||
F4-5=- ..\..\Source\include\list.h
|
||||
F4-6=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F4-7=- SRC\mb91467d.h
|
||||
F4-8=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F4-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F5=11 c 1 ..\..\Source\queue.c
|
||||
F5-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F5-2=- ..\..\Source\include\projdefs.h
|
||||
F5-3=- SRC\FreeRTOSConfig.h
|
||||
F5-4=- ..\..\Source\include\portable.h
|
||||
F5-5=- ..\..\Source\include\list.h
|
||||
F5-6=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F5-7=- SRC\mb91467d.h
|
||||
F5-8=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F5-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F6=12 c 1 ..\..\Source\queue.c
|
||||
F5-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F5-6=- SRC\mb91467d.h
|
||||
F5-7=- ..\..\Source\include\task.h
|
||||
F5-8=- ..\..\Source\include\list.h
|
||||
F5-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F5-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F5-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\string.h
|
||||
F6=13 c 1 ..\..\Source\tasks.c
|
||||
F6-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F6-2=- ..\..\Source\include\projdefs.h
|
||||
F6-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -121,32 +120,32 @@ F6-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F6-6=- SRC\mb91467d.h
|
||||
F6-7=- ..\..\Source\include\task.h
|
||||
F6-8=- ..\..\Source\include\list.h
|
||||
F6-9=- ..\..\Source\include\croutine.h
|
||||
F6-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F6-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F6-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\string.h
|
||||
F7=13 c 1 ..\..\Source\tasks.c
|
||||
F7-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F7-2=- ..\..\Source\include\projdefs.h
|
||||
F6-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdio.h
|
||||
F6-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F6-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdarg.h
|
||||
F6-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F6-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\string.h
|
||||
F7=3 c 1 SRC\vectors.c
|
||||
F7-1=- SRC\mb91467d.h
|
||||
F7-2=- SRC\watchdog\watchdog.h
|
||||
F7-3=- SRC\FreeRTOSConfig.h
|
||||
F7-4=- ..\..\Source\include\portable.h
|
||||
F7-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F7-6=- SRC\mb91467d.h
|
||||
F7-7=- ..\..\Source\include\task.h
|
||||
F7-8=- ..\..\Source\include\list.h
|
||||
F7-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdio.h
|
||||
F7-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F7-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdarg.h
|
||||
F7-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F7-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\string.h
|
||||
F8=3 c 1 SRC\vectors.c
|
||||
F8=1 a 1 SRC\mb91467d.asm
|
||||
F8-1=- SRC\mb91467d.h
|
||||
F8-2=- SRC\watchdog\watchdog.h
|
||||
F8-3=- SRC\FreeRTOSConfig.h
|
||||
F9=1 a 1 SRC\mb91467d.asm
|
||||
F9-1=- SRC\mb91467d.h
|
||||
F10=0 a 1 SRC\Start91460.asm
|
||||
F11=12 c 1 ..\Common\Minimal\BlockQ.c
|
||||
F9=0 a 1 SRC\Start91460.asm
|
||||
F10=12 c 1 ..\Common\Minimal\BlockQ.c
|
||||
F10-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F10-2=- ..\..\Source\include\projdefs.h
|
||||
F10-3=- SRC\FreeRTOSConfig.h
|
||||
F10-4=- ..\..\Source\include\portable.h
|
||||
F10-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F10-6=- SRC\mb91467d.h
|
||||
F10-7=- ..\..\Source\include\task.h
|
||||
F10-8=- ..\..\Source\include\list.h
|
||||
F10-9=- ..\..\Source\include\queue.h
|
||||
F10-10=- ..\Common\include\BlockQ.h
|
||||
F10-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F10-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F11=11 c 1 ..\Common\Minimal\blocktim.c
|
||||
F11-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F11-2=- ..\..\Source\include\projdefs.h
|
||||
F11-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -156,10 +155,9 @@ F11-6=- SRC\mb91467d.h
|
|||
F11-7=- ..\..\Source\include\task.h
|
||||
F11-8=- ..\..\Source\include\list.h
|
||||
F11-9=- ..\..\Source\include\queue.h
|
||||
F11-10=- ..\Common\include\BlockQ.h
|
||||
F11-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F11-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F12=11 c 1 ..\Common\Minimal\blocktim.c
|
||||
F11-10=- ..\Common\include\blocktim.h
|
||||
F11-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F12=13 c 1 ..\Common\Minimal\comtest.c
|
||||
F12-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F12-2=- ..\..\Source\include\projdefs.h
|
||||
F12-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -168,10 +166,12 @@ F12-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F12-6=- SRC\mb91467d.h
|
||||
F12-7=- ..\..\Source\include\task.h
|
||||
F12-8=- ..\..\Source\include\list.h
|
||||
F12-9=- ..\..\Source\include\queue.h
|
||||
F12-10=- ..\Common\include\blocktim.h
|
||||
F12-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F13=13 c 1 ..\Common\Minimal\comtest.c
|
||||
F12-9=- ..\Common\include\serial.h
|
||||
F12-10=- ..\Common\include\comtest.h
|
||||
F12-11=- ..\Common\include\partest.h
|
||||
F12-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F12-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F13=11 c 1 ..\Common\Minimal\death.c
|
||||
F13-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F13-2=- ..\..\Source\include\projdefs.h
|
||||
F13-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -180,12 +180,10 @@ F13-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F13-6=- SRC\mb91467d.h
|
||||
F13-7=- ..\..\Source\include\task.h
|
||||
F13-8=- ..\..\Source\include\list.h
|
||||
F13-9=- ..\Common\include\serial.h
|
||||
F13-10=- ..\Common\include\comtest.h
|
||||
F13-11=- ..\Common\include\partest.h
|
||||
F13-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F13-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F14=11 c 1 ..\Common\Minimal\death.c
|
||||
F13-9=- ..\Common\include\death.h
|
||||
F13-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F13-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F14=13 c 1 ..\Common\Minimal\dynamic.c
|
||||
F14-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F14-2=- ..\..\Source\include\projdefs.h
|
||||
F14-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -194,10 +192,12 @@ F14-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F14-6=- SRC\mb91467d.h
|
||||
F14-7=- ..\..\Source\include\task.h
|
||||
F14-8=- ..\..\Source\include\list.h
|
||||
F14-9=- ..\Common\include\death.h
|
||||
F14-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F14-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F15=13 c 1 ..\Common\Minimal\dynamic.c
|
||||
F14-9=- ..\..\Source\include\queue.h
|
||||
F14-10=- ..\Common\include\dynamic.h
|
||||
F14-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F14-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F14-13=- ..\..\Source\include\semphr.h
|
||||
F15=12 c 1 ..\Common\Minimal\flash.c
|
||||
F15-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F15-2=- ..\..\Source\include\projdefs.h
|
||||
F15-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -206,12 +206,11 @@ F15-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F15-6=- SRC\mb91467d.h
|
||||
F15-7=- ..\..\Source\include\task.h
|
||||
F15-8=- ..\..\Source\include\list.h
|
||||
F15-9=- ..\..\Source\include\queue.h
|
||||
F15-10=- ..\Common\include\dynamic.h
|
||||
F15-9=- ..\Common\include\partest.h
|
||||
F15-10=- ..\Common\include\flash.h
|
||||
F15-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F15-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F15-13=- ..\..\Source\include\semphr.h
|
||||
F16=12 c 1 ..\Common\Minimal\flash.c
|
||||
F16=13 c 1 ..\Common\Minimal\flop.c
|
||||
F16-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F16-2=- ..\..\Source\include\projdefs.h
|
||||
F16-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -220,11 +219,12 @@ F16-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F16-6=- SRC\mb91467d.h
|
||||
F16-7=- ..\..\Source\include\task.h
|
||||
F16-8=- ..\..\Source\include\list.h
|
||||
F16-9=- ..\Common\include\partest.h
|
||||
F16-10=- ..\Common\include\flash.h
|
||||
F16-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F16-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F17=13 c 1 ..\Common\Minimal\flop.c
|
||||
F16-9=- ..\Common\include\flop.h
|
||||
F16-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F16-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F16-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\math.h
|
||||
F16-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\errno.h
|
||||
F17=13 c 1 ..\Common\Minimal\GenQTest.c
|
||||
F17-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F17-2=- ..\..\Source\include\projdefs.h
|
||||
F17-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -233,12 +233,12 @@ F17-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F17-6=- SRC\mb91467d.h
|
||||
F17-7=- ..\..\Source\include\task.h
|
||||
F17-8=- ..\..\Source\include\list.h
|
||||
F17-9=- ..\Common\include\flop.h
|
||||
F17-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F17-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F17-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\math.h
|
||||
F17-13=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\errno.h
|
||||
F18=13 c 1 ..\Common\Minimal\GenQTest.c
|
||||
F17-9=- ..\..\Source\include\queue.h
|
||||
F17-10=- ..\Common\include\GenQTest.h
|
||||
F17-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F17-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F17-13=- ..\..\Source\include\semphr.h
|
||||
F18=11 c 1 ..\Common\Minimal\integer.c
|
||||
F18-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F18-2=- ..\..\Source\include\projdefs.h
|
||||
F18-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -247,12 +247,10 @@ F18-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F18-6=- SRC\mb91467d.h
|
||||
F18-7=- ..\..\Source\include\task.h
|
||||
F18-8=- ..\..\Source\include\list.h
|
||||
F18-9=- ..\..\Source\include\queue.h
|
||||
F18-10=- ..\Common\include\GenQTest.h
|
||||
F18-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F18-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F18-13=- ..\..\Source\include\semphr.h
|
||||
F19=11 c 1 ..\Common\Minimal\integer.c
|
||||
F18-9=- ..\Common\include\integer.h
|
||||
F18-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F18-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F19=13 c 1 ..\Common\Minimal\QPeek.c
|
||||
F19-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F19-2=- ..\..\Source\include\projdefs.h
|
||||
F19-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -261,10 +259,12 @@ F19-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F19-6=- SRC\mb91467d.h
|
||||
F19-7=- ..\..\Source\include\task.h
|
||||
F19-8=- ..\..\Source\include\list.h
|
||||
F19-9=- ..\Common\include\integer.h
|
||||
F19-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F19-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F20=13 c 1 ..\Common\Minimal\QPeek.c
|
||||
F19-9=- ..\..\Source\include\queue.h
|
||||
F19-10=- ..\Common\include\QPeek.h
|
||||
F19-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F19-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F19-13=- ..\..\Source\include\semphr.h
|
||||
F20=13 c 1 ..\Common\Minimal\semtest.c
|
||||
F20-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F20-2=- ..\..\Source\include\projdefs.h
|
||||
F20-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -274,11 +274,11 @@ F20-6=- SRC\mb91467d.h
|
|||
F20-7=- ..\..\Source\include\task.h
|
||||
F20-8=- ..\..\Source\include\list.h
|
||||
F20-9=- ..\..\Source\include\queue.h
|
||||
F20-10=- ..\Common\include\QPeek.h
|
||||
F20-10=- ..\Common\include\semtest.h
|
||||
F20-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F20-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F20-13=- ..\..\Source\include\semphr.h
|
||||
F21=13 c 1 ..\Common\Minimal\semtest.c
|
||||
F21=10 c 1 ..\..\Source\portable\MemMang\heap_3.c
|
||||
F21-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F21-2=- ..\..\Source\include\projdefs.h
|
||||
F21-3=- SRC\FreeRTOSConfig.h
|
||||
|
|
@ -287,109 +287,81 @@ F21-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
|||
F21-6=- SRC\mb91467d.h
|
||||
F21-7=- ..\..\Source\include\task.h
|
||||
F21-8=- ..\..\Source\include\list.h
|
||||
F21-9=- ..\..\Source\include\queue.h
|
||||
F21-10=- ..\Common\include\semtest.h
|
||||
F21-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F21-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F21-13=- ..\..\Source\include\semphr.h
|
||||
F22=10 c 1 ..\..\Source\portable\MemMang\heap_3.c
|
||||
F21-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F21-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F22=12 c 1 SRC\serial\serial.c
|
||||
F22-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F22-2=- ..\..\Source\include\projdefs.h
|
||||
F22-3=- SRC\FreeRTOSConfig.h
|
||||
F22-4=- ..\..\Source\include\portable.h
|
||||
F22-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F22-6=- SRC\mb91467d.h
|
||||
F22-7=- ..\..\Source\include\task.h
|
||||
F22-8=- ..\..\Source\include\list.h
|
||||
F22-9=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F22-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F23=12 c 1 SRC\serial\serial.c
|
||||
F23-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F23-2=- ..\..\Source\include\projdefs.h
|
||||
F23-3=- SRC\FreeRTOSConfig.h
|
||||
F23-4=- ..\..\Source\include\portable.h
|
||||
F23-5=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F23-6=- SRC\mb91467d.h
|
||||
F23-7=- ..\..\Source\include\queue.h
|
||||
F23-8=- ..\..\Source\include\task.h
|
||||
F23-9=- ..\..\Source\include\list.h
|
||||
F23-10=- ..\Common\include\serial.h
|
||||
F23-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F23-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F24=10 c 1 SRC\watchdog\watchdog.c
|
||||
F22-7=- ..\..\Source\include\queue.h
|
||||
F22-8=- ..\..\Source\include\task.h
|
||||
F22-9=- ..\..\Source\include\list.h
|
||||
F22-10=- ..\Common\include\serial.h
|
||||
F22-11=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdlib.h
|
||||
F22-12=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F23=10 c 1 SRC\watchdog\watchdog.c
|
||||
F23-1=- SRC\mb91467d.h
|
||||
F23-2=- ..\..\Source\include\FreeRTOS.h
|
||||
F23-3=- ..\..\Source\include\projdefs.h
|
||||
F23-4=- SRC\FreeRTOSConfig.h
|
||||
F23-5=- ..\..\Source\include\portable.h
|
||||
F23-6=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F23-7=- ..\..\Source\include\task.h
|
||||
F23-8=- ..\..\Source\include\list.h
|
||||
F23-9=- SRC\watchdog\watchdog.h
|
||||
F23-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F24=11 c 1 SRC\utility\taskutility.c
|
||||
F24-1=- SRC\mb91467d.h
|
||||
F24-2=- ..\..\Source\include\FreeRTOS.h
|
||||
F24-3=- ..\..\Source\include\projdefs.h
|
||||
F24-4=- SRC\FreeRTOSConfig.h
|
||||
F24-5=- ..\..\Source\include\portable.h
|
||||
F24-6=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F24-7=- ..\..\Source\include\task.h
|
||||
F24-8=- ..\..\Source\include\list.h
|
||||
F24-9=- SRC\watchdog\watchdog.h
|
||||
F24-10=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F25=11 c 1 SRC\utility\taskutility.c
|
||||
F24-2=- SRC\vectors.h
|
||||
F24-3=- ..\..\Source\include\FreeRTOS.h
|
||||
F24-4=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F24-5=- ..\..\Source\include\projdefs.h
|
||||
F24-6=- SRC\FreeRTOSConfig.h
|
||||
F24-7=- ..\..\Source\include\portable.h
|
||||
F24-8=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F24-9=- ..\..\Source\include\task.h
|
||||
F24-10=- ..\..\Source\include\list.h
|
||||
F24-11=- ..\..\Source\include\queue.h
|
||||
F25=24 c 1 SRC\main.c
|
||||
F25-1=- SRC\mb91467d.h
|
||||
F25-2=- SRC\vectors.h
|
||||
F25-3=- ..\..\Source\include\FreeRTOS.h
|
||||
F25-4=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F25-5=- ..\..\Source\include\projdefs.h
|
||||
F25-6=- SRC\FreeRTOSConfig.h
|
||||
F25-7=- ..\..\Source\include\portable.h
|
||||
F25-8=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F25-9=- ..\..\Source\include\task.h
|
||||
F25-10=- ..\..\Source\include\list.h
|
||||
F25-11=- ..\..\Source\include\queue.h
|
||||
F26=25 c 1 SRC\main.c
|
||||
F25-3=- SRC\watchdog\watchdog.h
|
||||
F25-4=- ..\..\Source\include\FreeRTOS.h
|
||||
F25-5=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F25-6=- ..\..\Source\include\projdefs.h
|
||||
F25-7=- SRC\FreeRTOSConfig.h
|
||||
F25-8=- ..\..\Source\include\portable.h
|
||||
F25-9=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F25-10=- ..\..\Source\include\task.h
|
||||
F25-11=- ..\..\Source\include\list.h
|
||||
F25-12=- ..\Common\include\flash.h
|
||||
F25-13=- ..\Common\include\integer.h
|
||||
F25-14=- ..\Common\include\comtest2.h
|
||||
F25-15=- ..\Common\include\semtest.h
|
||||
F25-16=- ..\Common\include\BlockQ.h
|
||||
F25-17=- ..\Common\include\dynamic.h
|
||||
F25-18=- ..\Common\include\flop.h
|
||||
F25-19=- ..\Common\include\GenQTest.h
|
||||
F25-20=- ..\Common\include\QPeek.h
|
||||
F25-21=- ..\Common\include\blocktim.h
|
||||
F25-22=- ..\Common\include\death.h
|
||||
F25-23=- SRC\utility\taskutility.h
|
||||
F25-24=- ..\Common\include\partest.h
|
||||
F26=9 c 1 SRC\partest\partest.c
|
||||
F26-1=- SRC\mb91467d.h
|
||||
F26-2=- SRC\vectors.h
|
||||
F26-3=- SRC\watchdog\watchdog.h
|
||||
F26-4=- ..\..\Source\include\FreeRTOS.h
|
||||
F26-5=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F26-6=- ..\..\Source\include\projdefs.h
|
||||
F26-7=- SRC\FreeRTOSConfig.h
|
||||
F26-8=- ..\..\Source\include\portable.h
|
||||
F26-9=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F26-10=- ..\..\Source\include\task.h
|
||||
F26-11=- ..\..\Source\include\list.h
|
||||
F26-12=- ..\Common\include\flash.h
|
||||
F26-13=- ..\Common\include\integer.h
|
||||
F26-14=- ..\Common\include\comtest2.h
|
||||
F26-15=- ..\Common\include\semtest.h
|
||||
F26-16=- ..\Common\include\BlockQ.h
|
||||
F26-17=- ..\Common\include\dynamic.h
|
||||
F26-18=- ..\Common\include\flop.h
|
||||
F26-19=- ..\Common\include\GenQTest.h
|
||||
F26-20=- ..\Common\include\QPeek.h
|
||||
F26-21=- ..\Common\include\blocktim.h
|
||||
F26-22=- ..\Common\include\death.h
|
||||
F26-23=- SRC\utility\taskutility.h
|
||||
F26-24=- ..\Common\include\partest.h
|
||||
F26-25=- ..\Common\include\crflash.h
|
||||
F27=9 c 1 SRC\partest\partest.c
|
||||
F27-1=- SRC\mb91467d.h
|
||||
F27-2=- ..\..\Source\include\FreeRTOS.h
|
||||
F27-3=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F27-4=- ..\..\Source\include\projdefs.h
|
||||
F27-5=- SRC\FreeRTOSConfig.h
|
||||
F27-6=- ..\..\Source\include\portable.h
|
||||
F27-7=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F27-8=- ..\..\Source\include\task.h
|
||||
F27-9=- ..\..\Source\include\list.h
|
||||
F28=12 c 1 SRC\crflash_modified.c
|
||||
F28-1=- ..\..\Source\include\FreeRTOS.h
|
||||
F28-2=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F28-3=- ..\..\Source\include\projdefs.h
|
||||
F28-4=- SRC\FreeRTOSConfig.h
|
||||
F28-5=- ..\..\Source\include\portable.h
|
||||
F28-6=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F28-7=- SRC\mb91467d.h
|
||||
F28-8=- ..\..\Source\include\croutine.h
|
||||
F28-9=- ..\..\Source\include\list.h
|
||||
F28-10=- ..\..\Source\include\queue.h
|
||||
F28-11=- ..\Common\include\partest.h
|
||||
F28-12=- ..\Common\include\crflash.h
|
||||
F29=1 c 1 SRC\utility\printf-stdarg.c
|
||||
F29-1=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdarg.h
|
||||
F26-2=- ..\..\Source\include\FreeRTOS.h
|
||||
F26-3=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stddef.h
|
||||
F26-4=- ..\..\Source\include\projdefs.h
|
||||
F26-5=- SRC\FreeRTOSConfig.h
|
||||
F26-6=- ..\..\Source\include\portable.h
|
||||
F26-7=- ..\..\Source\portable\Softune\MB91460\portmacro.h
|
||||
F26-8=- ..\..\Source\include\task.h
|
||||
F26-9=- ..\..\Source\include\list.h
|
||||
F27=1 c 1 SRC\utility\printf-stdarg.c
|
||||
F27-1=- ..\..\..\..\..\..\devtools\Softune6\LIB\911\INCLUDE\stdarg.h
|
||||
|
||||
[BUILDMODE-STANDALONE]
|
||||
kernel=1
|
||||
|
|
@ -424,36 +396,34 @@ LST=MONDEB_INTERNAL\LST\
|
|||
OPT=MONDEB_INTERNAL\OPT\
|
||||
|
||||
[MEMBER-MONDEB_INTERNAL]
|
||||
F0=29
|
||||
F0=27
|
||||
F1=0 m 1 MONDEB_INTERNAL\ABS\91467d_FreeRTOS.abs
|
||||
F2=0 c 1 ..\..\Source\portable\Softune\MB91460\port.c
|
||||
F3=0 c 1 ..\..\Source\portable\Softune\MB91460\__STD_LIB_sbrk.c
|
||||
F4=0 c 1 ..\..\Source\croutine.c
|
||||
F5=0 c 1 ..\..\Source\list.c
|
||||
F6=0 c 1 ..\..\Source\queue.c
|
||||
F7=0 c 1 ..\..\Source\tasks.c
|
||||
F8=0 c 1 SRC\vectors.c
|
||||
F9=0 a 1 SRC\mb91467d.asm
|
||||
F10=0 a 1 SRC\Start91460.asm
|
||||
F11=0 c 1 ..\Common\Minimal\BlockQ.c
|
||||
F12=0 c 1 ..\Common\Minimal\blocktim.c
|
||||
F13=0 c 1 ..\Common\Minimal\comtest.c
|
||||
F14=0 c 1 ..\Common\Minimal\death.c
|
||||
F15=0 c 1 ..\Common\Minimal\dynamic.c
|
||||
F16=0 c 1 ..\Common\Minimal\flash.c
|
||||
F17=0 c 1 ..\Common\Minimal\flop.c
|
||||
F18=0 c 1 ..\Common\Minimal\GenQTest.c
|
||||
F19=0 c 1 ..\Common\Minimal\integer.c
|
||||
F20=0 c 1 ..\Common\Minimal\QPeek.c
|
||||
F21=0 c 1 ..\Common\Minimal\semtest.c
|
||||
F22=0 c 1 ..\..\Source\portable\MemMang\heap_3.c
|
||||
F23=0 c 1 SRC\serial\serial.c
|
||||
F24=0 c 1 SRC\watchdog\watchdog.c
|
||||
F25=0 c 1 SRC\utility\taskutility.c
|
||||
F26=0 c 1 SRC\main.c
|
||||
F27=0 c 1 SRC\partest\partest.c
|
||||
F28=0 c 1 SRC\crflash_modified.c
|
||||
F29=0 c 1 SRC\utility\printf-stdarg.c
|
||||
F4=0 c 1 ..\..\Source\list.c
|
||||
F5=0 c 1 ..\..\Source\queue.c
|
||||
F6=0 c 1 ..\..\Source\tasks.c
|
||||
F7=0 c 1 SRC\vectors.c
|
||||
F8=0 a 1 SRC\mb91467d.asm
|
||||
F9=0 a 1 SRC\Start91460.asm
|
||||
F10=0 c 1 ..\Common\Minimal\BlockQ.c
|
||||
F11=0 c 1 ..\Common\Minimal\blocktim.c
|
||||
F12=0 c 1 ..\Common\Minimal\comtest.c
|
||||
F13=0 c 1 ..\Common\Minimal\death.c
|
||||
F14=0 c 1 ..\Common\Minimal\dynamic.c
|
||||
F15=0 c 1 ..\Common\Minimal\flash.c
|
||||
F16=0 c 1 ..\Common\Minimal\flop.c
|
||||
F17=0 c 1 ..\Common\Minimal\GenQTest.c
|
||||
F18=0 c 1 ..\Common\Minimal\integer.c
|
||||
F19=0 c 1 ..\Common\Minimal\QPeek.c
|
||||
F20=0 c 1 ..\Common\Minimal\semtest.c
|
||||
F21=0 c 1 ..\..\Source\portable\MemMang\heap_3.c
|
||||
F22=0 c 1 SRC\serial\serial.c
|
||||
F23=0 c 1 SRC\watchdog\watchdog.c
|
||||
F24=0 c 1 SRC\utility\taskutility.c
|
||||
F25=0 c 1 SRC\main.c
|
||||
F26=0 c 1 SRC\partest\partest.c
|
||||
F27=0 c 1 SRC\utility\printf-stdarg.c
|
||||
|
||||
[BUILDMODE-MONDEB_INTERNAL]
|
||||
kernel=1
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://aws.amazon.com/freertos
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
* application requirements.
|
||||
*
|
||||
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
|
||||
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
|
||||
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
|
||||
*
|
||||
* See http://www.freertos.org/a00110.html
|
||||
*----------------------------------------------------------*/
|
||||
|
|
@ -54,11 +54,6 @@
|
|||
#define configIDLE_SHOULD_YIELD 1
|
||||
#define configUSE_MUTEXES 1
|
||||
|
||||
/* Co-routine definitions. */
|
||||
#define configUSE_CO_ROUTINES 1
|
||||
#define configMAX_CO_ROUTINE_PRIORITIES ( 4 )
|
||||
|
||||
|
||||
/* Set the following definitions to 1 to include the API function, or zero
|
||||
to exclude the API function. */
|
||||
|
||||
|
|
@ -75,7 +70,7 @@ to exclude the API function. */
|
|||
|
||||
/* This demo makes use of one or more example stats formatting functions. These
|
||||
format the raw data provided by the uxTaskGetSystemState() function in to human
|
||||
readable ASCII form. See the notes in the implementation of vTaskList() within
|
||||
readable ASCII form. See the notes in the implementation of vTaskList() within
|
||||
FreeRTOS/Source/tasks.c for limitations. */
|
||||
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
|
||||
|
||||
|
|
|
|||
|
|
@ -1,214 +0,0 @@
|
|||
/*
|
||||
* FreeRTOS V202112.00
|
||||
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://aws.amazon.com/freertos
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* This demo application file demonstrates the use of queues to pass data
|
||||
* between co-routines.
|
||||
*
|
||||
* N represents the number of 'fixed delay' co-routines that are created and
|
||||
* is set during initialisation.
|
||||
*
|
||||
* N 'fixed delay' co-routines are created that just block for a fixed
|
||||
* period then post the number of an LED onto a queue. Each such co-routine
|
||||
* uses a different block period. A single 'flash' co-routine is also created
|
||||
* that blocks on the same queue, waiting for the number of the next LED it
|
||||
* should flash. Upon receiving a number it simply toggle the instructed LED
|
||||
* then blocks on the queue once more. In this manner each LED from LED 0 to
|
||||
* LED N-1 is caused to flash at a different rate.
|
||||
*
|
||||
* The 'fixed delay' co-routines are created with co-routine priority 0. The
|
||||
* flash co-routine is created with co-routine priority 1. This means that
|
||||
* the queue should never contain more than a single item. This is because
|
||||
* posting to the queue will unblock the 'flash' co-routine, and as this has
|
||||
* a priority greater than the tasks posting to the queue it is guaranteed to
|
||||
* have emptied the queue and blocked once again before the queue can contain
|
||||
* any more date. An error is indicated if an attempt to post data to the
|
||||
* queue fails - indicating that the queue is already full.
|
||||
*
|
||||
*/
|
||||
|
||||
/* Scheduler includes. */
|
||||
#include "FreeRTOS.h"
|
||||
#include "croutine.h"
|
||||
#include "queue.h"
|
||||
|
||||
/* Demo application includes. */
|
||||
#include "partest.h"
|
||||
#include "crflash.h"
|
||||
|
||||
/* The queue should only need to be of length 1. See the description at the
|
||||
top of the file. */
|
||||
#define crfQUEUE_LENGTH 1
|
||||
|
||||
#define crfFIXED_DELAY_PRIORITY 0
|
||||
#define crfFLASH_PRIORITY 1
|
||||
|
||||
/* Only one flash co-routine is created so the index is not significant. */
|
||||
#define crfFLASH_INDEX 0
|
||||
|
||||
/* Don't allow more than crfMAX_FLASH_TASKS 'fixed delay' co-routines to be
|
||||
created. */
|
||||
#define crfMAX_FLASH_TASKS 8
|
||||
|
||||
/* We don't want to block when posting to the queue. */
|
||||
#define crfPOSTING_BLOCK_TIME 0
|
||||
|
||||
/* Added by MPi, this define is added in order to make the vParTestToggleLED()
|
||||
work. This basically differentiates the PDR09 from PDR00. 7-seg display LEDs connected
|
||||
to PDR09 (SEG1) are used by the prvFlashCoRoutine() and PDR00 (SEG2) are used by tasks. */
|
||||
#define PDR00_Offset 8
|
||||
|
||||
/*
|
||||
* The 'fixed delay' co-routine as described at the top of the file.
|
||||
*/
|
||||
static void prvFixedDelayCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/*
|
||||
* The 'flash' co-routine as described at the top of the file.
|
||||
*/
|
||||
static void prvFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex );
|
||||
|
||||
/* The queue used to pass data between the 'fixed delay' co-routines and the
|
||||
'flash' co-routine. */
|
||||
static QueueHandle_t xFlashQueue;
|
||||
|
||||
/* This will be set to pdFALSE if we detect an error. */
|
||||
static unsigned portBASE_TYPE uxCoRoutineFlashStatus = pdPASS;
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* See the header file for details.
|
||||
*/
|
||||
void vStartFlashCoRoutines( unsigned portBASE_TYPE uxNumberToCreate )
|
||||
{
|
||||
unsigned portBASE_TYPE uxIndex;
|
||||
|
||||
if( uxNumberToCreate > crfMAX_FLASH_TASKS )
|
||||
{
|
||||
uxNumberToCreate = crfMAX_FLASH_TASKS;
|
||||
}
|
||||
|
||||
/* Create the queue used to pass data between the co-routines. */
|
||||
xFlashQueue = xQueueCreate( crfQUEUE_LENGTH, sizeof( unsigned portBASE_TYPE ) );
|
||||
|
||||
if( xFlashQueue )
|
||||
{
|
||||
/* Create uxNumberToCreate 'fixed delay' co-routines. */
|
||||
for( uxIndex = 0; uxIndex < uxNumberToCreate; uxIndex++ )
|
||||
{
|
||||
xCoRoutineCreate( prvFixedDelayCoRoutine, crfFIXED_DELAY_PRIORITY, uxIndex );
|
||||
}
|
||||
|
||||
/* Create the 'flash' co-routine. */
|
||||
xCoRoutineCreate( prvFlashCoRoutine, crfFLASH_PRIORITY, crfFLASH_INDEX );
|
||||
}
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvFixedDelayCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
/* Even though this is a co-routine the xResult variable does not need to be
|
||||
static as we do not need it to maintain its state between blocks. */
|
||||
signed portBASE_TYPE xResult;
|
||||
/* The uxIndex parameter of the co-routine function is used as an index into
|
||||
the xFlashRates array to obtain the delay period to use. */
|
||||
static const TickType_t xFlashRates[ crfMAX_FLASH_TASKS ] = { 150 / portTICK_PERIOD_MS,
|
||||
200 / portTICK_PERIOD_MS,
|
||||
250 / portTICK_PERIOD_MS,
|
||||
300 / portTICK_PERIOD_MS,
|
||||
350 / portTICK_PERIOD_MS,
|
||||
400 / portTICK_PERIOD_MS,
|
||||
450 / portTICK_PERIOD_MS,
|
||||
500 / portTICK_PERIOD_MS };
|
||||
|
||||
/* Co-routines MUST start with a call to crSTART. */
|
||||
crSTART( xHandle );
|
||||
|
||||
for( ;; )
|
||||
{
|
||||
/* Post our uxIndex value onto the queue. This is used as the LED to
|
||||
flash. */
|
||||
crQUEUE_SEND( xHandle, xFlashQueue, ( void * ) &uxIndex, crfPOSTING_BLOCK_TIME, &xResult );
|
||||
|
||||
if( xResult != pdPASS )
|
||||
{
|
||||
/* For the reasons stated at the top of the file we should always
|
||||
find that we can post to the queue. If we could not then an error
|
||||
has occurred. */
|
||||
uxCoRoutineFlashStatus = pdFAIL;
|
||||
}
|
||||
|
||||
crDELAY( xHandle, xFlashRates[ uxIndex ] );
|
||||
}
|
||||
|
||||
/* Co-routines MUST end with a call to crEND. */
|
||||
crEND();
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static void prvFlashCoRoutine( CoRoutineHandle_t xHandle, unsigned portBASE_TYPE uxIndex )
|
||||
{
|
||||
/* Even though this is a co-routine the variable do not need to be
|
||||
static as we do not need it to maintain their state between blocks. */
|
||||
signed portBASE_TYPE xResult;
|
||||
unsigned portBASE_TYPE uxLEDToFlash;
|
||||
|
||||
/* Co-routines MUST start with a call to crSTART. */
|
||||
crSTART( xHandle );
|
||||
( void ) uxIndex;
|
||||
|
||||
for( ;; )
|
||||
{
|
||||
/* Block to wait for the number of the LED to flash. */
|
||||
crQUEUE_RECEIVE( xHandle, xFlashQueue, &uxLEDToFlash, portMAX_DELAY, &xResult );
|
||||
|
||||
if( xResult != pdPASS )
|
||||
{
|
||||
/* We would not expect to wake unless we received something. */
|
||||
uxCoRoutineFlashStatus = pdFAIL;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* We received the number of an LED to flash - flash it! */
|
||||
/* Added by MPi, PDR00_Offset is added in order to make the
|
||||
vParTestToggleLED() work. */
|
||||
vParTestToggleLED( uxLEDToFlash + PDR00_Offset );
|
||||
}
|
||||
}
|
||||
|
||||
/* Co-routines MUST end with a call to crEND. */
|
||||
crEND();
|
||||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
portBASE_TYPE xAreFlashCoRoutinesStillRunning( void )
|
||||
{
|
||||
/* Return pdPASS or pdFAIL depending on whether an error has been detected
|
||||
or not. */
|
||||
return uxCoRoutineFlashStatus;
|
||||
}
|
||||
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://aws.amazon.com/freertos
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -77,7 +77,6 @@
|
|||
#include "death.h"
|
||||
#include "taskutility.h"
|
||||
#include "partest.h"
|
||||
#include "crflash.h"
|
||||
|
||||
/* Demo task priorities. */
|
||||
#define mainWATCHDOG_TASK_PRIORITY ( tskIDLE_PRIORITY + 5 )
|
||||
|
|
@ -101,9 +100,6 @@ LCD represent LEDs]*/
|
|||
#define mainNO_ERROR_CHECK_DELAY ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_CHECK_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The total number of LEDs available. */
|
||||
#define mainNO_CO_ROUTINE_LEDs ( 8 )
|
||||
|
||||
/* The first LED used by the comtest tasks. */
|
||||
#define mainCOM_TEST_LED ( 0x05 )
|
||||
|
||||
|
|
@ -113,9 +109,6 @@ LCD represent LEDs]*/
|
|||
/* The number of interrupt levels to use. */
|
||||
#define mainINTERRUPT_LEVELS ( 31 )
|
||||
|
||||
/* The number of 'flash' co-routines to create - each toggles a different LED. */
|
||||
#define mainNUM_FLASH_CO_ROUTINES ( 8 )
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
|
|
@ -169,7 +162,6 @@ void main(void)
|
|||
vStartGenericQueueTasks( mainGENERIC_QUEUE_PRIORITY );
|
||||
vStartQueuePeekTasks();
|
||||
vCreateBlockTimeTasks();
|
||||
vStartFlashCoRoutines( mainNUM_FLASH_CO_ROUTINES );
|
||||
|
||||
/* Start the 'Check' task which is defined in this file. */
|
||||
xTaskCreate( prvErrorChecks, "Check", configMINIMAL_STACK_SIZE, NULL, mainCHECK_TASK_PRIORITY, NULL );
|
||||
|
|
@ -334,8 +326,6 @@ static void prvSetupHardware( void )
|
|||
#if WATCHDOG == WTC_IN_IDLE
|
||||
Kick_Watchdog();
|
||||
#endif
|
||||
|
||||
vCoRoutineSchedule();
|
||||
}
|
||||
#else
|
||||
#if WATCHDOG == WTC_IN_IDLE
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://aws.amazon.com/freertos
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
|
|||
if( uxLED < partstNUM_LEDs )
|
||||
{
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
{
|
||||
/* Toggle the state of the single genuine on board LED. */
|
||||
if( sState[ uxLED ] )
|
||||
{
|
||||
|
|
@ -63,9 +63,9 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
|
|||
{
|
||||
PDR25 &= ~( 1 << uxLED );
|
||||
}
|
||||
|
||||
|
||||
sState[uxLED] = !( sState[ uxLED ] );
|
||||
}
|
||||
}
|
||||
taskEXIT_CRITICAL();
|
||||
}
|
||||
else
|
||||
|
|
@ -73,11 +73,11 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
|
|||
uxLED -= partstNUM_LEDs;
|
||||
|
||||
if( uxLED < partstNUM_LEDs )
|
||||
{
|
||||
{
|
||||
taskENTER_CRITICAL();
|
||||
{
|
||||
{
|
||||
/* Toggle the state of the single genuine on board LED. */
|
||||
if( sState1[uxLED])
|
||||
if( sState1[uxLED])
|
||||
{
|
||||
PDR16 |= ( 1 << uxLED );
|
||||
}
|
||||
|
|
@ -85,7 +85,7 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
|
|||
{
|
||||
PDR16 &= ~( 1 << uxLED );
|
||||
}
|
||||
|
||||
|
||||
sState1[ uxLED ] = !( sState1[ uxLED ] );
|
||||
}
|
||||
taskEXIT_CRITICAL();
|
||||
|
|
@ -114,7 +114,7 @@ void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue )
|
|||
}
|
||||
taskEXIT_CRITICAL();
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
uxLED -= partstNUM_LEDs;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,14 +20,14 @@
|
|||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* https://www.FreeRTOS.org
|
||||
* https://aws.amazon.com/freertos
|
||||
* https://github.com/FreeRTOS
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* BASIC INTERRUPT DRIVEN SERIAL PORT DRIVER.
|
||||
*
|
||||
/*
|
||||
* BASIC INTERRUPT DRIVEN SERIAL PORT DRIVER.
|
||||
*
|
||||
* This file only supports UART 2
|
||||
*/
|
||||
|
||||
|
|
@ -43,10 +43,10 @@
|
|||
#include "serial.h"
|
||||
|
||||
/* The queue used to hold received characters. */
|
||||
static QueueHandle_t xRxedChars;
|
||||
static QueueHandle_t xRxedChars;
|
||||
|
||||
/* The queue used to hold characters waiting transmission. */
|
||||
static QueueHandle_t xCharsForTx;
|
||||
static QueueHandle_t xCharsForTx;
|
||||
|
||||
static volatile short sTHREEmpty;
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
|
|||
|
||||
/* Initialize UART asynchronous mode */
|
||||
BGR02 = configPER_CLOCK_HZ / ulWantedBaud;
|
||||
|
||||
|
||||
SCR02 = 0x17; /* 8N1 */
|
||||
SMR02 = 0x0d; /* enable SOT3, Reset, normal mode */
|
||||
SSR02 = 0x02; /* LSB first, enable receive interrupts */
|
||||
|
|
@ -73,7 +73,7 @@ xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned port
|
|||
EPFR20_D1 = 0; /* enable UART */
|
||||
}
|
||||
portEXIT_CRITICAL();
|
||||
|
||||
|
||||
/* Unlike other ports, this serial code does not allow for more than one
|
||||
com port. We therefore don't return a pointer to a port structure and can
|
||||
instead just return NULL. */
|
||||
|
|
@ -105,7 +105,7 @@ signed portBASE_TYPE xReturn;
|
|||
{
|
||||
if( sTHREEmpty == pdTRUE )
|
||||
{
|
||||
/* If sTHREEmpty is true then the UART Tx ISR has indicated that
|
||||
/* If sTHREEmpty is true then the UART Tx ISR has indicated that
|
||||
there are no characters queued to be transmitted - so we can
|
||||
write the character directly to the shift Tx register. */
|
||||
sTHREEmpty = pdFALSE;
|
||||
|
|
@ -115,10 +115,10 @@ signed portBASE_TYPE xReturn;
|
|||
else
|
||||
{
|
||||
/* sTHREEmpty is false, so there are still characters waiting to be
|
||||
transmitted. We have to queue this character so it gets
|
||||
transmitted. We have to queue this character so it gets
|
||||
transmitted in turn. */
|
||||
|
||||
/* Return false if after the block time there is no room on the Tx
|
||||
/* Return false if after the block time there is no room on the Tx
|
||||
queue. It is ok to block inside a critical section as each task
|
||||
maintains it's own critical section status. */
|
||||
if (xQueueSend( xCharsForTx, &cOutChar, xBlockTime ) == pdTRUE)
|
||||
|
|
@ -130,7 +130,7 @@ signed portBASE_TYPE xReturn;
|
|||
xReturn = pdFAIL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (pdPASS == xReturn)
|
||||
{
|
||||
/* Turn on the Tx interrupt so the ISR will remove the character from the
|
||||
|
|
@ -139,7 +139,7 @@ signed portBASE_TYPE xReturn;
|
|||
will simply turn off the Tx interrupt again. */
|
||||
SSR02_TIE = 1;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
portEXIT_CRITICAL();
|
||||
|
||||
|
|
@ -155,7 +155,7 @@ signed portBASE_TYPE xReturn;
|
|||
signed char cChar;
|
||||
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||
|
||||
/* Get the character from the UART and post it on the queue of Rxed
|
||||
/* Get the character from the UART and post it on the queue of Rxed
|
||||
characters. */
|
||||
cChar = RDR02;
|
||||
|
||||
|
|
@ -163,8 +163,8 @@ signed portBASE_TYPE xReturn;
|
|||
|
||||
if( xHigherPriorityTaskWoken )
|
||||
{
|
||||
/*If the post causes a task to wake force a context switch
|
||||
as the woken task may have a higher priority than the task we have
|
||||
/*If the post causes a task to wake force a context switch
|
||||
as the woken task may have a higher priority than the task we have
|
||||
interrupted. */
|
||||
portYIELD_FROM_ISR();
|
||||
}
|
||||
|
|
@ -191,7 +191,7 @@ __interrupt void UART2_TxISR (void)
|
|||
{
|
||||
/* There were no other characters to transmit. */
|
||||
sTHREEmpty = pdTRUE;
|
||||
|
||||
|
||||
/* Disable transmit interrupts */
|
||||
SSR02_TIE = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue