orca/ext/wasm3/platforms/embedded/esp32-idf-wasi
Martin Fouilleul 17c0f02962 orca runtime initial commit 2023-04-12 16:21:03 +02:00
..
.old orca runtime initial commit 2023-04-12 16:21:03 +02:00
main orca runtime initial commit 2023-04-12 16:21:03 +02:00
.gitignore orca runtime initial commit 2023-04-12 16:21:03 +02:00
CMakeLists.txt orca runtime initial commit 2023-04-12 16:21:03 +02:00
README.md orca runtime initial commit 2023-04-12 16:21:03 +02:00
sdkconfig.defaults orca runtime initial commit 2023-04-12 16:21:03 +02:00

README.md

Build for ESP-IDF, with minimal WASI support

Note: Currently, to run this example you need a PSRAM-enabled ESP32 module (this might be improved in future).

Download and install ESP-IDF v4.0

export IDF_PATH=/opt/esp32/esp-idf

# Set tools path if needed:
#export IDF_TOOLS_PATH=/opt/esp32

source $IDF_PATH/export.sh

idf.py menuconfig

# Select target:
idf.py set-target esp32     # or: esp32s2, esp32c3, esp32s3, linux

idf.py build

idf.py -p /dev/ttyUSB0 flash monitor