Update target architecture and FPU settings for ARM toolchain

This commit is contained in:
2026-08-07 09:13:18 +03:00
parent 8267e2e4da
commit cc50788acd
5 changed files with 24 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
TOP=`pwd`
TARGET=arm-uclinuxfdpiceabi
CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb'
CFLAGS_TOOLSET='-O2'
CFLAGS_TARGET='-Os -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard'
CFLAGS=$CFLAGS_TOOLSET CFLAGS_FOR_TARGET=$CFLAGS_TARGET CXXFLAGS_FOR_TARGET=$CFLAGS_TARGET
SUBARCH=armv7-m
SUBMODE=thumb
SUBARCH=armv7e-m
SUBMODE=thumb
PATH=${TOP}/${TARGET}/bin:${PATH}