Skip to content

Commit 344bfbb

Browse files
committed
zephyr: Fix NLR segfault in minimal build.
Requires inclusion of zephyr.h to properly detect that we're building for Zephyr.
1 parent df48f46 commit 344bfbb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

zephyr/mpconfigport_minimal.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
2929
#include "autoconf.h"
30+
// Included here to get basic Zephyr environment (macros, etc.)
31+
#include <zephyr.h>
3032

3133
// Usually passed from Makefile
3234
#ifndef MICROPY_HEAP_SIZE

0 commit comments

Comments
 (0)