diff --git a/components/bootloader_support/src/bootloader_init.c b/components/bootloader_support/src/bootloader_init.c index 9cf02b02b..2a1f1e484 100644 --- a/components/bootloader_support/src/bootloader_init.c +++ b/components/bootloader_support/src/bootloader_init.c @@ -14,6 +14,7 @@ #include #include #include "sdkconfig.h" +#include "esp_attr.h" #include "esp_log.h" #include "bootloader_init.h" #include "bootloader_flash.h" @@ -30,7 +31,7 @@ static const char *TAG = "boot"; -esp_image_header_t bootloader_image_hdr; +esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr; void bootloader_clear_bss_section(void) {