Increase MaxFunctionStackHeight for ESP32 WASI example

extensions
Volodymyr Shymanskyy 5 years ago
parent 092a5c70bb
commit 0edc1afe76

@ -5,7 +5,7 @@ set(APP_SOURCES "main.cpp" "m3_api_esp_wasi.c")
idf_component_register(SRCS ${APP_SOURCES} ${M3_SOURCES}
INCLUDE_DIRS "")
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32 -Dd_m3LogOutput=false)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32 -Dd_m3MaxFunctionStackHeight=256 -Dd_m3LogOutput=false)
# Disable harmless warnings
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers)

Loading…
Cancel
Save