Add tickless idle support in Cortex-M ports.

Change CCS R4 directory name.
This commit is contained in:
Richard Barry 2012-10-16 07:56:55 +00:00
parent e03ab659f3
commit dbe0ae2bff
4 changed files with 11 additions and 7 deletions

View File

@ -42,7 +42,7 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Library}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Common-Demo-Source/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/portable/CCS/ARM_Cortex-R4_RM48_TMS570}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/portable/CCS/ARM_Cortex-R4}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/startup}&quot;"/>
@ -121,7 +121,7 @@
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Common-Demo-Source/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/Library}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/include}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/portable/CCS/ARM_Cortex-R4_RM48_TMS570}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/FreeRTOS/portable/CCS/ARM_Cortex-R4}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}}&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/startup}&quot;"/>

View File

@ -9,6 +9,8 @@ encoding//With_FPU/FreeRTOS/subdir_rules.mk=UTF-8
encoding//With_FPU/FreeRTOS/subdir_vars.mk=UTF-8
encoding//With_FPU/Library/subdir_rules.mk=UTF-8
encoding//With_FPU/Library/subdir_vars.mk=UTF-8
encoding//With_FPU/RM48_FreeRTOS_Demo/source/subdir_rules.mk=UTF-8
encoding//With_FPU/RM48_FreeRTOS_Demo/source/subdir_vars.mk=UTF-8
encoding//With_FPU/makefile=UTF-8
encoding//With_FPU/objects.mk=UTF-8
encoding//With_FPU/sources.mk=UTF-8
@ -18,14 +20,16 @@ encoding//With_FPU/subdir_rules.mk=UTF-8
encoding//With_FPU/subdir_vars.mk=UTF-8
encoding//Without_FPU/Common-Demo-Source/subdir_rules.mk=UTF-8
encoding//Without_FPU/Common-Demo-Source/subdir_vars.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/CCS/ARM_Cortex-R4_RM48_TMS570/subdir_rules.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/CCS/ARM_Cortex-R4_RM48_TMS570/subdir_vars.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/CCS/ARM_Cortex-R4/subdir_rules.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/CCS/ARM_Cortex-R4/subdir_vars.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/MemMang/subdir_rules.mk=UTF-8
encoding//Without_FPU/FreeRTOS/portable/MemMang/subdir_vars.mk=UTF-8
encoding//Without_FPU/FreeRTOS/subdir_rules.mk=UTF-8
encoding//Without_FPU/FreeRTOS/subdir_vars.mk=UTF-8
encoding//Without_FPU/Library/subdir_rules.mk=UTF-8
encoding//Without_FPU/Library/subdir_vars.mk=UTF-8
encoding//Without_FPU/RM48_FreeRTOS_Demo/source/subdir_rules.mk=UTF-8
encoding//Without_FPU/RM48_FreeRTOS_Demo/source/subdir_vars.mk=UTF-8
encoding//Without_FPU/makefile=UTF-8
encoding//Without_FPU/objects.mk=UTF-8
encoding//Without_FPU/sources.mk=UTF-8

View File

@ -20,7 +20,7 @@ IF EXIST .\FreeRTOS_Source Goto END
MD FreeRTOS\include
MD FreeRTOS\portable
MD FreeRTOS\portable\CCS
MD FreeRTOS\portable\CCS\ARM_Cortex-R4_RM48_TMS570
MD FreeRTOS\portable\CCS\ARM_Cortex-R4
MD FreeRTOS\portable\MemMang
MD Common-Demo-Source
MD Common-Demo-Source\include
@ -35,7 +35,7 @@ IF EXIST .\FreeRTOS_Source Goto END
copy %FREERTOS_SOURCE%\include\*.* FreeRTOS\include
REM Copy the portable layer files into the project directory
copy %FREERTOS_SOURCE%\portable\CCS\ARM_Cortex-R4_RM48_TMS570\*.* FreeRTOS\portable\CCS\ARM_Cortex-R4_RM48_TMS570
copy %FREERTOS_SOURCE%\portable\CCS\ARM_Cortex-R4\*.* FreeRTOS\portable\CCS\ARM_Cortex-R4
REM Copy the memory allocation files into the project directory
copy %FREERTOS_SOURCE%\portable\MemMang\heap_4.c FreeRTOS\portable\MemMang

View File

@ -127,7 +127,7 @@ static volatile unsigned portBASE_TYPE uxTasksRunningAtStart = 0;
/* Tasks are deleted by the idle task. Under heavy load the idle task might
not get much processing time, so it would be legitimate for several tasks to
remain undeleted for a short period. */
static const unsigned portBASE_TYPE uxMaxNumberOfExtraTasksRunning = 2;
static const unsigned portBASE_TYPE uxMaxNumberOfExtraTasksRunning = 3;
/* Used to store a handle to the task that should be killed by a suicidal task,
before it kills itself. */