summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYilin Sun <[email protected]>2024-02-06 16:11:29 +0800
committerMeco Man <[email protected]>2024-02-18 23:38:56 -0500
commit49c8ff25310a017ba0dcd37245c587327fab334b (patch)
treee508db64dca560f3ebb7d1a8dfb8f6e5a4d008f5
parent08983b74c5bb46053fbf76c8fd45c99603d61f9d (diff)
[bsp][nxp/mcxn10] GNU toolchain: fix broken port.
Details: Please check #8525 Signed-off-by: Yilin Sun <[email protected]>
-rw-r--r--bsp/nxp/mcxn/frdm-mcxn947/rtconfig.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/nxp/mcxn/frdm-mcxn947/rtconfig.py b/bsp/nxp/mcxn/frdm-mcxn947/rtconfig.py
index a8e3047aff..2996ef4956 100644
--- a/bsp/nxp/mcxn/frdm-mcxn947/rtconfig.py
+++ b/bsp/nxp/mcxn/frdm-mcxn947/rtconfig.py
@@ -44,10 +44,10 @@ if PLATFORM == 'gcc':
OBJCPY = PREFIX + 'objcopy'
STRIP = PREFIX + 'strip'
- DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
- CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT -eentry'
- AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb -D__START=entry'
- LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T board/linker_scripts/MCXN947_cm33_core0_flash.ld'
+ DEVICE = ' -mcpu=' + CPU + ' -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections'
+ CFLAGS = DEVICE + ' -Wall -D__FPU_PRESENT'
+ AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__START=entry -D__STARTUP_CLEAR_BSS'
+ LFLAGS = DEVICE + ' -specs=nano.specs -specs=nosys.specs -Wl,--defsym=__heap_size__=0x10000,--gc-sections,-Map=rtthread.map,--print-memory-usage -Tboard/linker_scripts/MCXN947_cm33_core0_flash.ld'
CPATH = ''
LPATH = ''