ld: fixed bootloader and app potential overlap issue

This commit is contained in:
Armando
2023-02-24 19:21:51 +08:00
parent 268a662e6c
commit 0fb0be3817
8 changed files with 37 additions and 8 deletions

View File

@@ -31,7 +31,7 @@
#define SRAM_DRAM_START 0x40800000
#define I_D_SRAM_OFFSET (SRAM_IRAM_START - SRAM_DRAM_START)
#define SRAM_DRAM_END 0x40880000 - I_D_SRAM_OFFSET /* 2nd stage bootloader iram_loader_seg start address */
#define SRAM_DRAM_END 0x4086E610 - I_D_SRAM_OFFSET /* 2nd stage bootloader iram_loader_seg start address */
#define SRAM_IRAM_ORG (SRAM_IRAM_START)
#define SRAM_DRAM_ORG (SRAM_DRAM_START)