mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-05-29 00:19:04 -04:00
Change the configCPU_CLOCK_HZ setting in the SAM4E demo to use the SystemCoreClock variable.
This commit is contained in:
parent
a320d6dffd
commit
040a7c02df
Binary file not shown.
|
@ -636,6 +636,9 @@
|
|||
<None Include="src\config\conf_ili93xx.h">
|
||||
<SubType>compile</SubType>
|
||||
</None>
|
||||
<Compile Include="src\config\FreeRTOSIPConfig.h">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="src\FreeRTOS+\FreeRTOS+FAT SL\API\fat_sl.h">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
|
@ -734,9 +737,6 @@
|
|||
<Compile Include="src\config\FreeRTOSConfig.h">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="src\config\FreeRTOSIPConfig.h">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
<Compile Include="src\main.c">
|
||||
<SubType>compile</SubType>
|
||||
</Compile>
|
||||
|
@ -1121,9 +1121,6 @@
|
|||
<None Include="src\ASF\thirdparty\CMSIS\Include\core_cmInstr.h">
|
||||
<SubType>compile</SubType>
|
||||
</None>
|
||||
<None Include="src\ASF\thirdparty\CMSIS\Lib\GCC\libarm_cortexM4lf_math.a">
|
||||
<SubType>compile</SubType>
|
||||
</None>
|
||||
<None Include="src\ASF\thirdparty\CMSIS\README.txt">
|
||||
<SubType>compile</SubType>
|
||||
</None>
|
||||
|
|
|
@ -82,12 +82,14 @@
|
|||
* See http://www.freertos.org/a00110.html.
|
||||
*----------------------------------------------------------*/
|
||||
|
||||
extern uint32_t SystemCoreClock;
|
||||
|
||||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 1
|
||||
#define configUSE_QUEUE_SETS 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 1
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) CHIP_FREQ_CPU_MAX )
|
||||
#define configCPU_CLOCK_HZ ( SystemCoreClock )
|
||||
#define configTICK_RATE_HZ ( 1000 )
|
||||
#define configMAX_PRIORITIES ( 5 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
/* Set mainCREATE_SIMPLE_BLINKY_DEMO_ONLY to one to run the simple blinky demo,
|
||||
or 0 to run the more comprehensive demo application that includes add-on
|
||||
components. */
|
||||
#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 0
|
||||
#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 1
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue