chore: Use CMake way for linker options (#4396)

Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
Raphael Coeffic
2023-12-14 09:12:31 +10:00
committed by GitHub
co-authored by Richard Li
parent f10e5e879f
commit 42e245b1da
8 changed files with 76 additions and 43 deletions
@@ -12,8 +12,8 @@ BOOTLOADER_SIZE = 0x20000;
MIN_HEAP_SIZE = 4096K;
/* SDRAM definitions */
SDRAM_START = DEFINED(__SDRAM_START__) ? __SDRAM_START__ : 0xD0000000;
SDRAM_SIZE = DEFINED(__SDRAM_SIZE__) ? __SDRAM_SIZE__ : 8192K;
SDRAM_START = DEFINED(__sdram_start) ? __sdram_start : 0xD0000000;
SDRAM_SIZE = DEFINED(__sdram_size) ? __sdram_size : 8192K;
/* Highest heap address */
HEAP_ADDRESS = SDRAM_START + SDRAM_SIZE;