diff options
| author | Yilin Sun <[email protected]> | 2025-02-20 11:44:21 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-02-20 20:39:34 +0800 |
| commit | a162815129a4b6662f7c3132b4b72ca499a46b6f (patch) | |
| tree | 52aabd8fb6d283de31140fd6dbc60531072cfb32 | |
| parent | ea31985b32c5b7a128adc55b0f4de7cca8ac41af (diff) | |
bsp: nxp/mcx/mcxa/frdm-mcxa156: Added FPU support.
MCXA156 series supports FPU and DSP, adding corresponding compiler
flags.
Signed-off-by: Yilin Sun <[email protected]>
| -rw-r--r-- | bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py b/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py index d33db80d7c..17f1c83ee6 100644 --- a/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py +++ b/bsp/nxp/mcx/mcxa/frdm-mcxa156/rtconfig.py @@ -44,8 +44,8 @@ if PLATFORM == 'gcc': OBJCPY = PREFIX + 'objcopy' STRIP = PREFIX + 'strip' - DEVICE = ' -mcpu=' + CPU + '+nodsp' + ' -mthumb -mfloat-abi=soft -ffunction-sections -fdata-sections' - CFLAGS = DEVICE + ' -Wall' + 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__=0x2000,--gc-sections,-Map=rtthread.map,--print-memory-usage -Tboard/linker_scripts/MCXA156_flash.ld' |
