zephyr/mpconfigport: Enable MICROPY_NLR_THUMB_USE_LONG_JUMP.

Needed for some ARMv6M boards, eg rpi_pico.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2025-06-23 13:01:47 +10:00
parent 07285323cf
commit d0ccaff5b7

View file

@ -36,6 +36,9 @@
#define MICROPY_HEAP_SIZE (16 * 1024)
#endif
// We can't guarantee object layout of nlr code so use long jump by default.
#define MICROPY_NLR_THUMB_USE_LONG_JUMP (1)
#define MICROPY_PERSISTENT_CODE_LOAD (1)
#define MICROPY_ENABLE_SOURCE_LINE (1)
#define MICROPY_STACK_CHECK (1)