From 344bfbb71c0cc12a69d06958cfcd583a14a1a360 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 30 Mar 2017 22:17:18 +0300 Subject: [PATCH] zephyr: Fix NLR segfault in minimal build. Requires inclusion of zephyr.h to properly detect that we're building for Zephyr. --- zephyr/mpconfigport_minimal.h | 2 ++ 1 file changed, 2 insertions(+) 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 // Usually passed from Makefile #ifndef MICROPY_HEAP_SIZE