From 7b4680bbd71b26b305de785a361bc18d1d15b36b Mon Sep 17 00:00:00 2001 From: ZhaoSQ <1044239768@qq.com> Date: Mon, 25 Oct 2021 19:48:07 +0800 Subject: [PATCH] Update config.mk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 arm-none-eabi 编译存放路径,由原来自己定义路径:/Downloads/gcc-arm-none-eabi-6-2017-q2-update/bin/,修改统一路径: /usr/bin/ 。 --- Ubiquitous/XiUOS/board/cortex-m4-emulator/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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