All,
From the S2 IDF SDK:
"The main difference from the FSM ULP is this variant can be programmed in C using standard GNU tools"
Can someone explain exactly how to program and compile in C the RISC-V based ULP versus the main Tensilica core. Can all the SDK C commands be treated the same way as we would use them when programming the main core? Any differences?
I could not find any documentation apart from the API guides in github, but its all in assembly.
Thanks.
ESP32-S2 ULP compiling in C
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S2 ULP compiling in C
There's documentation here, does that answer your questions?
Re: ESP32-S2 ULP compiling in C
Hi ESP_Sprite,
That documentation was easy to find but wasn't explicit about how to program the ULP in C especially accessing the SDK functions and registers, however from running this sample https://github.com/espressif/esp-idf/tr ... /ulp_riscv and updating it was easy to conclude you can program the ULP the same way as the main core. Nice!
That documentation was easy to find but wasn't explicit about how to program the ULP in C especially accessing the SDK functions and registers, however from running this sample https://github.com/espressif/esp-idf/tr ... /ulp_riscv and updating it was easy to conclude you can program the ULP the same way as the main core. Nice!
Who is online
Users browsing this forum: No registered users and 90 guests