mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-28 03:23:14 +00:00
13f894799c
This example shows how to have both ULP FSM and RISCV enabled in kconfig simultaneously, and use them one after another at run time. A new parameter TYPE is passed to ulp_embed_binary() function to specify fsm or riscv in CMakeLists.txt. This way, both ulp_fsm and ulp_riscv source files can be compiled by their respective toolchains under the same project. The example shows ULP FSM incrementing a counter from 0 to 100, ULP RISC-V incrementing from 100 to 500 and main CPU incrementing from 500 to 1500.