ESP32 and Zephyr: Error in nlr_push_tail call
Hi, I have tried testing micropython porting for zephyr and ESP32 board. Got myself into this error:
*** Booting Zephyr OS build v3.0.0-rc1-34-gfe4ab778886c ***
MicroPython v1.18-63-g60e05ae84 on 2022-01-31; zephyr-esp32 with esp32
>>> print("hello")
Backtrace:0x400E1A39:0x3FFE64E0
0x400e1a39: nlr_push_tail at /home/sylvio/projects/espressif/zephyr/micropython/py/nlr.c:42
Steps to reproduce:
rm -rf build; west build -b esp32 -- -DCONF_FILE=prj_minimal.conf
west flash; west espressif monitor
Zephyr port is not compatible with Zephyr v3.2.x or higher (latest v3.5.0).
When using Zephyr 3.5.0 (latest), I get an error when trying to build this:
west build -b qemu_x86 ~/micropython/ports/zephyr --pristine=always
Error:
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/go/zephyrproject/zephyr/build
Complete build log:
build_error_v3.5.0.txt
I have tried the above on Windows 10 Pro & a clean install of Ubuntu 22.04 LTS, same result.
Tried with v3.2.0 and v3.4.0 too, same problem. Only v3.1.0 seems to work, but is missing the m5stack_core2 target which I need.
When I checkout Zephyr v3.1.0, the same build is completed without any error.
git checkout v3.1.0
west update
west build -b qemu_x86 ~/micropython/ports/zephyr --pristine=always
Anybody an idea to fix this? Thanks!