From 0fdf8680ea7b2c7781050ff8280cdb166bdaae37 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 6 Sep 2011 16:11:48 +0000 Subject: [PATCH] Some updates to the fledgling RL78 demo application. Not yet complete. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1586 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../FreeRTOSConfig.h | 6 ++-- .../RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp | 12 ++------ Demo/RL78_RL78G13_Promo_Board_IAR/main.c | 30 +++++++++++++++++++ .../settings/rtosdemo.dbgdt | 12 ++++---- .../settings/rtosdemo.dni | 2 +- .../settings/rtosdemo.wsdt | 6 ++-- 6 files changed, 46 insertions(+), 22 deletions(-) diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h b/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h index 67505518b..6e841b007 100644 --- a/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h +++ b/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h @@ -88,19 +88,19 @@ asm file. It is valid in a C file, but not valid in an asm file. */ #endif /* __IAR_SYSTEMS_ICC__ */ #define configUSE_PREEMPTION 1 -#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) +#define configTICK_RATE_HZ ( ( unsigned short ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 ) #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 100 ) #define configMAX_TASK_NAME_LEN ( 10 ) #define configUSE_TRACE_FACILITY 0 #define configUSE_16_BIT_TICKS 1 #define configIDLE_SHOULD_YIELD 1 -#define configTOTAL_HEAP_SIZE ( (size_t ) ( 2900 ) ) +#define configTOTAL_HEAP_SIZE ( (size_t ) ( 3500 ) ) #define configCHECK_FOR_STACK_OVERFLOW 2 #define configUSE_MUTEXES 1 /* Hook function definitions. */ -#define configUSE_IDLE_HOOK 0 +#define configUSE_IDLE_HOOK 1 #define configUSE_TICK_HOOK 0 #define configUSE_MALLOC_FAILED_HOOK 1 diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp index d7784ff74..0b30add33 100644 --- a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp +++ b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp @@ -96,11 +96,11 @@