Note: lists.zephyrproject.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
On 06/29/2017 11:17 PM, Kitty(chun hua) Jiang wrote:
But when I tried to build a hello world for esp32 board, it always failed.I'm still working on the documentation, but right now you'll need both esp-idf (for headers and the HAL library) and the ESP32 toolchain as distributed by Espressif. Building with the Zephyr toolchain is currently unsupported.
You'll also need to set a few environment variables:
After setting these, you'll be able to build some samples. The port is pretty crude at the moment, but the very basics are already working. These changes were merged and are on the official Zephyr repository, in the master branch, so there's no need to use the other repos/branches you listed. (This might not be the case as the port matures and more things get supported, of course.)
If you're still getting compile errors even with these environment variables set, then it's most likely a bug.
To flash, "make flash" should work, but please read the commit message for commit f0b4e174d738c94703 first.