mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(bootloader): increased iram section length on C6/H2
Bootloader would fail to link if compiled with -O0
This commit is contained in:
parent
ece73357ca
commit
b958ac700f
@ -24,7 +24,7 @@ bootloader_usable_dram_end = 0x4087c610;
|
|||||||
bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startup stacks */
|
bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startup stacks */
|
||||||
bootloader_dram_seg_len = 0x5000;
|
bootloader_dram_seg_len = 0x5000;
|
||||||
bootloader_iram_loader_seg_len = 0x7000;
|
bootloader_iram_loader_seg_len = 0x7000;
|
||||||
bootloader_iram_seg_len = 0x2200;
|
bootloader_iram_seg_len = 0x2500;
|
||||||
|
|
||||||
/* Start of the lower region is determined by region size and the end of the higher region */
|
/* Start of the lower region is determined by region size and the end of the higher region */
|
||||||
bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
|
bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
|
||||||
|
@ -25,7 +25,7 @@ bootloader_usable_dram_end = 0x4084cfd0;
|
|||||||
bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startup stacks */
|
bootloader_stack_overhead = 0x2000; /* For safety margin between bootloader data section and startup stacks */
|
||||||
bootloader_dram_seg_len = 0x5000;
|
bootloader_dram_seg_len = 0x5000;
|
||||||
bootloader_iram_loader_seg_len = 0x7000;
|
bootloader_iram_loader_seg_len = 0x7000;
|
||||||
bootloader_iram_seg_len = 0x2000;
|
bootloader_iram_seg_len = 0x2500;
|
||||||
|
|
||||||
/* Start of the lower region is determined by region size and the end of the higher region */
|
/* Start of the lower region is determined by region size and the end of the higher region */
|
||||||
bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
|
bootloader_dram_seg_end = bootloader_usable_dram_end - bootloader_stack_overhead;
|
||||||
|
Loading…
Reference in New Issue
Block a user