|
|
@@ -38,6 +38,10 @@ SECTIONS |
|
|
|
. = ALIGN(16); |
|
|
|
} > ITCM AT> FLASH |
|
|
|
|
|
|
|
.text.itcm.padding (NOLOAD) : { |
|
|
|
. = ALIGN(32768); |
|
|
|
} > ITCM |
|
|
|
|
|
|
|
.data : { |
|
|
|
*(.rodata*) |
|
|
|
*(.data*) |
|
|
@@ -70,7 +74,7 @@ SECTIONS |
|
|
|
_heap_start = ADDR(.bss.dma) + SIZEOF(.bss.dma); |
|
|
|
_heap_end = ORIGIN(RAM) + LENGTH(RAM); |
|
|
|
|
|
|
|
_itcm_block_count = (SIZEOF(.text.itcm) + 0x7FFE) >> 15; |
|
|
|
_itcm_block_count = (SIZEOF(.text.itcm) + 0x7FFF) >> 15; |
|
|
|
_flexram_bank_config = 0xAAAAAAAA | ((1 << (_itcm_block_count * 2)) - 1); |
|
|
|
_estack = ORIGIN(DTCM) + ((16 - _itcm_block_count) << 15); |
|
|
|
|