diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-30 22:17:18 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-03-30 22:17:18 +0300 |
commit | 344bfbb71c0cc12a69d06958cfcd583a14a1a360 (patch) | |
tree | e66a68df03974dcdfafa54c66af4619b8a3b97cd | |
parent | df48f4645d603db99c1c9df6f72052866ba032b6 (diff) | |
download | micropython-344bfbb71c0cc12a69d06958cfcd583a14a1a360.tar.gz micropython-344bfbb71c0cc12a69d06958cfcd583a14a1a360.zip |
zephyr: Fix NLR segfault in minimal build.
Requires inclusion of zephyr.h to properly detect that we're building for
Zephyr.
-rw-r--r-- | zephyr/mpconfigport_minimal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/mpconfigport_minimal.h b/zephyr/mpconfigport_minimal.h index 459b0816ca..04383f6e32 100644 --- a/zephyr/mpconfigport_minimal.h +++ b/zephyr/mpconfigport_minimal.h @@ -27,6 +27,8 @@ // Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles #include "autoconf.h" +// Included here to get basic Zephyr environment (macros, etc.) +#include <zephyr.h> // Usually passed from Makefile #ifndef MICROPY_HEAP_SIZE |