8000 samd/mcu/samd21: Enable MICROPY_STACK_CHECK on SAMD21. · pimoroni/micropython@2ed976f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ed976f

Browse files
committed
samd/mcu/samd21: Enable MICROPY_STACK_CHECK on SAMD21.
Increases firmware size by +140 bytes and uses +4 extra bytes of RAM, but allows the test suite to run without crashing. Signed-off-by: Damien George <damien@micropython.org>
1 parent e456ee4 commit 2ed976f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/samd/mcu/samd21/mpconfigmcu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
// Selected extensions beyond the basic features set.
1818
#define MICROPY_ENABLE_FINALISER (1)
19+
#define MICROPY_STACK_CHECK (1)
1920
#define MICROPY_KBD_EXCEPTION (1)
2021
#define MICROPY_HELPER_REPL (1)
2122
#define MICROPY_REPL_AUTO_INDENT (1)

0 commit comments

Comments
 (0)
0