mpu_stack_guard_test: fix stack declaration
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
010498da62
commit
768e2a9617
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
struct stack_guard_buffer {
|
struct stack_guard_buffer {
|
||||||
/* Make sure canary is not optimized by the compiler */
|
/* Make sure canary is not optimized by the compiler */
|
||||||
volatile u32_t canary;
|
volatile u32_t canary;
|
||||||
u8_t stack[STACKSIZE];
|
K_THREAD_STACK_MEMBER(stack, STACKSIZE);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct stack_guard_buffer buf;
|
struct stack_guard_buffer buf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue