Skip to content

Commit

Permalink
samd/mcu/samd21: Enable MICROPY_STACK_CHECK on SAMD21.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dpgeorge committed Jan 8, 2024
1 parent e456ee4 commit 2ed976f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/samd/mcu/samd21/mpconfigmcu.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

// Selected extensions beyond the basic features set.
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_STACK_CHECK (1)
#define MICROPY_KBD_EXCEPTION (1)
#define MICROPY_HELPER_REPL (1)
#define MICROPY_REPL_AUTO_INDENT (1)
Expand Down

0 comments on commit 2ed976f

Please sign in to comment.