In the main code i have:
Code: Select all
ulp_riscv_reset();
LoadRiscvProg();
ulp_riscv_run();
esp_deep_sleep_start();
Code: Select all
ulp_riscv_wakeup_main_processor()
LoadRiscvProg() is just to load the code into the RTC memory and give the address of some variables that have been created in RTC memory to pointers created in the ulp program.
Am I missing some other code that needs to be run to clear any flag or something else to be done?