fixed some LTO issues

This commit is contained in:
2024-02-02 19:54:04 +01:00
parent 766a3f021c
commit 0a1d2bb9e8
3 changed files with 9 additions and 7 deletions

View File

@@ -43,12 +43,12 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
/* Specify the memory areas */
MEMORY
{
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
ITCMRAM (rw) : ORIGIN = 0x00000000, LENGTH = 64K
DTCMRAM (rw) : ORIGIN = 0x20000000, LENGTH = 128K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 320K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 32K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 16K
RAM_D1 (rw) : ORIGIN = 0x24000000, LENGTH = 320K
RAM_D2 (rw) : ORIGIN = 0x30000000, LENGTH = 32K
RAM_D3 (rw) : ORIGIN = 0x38000000, LENGTH = 16K
}
/* Define output sections */