I want to handle secure boot v2 error when application signature is invalid. The default bootloader just calls abort() and restart boot. So it cycles in restarts. I would like to force it to stay in some defined state.g. light sleep.
I tried to use bootloader override of bootloader_utility.c but end up with linker error:
bootloader_components/main/bootloader_utility.c:932:(.text.bootloader_utility_load_boot_image+0x3c): undefined reference to `esp_light_sleep_start'
What is necessary to add to CMakeLists.txt to link missing reference? Does it make sense to enhance bootloader this way at all? Thanks for advises.
Missing includes in bootloader_override example
Who is online
Users browsing this forum: No registered users and 95 guests