]> granicus.if.org Git - esp-idf/commit
bootloader: move iram_seg 1k up to have better looking idf_monitor output
authorIvan Grokhotkov <ivan@espressif.com>
Wed, 4 Jul 2018 04:33:11 +0000 (12:33 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Wed, 4 Jul 2018 04:33:11 +0000 (12:33 +0800)
commit5551b3f61628fc815293cb6e93d32bf2dfe6a141
treeb58cdc69eb0b96aa295c349b611b1279208f285e
parenta3c43251b4b37bc3ec105a10f2e1413b14420da3
bootloader: move iram_seg 1k up to have better looking idf_monitor output

When 2nd stage bootloader loads the ROM bootloader, it prints a
message similar to "entry 0x40080xxx", which idf_monitor decodes
(using application ELF file) as one of the reset vectors (xxx is <
400h). This moves the iram_seg of bootloader 1k up to prevent overlap
of bootloader .text and application vectors, making the output look
nicer. There is still a chance that the entry point decodes as some
symbol in application ELF file, but at least it won't have
"Exception" in its name.
components/bootloader/subproject/main/esp32.bootloader.ld