We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b050b3 commit e60e807Copy full SHA for e60e807
ports/nrf/mpconfigport.h
@@ -59,6 +59,12 @@
59
60
// options to control how MicroPython is built
61
62
+// Due to the use of LTO and the unknown distance between nlr.o and nlrthumb.o code,
63
+// MCUs using the Thumb 1 instruction set must enable this NLR long jump feature.
64
+#if defined(NRF51822)
65
+#define MICROPY_NLR_THUMB_USE_LONG_JUMP (1)
66
+#endif
67
+
68
#ifndef MICROPY_VFS
69
#define MICROPY_VFS (CORE_FEAT)
70
#endif
0 commit comments