mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Demo app changes:
Add a "query heap" command to the standard sample CLI commands. Remove casting from configMAX_PRIORITIES setting in Win32 simulator demos as it was preventing a clean build. Source code changes. General tidy up and addition of assert points.
This commit is contained in:
parent
e4e6328300
commit
c37b2ca39b
37 changed files with 1017 additions and 462 deletions
|
@ -110,7 +110,7 @@
|
|||
#define configUSE_IDLE_HOOK 0
|
||||
#define configMAX_PRIORITIES ( 5 )
|
||||
#define configUSE_TICK_HOOK 1
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 99000000 )
|
||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 100000000 )
|
||||
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
|
||||
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 80 )
|
||||
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 19 * 1024 ) )
|
||||
|
@ -144,7 +144,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
|
||||
|
||||
|
|
|
@ -394,7 +394,7 @@ void prvSetupHardware( void )
|
|||
SC->PLL1FEED = PLLFEED_FEED2;
|
||||
while( ( ( SC->PLL1STAT & ( 1 << 9 ) ) == 0 ) );
|
||||
|
||||
/* Setup the peripheral bus to be the same as the PLL output (64 MHz). */
|
||||
/* Setup the peripheral bus to be the same as the CPU output (100 MHz). */
|
||||
SC->PCLKSEL0 = 0x05555555;
|
||||
|
||||
/* Configure the LEDs. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue