Update config.mk

修改 arm-none-eabi 编译存放路径,由原来自己定义路径:/Downloads/gcc-arm-none-eabi-6-2017-q2-update/bin/,修改统一路径: /usr/bin/ 。
This commit is contained in:
ZhaoSQ 2021-10-25 19:48:07 +08:00
parent 54da6806eb
commit 7b4680bbd7
1 changed files with 1 additions and 1 deletions

View File

@ -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