diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 74299698d..62b45128d 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c @@ -277,7 +277,9 @@ static void copy_img_to_SRAM(int slot, unsigned int hdr_offset) */ static void do_boot(struct boot_rsp *rsp) { +#ifndef CONFIG_SOC_FAMILY_ESPRESSIF_ESP32 void *start; +#endif /* CONFIG_SOC_FAMILY_ESPRESSIF_ESP32 */ BOOT_LOG_INF("br_image_off = 0x%x\n", rsp->br_image_off); BOOT_LOG_INF("ih_hdr_size = 0x%x\n", rsp->br_hdr->ih_hdr_size);