From: richardbarry Date: Fri, 9 Sep 2011 10:09:10 +0000 (+0000) Subject: Complete the RL78 demo. main.c still requires documentation in the comments at the... X-Git-Tag: V7.0.2~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=300f98014714751e35e717e43e8fde11326f279d;p=freertos Complete the RL78 demo. main.c still requires documentation in the comments at the top of the file. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1587 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h b/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h index 6e841b007..de9b770d2 100644 --- a/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h +++ b/Demo/RL78_RL78G13_Promo_Board_IAR/FreeRTOSConfig.h @@ -90,12 +90,12 @@ asm file. It is valid in a C file, but not valid in an asm file. */ #define configUSE_PREEMPTION 1 #define configTICK_RATE_HZ ( ( unsigned short ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 ) -#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 100 ) +#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 80 ) #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 ) ( 3500 ) ) +#define configTOTAL_HEAP_SIZE ( (size_t ) ( 3420 ) ) #define configCHECK_FOR_STACK_OVERFLOW 2 #define configUSE_MUTEXES 1 @@ -138,15 +138,6 @@ to exclude the API function. */ */ #define configCLOCK_SOURCE 1 -/* - * RL78/G13 Memory Model - * 1 = use far memory mode - * 0 = use near memory mode - * - * This setting must match the setting in the IAR project options. - */ -#define configMEMORY_MODE 0 - #if configCLOCK_SOURCE == 0 #define configCPU_CLOCK_HZ ( ( unsigned long ) 20000000 ) /* using the external clock source */ #else diff --git a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp index 0b30add33..a00303a83 100644 --- a/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp +++ b/Demo/RL78_RL78G13_Promo_Board_IAR/RTOSDemo.ewp @@ -78,7 +78,7 @@