mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
2518eaeaf5
commit
ba4834dcd0
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue