[riot-notifications] [RIOT-OS/RIOT] cpu/msp430_common: set top of heap for sbrk (#10943)
notifications at github.com
Tue Mar 12 17:06:44 CET 2019
gschorcht commented on this pull request.
> @@ -26,6 +26,8 @@
extern void board_init(void);
+#define STACK_EXTRA 32
`STACK_EXTRA` is simply a margin to leave some space on the stack for the calls of `kernel_init` and further `cpu_switch_context_exit`. It ensures that the stack pointer doesn't decrease to `__heap_end` before it is set to any thread stack in `kernel_init`.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications