1 #include "esp_log.h"
2 
3 /* Function used to tell the linker to include this file
4  * with all its symbols.
5  */
bootloader_hooks_include(void)6 void bootloader_hooks_include(void){
7 }
8 
9 
bootloader_before_init(void)10 void bootloader_before_init(void) {
11     /* Keep in my mind that a lot of functions cannot be called from here
12      * as system initialization has not been performed yet, including
13      * BSS, SPI flash, or memory protection. */
14     ESP_LOGI("HOOK", "This hook is called BEFORE bootloader initialization");
15 }
16 
bootloader_after_init(void)17 void bootloader_after_init(void) {
18     ESP_LOGI("HOOK", "This hook is called AFTER bootloader initialization");
19 }
20