From 1bee4b89482320aca432e8a751e90717fdc70dc6 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 31 Dec 2010 17:54:29 +0000 Subject: [PATCH] Continue work on the MSP430X demo - still a work in progress. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1197 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/MSP430X_MSP430F5438_IAR/FreeRTOSConfig.h | 4 +- Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp | 2 +- Demo/MSP430X_MSP430F5438_IAR/main.c | 3 +- Demo/MSP430X_MSP430F5438_IAR/serial.c | 77 +++++-------------- 4 files changed, 25 insertions(+), 61 deletions(-) diff --git a/Demo/MSP430X_MSP430F5438_IAR/FreeRTOSConfig.h b/Demo/MSP430X_MSP430F5438_IAR/FreeRTOSConfig.h index 5024dbfe5..c7bb39210 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/FreeRTOSConfig.h +++ b/Demo/MSP430X_MSP430F5438_IAR/FreeRTOSConfig.h @@ -69,10 +69,10 @@ #define configUSE_PREEMPTION 1 #define configUSE_IDLE_HOOK 1 #define configUSE_TICK_HOOK 1 -#define configCPU_CLOCK_HZ ( 8000000UL ) +#define configCPU_CLOCK_HZ ( 16000000UL ) #define configTICK_RATE_HZ ( ( portTickType ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) -#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 60 ) +#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 70 ) #define configTOTAL_HEAP_SIZE ( ( size_t ) ( 10 * 1024 ) ) #define configMAX_TASK_NAME_LEN ( 16 ) #define configUSE_TRACE_FACILITY 0 diff --git a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp index 73ada9785..0ee93deb1 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp +++ b/Demo/MSP430X_MSP430F5438_IAR/RTOSDemo.ewp @@ -710,7 +710,7 @@