Page 2 of 2

Re: Stopping ULP & ULP Lockup

Posted: Tue Mar 07, 2023 11:38 am
by dizcza
You're missing a bunch of the #includes from my above comment.
And you will need to add component dependencies to your 'my_boot_hooks' component's CMakeLists.txt:

Code: Select all

idf_component_register(
    SRCS "hooks.c"
    REQUIRES soc hal esp_hw_support
)
True, I haven't noticed the other header imports in your post. And I did need the REQUIRES statement in the bootloader component. Now it works like a charm, thanks a lot!