[riot-notifications] [RIOT-OS/RIOT] cpu/msp430_common: set top of heap for sbrk (#10943)

Juan I Carrano notifications at github.com
Tue Mar 12 17:17:05 CET 2019


jcarrano commented on this pull request.



> @@ -26,6 +26,8 @@
 
 extern void board_init(void);
 
+#define STACK_EXTRA 32

```suggestion
/* Leave some extra space in the stack to allows us to finish the kernel initialization procedure.
 * __heap_end is set the current stack, minus STACK_EXTRA since there is still code to execute.
 */
#define STACK_EXTRA 32
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10943#discussion_r264760224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190312/7475ffb8/attachment.html>


More information about the notifications mailing list