修复-O2时cortex-m惰性压栈错误,以及内存访问错误时task删除hardfault错误
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <u_util.h>
|
||||
#if !IS_ENABLED(CONFIG_MMU)
|
||||
#define HEAP_SIZE 2048
|
||||
#define STACK_SIZE (2048)
|
||||
#define STACK_SIZE (3*1024)
|
||||
|
||||
#if defined(__CC_ARM)
|
||||
#define HEAP_ATTR SECTION("HEAP") __attribute__((zero_init))
|
||||
|
||||
Reference in New Issue
Block a user