From 918cac578b8b5f719c2824a4bb41ec1b52153b79 Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Fri, 17 Jul 2026 18:28:28 +0300 Subject: [PATCH] fix(bootloader): use correct format specifier for MMU_LL_END_DROM_ENTRY_VADDR MMU_LL_END_DROM_ENTRY_VADDR is an int-typed constant on several targets, so logging it with PRIx32 (uint32_t) triggered -Werror=format=. Use the plain %x specifier which matches the int type. Closes https://github.com/espressif/esp-idf/issues/18857 --- components/bootloader_support/src/bootloader_utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bootloader_support/src/bootloader_utility.c b/components/bootloader_support/src/bootloader_utility.c index 1fae580e657..9a026a7d161 100644 --- a/components/bootloader_support/src/bootloader_utility.c +++ b/components/bootloader_support/src/bootloader_utility.c @@ -1084,7 +1084,7 @@ static void set_cache_and_start_app( } //we use the MMU_LL_END_DROM_ENTRY_ID mmu entry as a map page for app to find the boot partition mmu_hal_map_region(0, MMU_TARGET_FLASH0, MMU_DROM_END_ENTRY_VADDR_FROM_VAL(mmu_page_size), drom_addr_aligned, mmu_page_size, &actual_mapped_len); - ESP_EARLY_LOGV(TAG, "mapped one page of the rodata, from paddr=0x%08" PRIx32 " and vaddr=0x%08" PRIx32 ", 0x%" PRIx32 " bytes are mapped", drom_addr_aligned, MMU_LL_END_DROM_ENTRY_VADDR, actual_mapped_len); + ESP_EARLY_LOGV(TAG, "mapped one page of the rodata, from paddr=0x%08" PRIx32 " and vaddr=0x%08x, 0x%" PRIx32 " bytes are mapped", drom_addr_aligned, MMU_LL_END_DROM_ENTRY_VADDR, actual_mapped_len); #endif //-----------------------MAP IROM--------------------------