|
|
7 months ago | |
|---|---|---|
| .. | ||
| wamr | 7 months ago | |
| README.md | 9 months ago | |
You can build an ESP-IDF project with wasm-micro-runtime as a component:
WAMR_PATH to point to your wasm-micro-runtime repositoryIDF_PATH to point to your ESP-IDFsource $IDF_PATH/export.shidf.py create-project wamr-helloIn the newly created project folder edit the CMakeList.txt:
cmake_minimum_required(VERSION 3.14)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set (COMPONENTS ${IDF_TARGET} main freertos esptool_py wamr)
list(APPEND EXTRA_COMPONENT_DIRS "$ENV{WAMR_PATH}/build-scripts/esp-idf")
project(wamr-hello)
Develop your project in it's main component folder.
You can find an example here.
idf.py set-target esp32c3idf.py buildidf.py flashidf.py monitor