Fix OS_TCB_SIZE

The define OS_TCB_SIZE does not match the real stack size.  This
leaves the system with less than OS_TASKCNT TCBs and prevents
a single thread configuration.  This updates OS_TCB_SIZE to the
correct value to fix the problem.
pull/1907/head
Russ Butler 2016-06-12 00:20:48 +01:00
parent 2518eaeaf5
commit ba4834dcd0
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
#define _declare_box(pool,size,cnt) uint32_t pool[(((size)+3)/4)*(cnt) + 3]
#define _declare_box8(pool,size,cnt) uint64_t pool[(((size)+7)/8)*(cnt) + 2]
#define OS_TCB_SIZE 52
#define OS_TCB_SIZE 60
#define OS_TMR_SIZE 8
#if defined (__CC_ARM) && !defined (__MICROLIB)

View File

@ -51,7 +51,7 @@
#define _declare_box(pool,size,cnt) uint32_t pool[(((size)+3)/4)*(cnt) + 3]
#define _declare_box8(pool,size,cnt) uint64_t pool[(((size)+7)/8)*(cnt) + 2]
#define OS_TCB_SIZE 52
#define OS_TCB_SIZE 60
#define OS_TMR_SIZE 8
typedef void *OS_ID;