diff options
author | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2015-01-15 21:37:32 +0000 |
---|---|---|
committer | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2015-01-15 21:37:32 +0000 |
commit | df6c8a8a566e9d7e92357f006057441dd3191ed9 (patch) | |
tree | 3399c1e24915a03d2d827ba506e1775cefc95ce3 /FreeRTOS/Demo/CORTEX_LPC1768_IAR | |
parent | e6160c3bb352e48d1cc5b062fa5b87fb3c7cc84c (diff) | |
download | freertos-df6c8a8a566e9d7e92357f006057441dd3191ed9.tar.gz |
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.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2323 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_LPC1768_IAR')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h | 4 | ||||
-rw-r--r-- | FreeRTOS/Demo/CORTEX_LPC1768_IAR/main.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h index 0da76e336..21b0c99e3 100644 --- a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/FreeRTOSConfig.h @@ -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
diff --git a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/main.c b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/main.c index b219e7847..b3d1d3c33 100644 --- a/FreeRTOS/Demo/CORTEX_LPC1768_IAR/main.c +++ b/FreeRTOS/Demo/CORTEX_LPC1768_IAR/main.c @@ -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. */
|