mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-20 12:35:34 -04:00
nrf/mpconfigport: Enable MICROPY_NLR_THUMB_USE_LONG_JUMP on nRF51xx.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
7b050b366b
commit
e60e8079a7
@ -59,6 +59,12 @@
|
|||||||
|
|
||||||
// options to control how MicroPython is built
|
// options to control how MicroPython is built
|
||||||
|
|
||||||
|
// Due to the use of LTO and the unknown distance between nlr.o and nlrthumb.o code,
|
||||||
|
// MCUs using the Thumb 1 instruction set must enable this NLR long jump feature.
|
||||||
|
#if defined(NRF51822)
|
||||||
|
#define MICROPY_NLR_THUMB_USE_LONG_JUMP (1)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MICROPY_VFS
|
#ifndef MICROPY_VFS
|
||||||
#define MICROPY_VFS (CORE_FEAT)
|
#define MICROPY_VFS (CORE_FEAT)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user