diff --git a/Ubiquitous/XiUOS/board/cortex-m4-emulator/config.mk b/Ubiquitous/XiUOS/board/cortex-m4-emulator/config.mk index d1e748116..03d25ec02 100644 --- a/Ubiquitous/XiUOS/board/cortex-m4-emulator/config.mk +++ b/Ubiquitous/XiUOS/board/cortex-m4-emulator/config.mk @@ -1,4 +1,4 @@ -export CROSS_COMPILE ?=~/Downloads/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-#/usr/bin/arm-none-eabi-# +export CROSS_COMPILE ?=/usr/bin/arm-none-eabi- # arm-none-eabi 编译存放路径 export CFLAGS := -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -Dgcc -O0 -gdwarf-2 -g -fgnu89-inline -Wa,-mimplicit-it=thumb -Werror export AFLAGS := -c -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections -x assembler-with-cpp -Wa,-mimplicit-it=thumb -gdwarf-2