Skip to content

Commit

Permalink
[bsp][mcxa] FRDM-MCXA153: GNU toolchain: fixed flags.
Browse files Browse the repository at this point in the history
Signed-off-by: Yilin Sun <[email protected]>
  • Loading branch information
imi415 committed Feb 20, 2024
1 parent bc922b9 commit 19d81da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bsp/nxp/mcxa/frdm-mcxa153/rtconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
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 + '+nodsp' + ' -mthumb -mfloat-abi=soft -ffunction-sections -fdata-sections'
CFLAGS = DEVICE + ' -Wall'
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__=0x2000,--gc-sections,-Map=rtthread.map,--print-memory-usage -Tboard/linker_scripts/MCXA153_flash.ld'

CPATH = ''
LPATH = ''
Expand Down

0 comments on commit 19d81da

Please sign in to comment.