fix(heap): Update the heap memory layout on esp32p4 target

- fix the value of SOC_ROM_STACK_START in soc.h
- Update the memory usage of ROM bootloader appendix in bootloader.ld
- Update the soc_memory_regions table to minimize the number of regions
  created after the startup stack is added back as a heap.
This commit is contained in:
Guillaume Souchere
2023-10-26 09:41:53 +02:00
parent 365123dfaa
commit fd2b8b5eb3
4 changed files with 26 additions and 28 deletions

View File

@@ -225,7 +225,7 @@
#define SOC_DEBUG_HIGH 0x28000000
// Start (highest address) of ROM boot stack, only relevant during early boot
#define SOC_ROM_STACK_START 0x4ff5abd0
#define SOC_ROM_STACK_START 0x4ff3cfc0
#define SOC_ROM_STACK_SIZE 0x2000
//On RISC-V CPUs, the interrupt sources are all external interrupts, whose type, source and priority are configured by SW.