From e03452bdaff4a76f7b07f1795edfe987bde9e8d0 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Sun, 09 Oct 2022 21:17:37 +0800 Subject: [PATCH] update cross compiler to gcc-arm-10.3-2021.07 --- bsp/drivers/users/Makefile | 2 +- tools/setup_tools.sh | 4 ++-- bsp/scripts/setup_env.sh | 2 +- bsp/build.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bsp/build.sh b/bsp/build.sh index b84878f..1da93f8 100755 --- a/bsp/build.sh +++ b/bsp/build.sh @@ -7,7 +7,7 @@ # BSP_VER should be lf-5.10.52-2.1.0, lf-5.15.32-2.0.0 BSP_VER=lf-5.15.32-2.0.0 -CROSS_TOOL=/opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- +CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- # SYSTEM should be: buildroot, debian, yocto # DISTRO should be: v2021.02, bullseye, hardknott/honister/kirkstone diff --git a/bsp/drivers/users/Makefile b/bsp/drivers/users/Makefile index 964025c..f26704a 100644 --- a/bsp/drivers/users/Makefile +++ b/bsp/drivers/users/Makefile @@ -11,7 +11,7 @@ # #********************************************************************************/ -CROSS_COMPILE ?= /opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- +CROSS_COMPILE ?= /opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- LINUX_SRC = ${shell pwd}/../../kernel/linux-imx/ DRV_PATH ?= ${shell pwd}/../../images/drivers/ diff --git a/bsp/scripts/setup_env.sh b/bsp/scripts/setup_env.sh index fd4acf5..f95f044 100755 --- a/bsp/scripts/setup_env.sh +++ b/bsp/scripts/setup_env.sh @@ -5,7 +5,7 @@ # update by top build.sh BOARD=igkboard -CROSS_TOOL=/opt/gcc-arm-11.2-2022.02/bin/arm-none-linux-gnueabihf- +CROSS_TOOL=/opt/gcc-arm-10.3-2021.07/bin/arm-none-linux-gnueabihf- # Source code download address SRV_URL=http://weike-iot.com:2211 diff --git a/tools/setup_tools.sh b/tools/setup_tools.sh index 8c80b6a..02cb804 100755 --- a/tools/setup_tools.sh +++ b/tools/setup_tools.sh @@ -108,10 +108,10 @@ # https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads function install_crosstool() { - ARMTOOL_VER=11.2-2022.02 + ARMTOOL_VER=10.3-2021.07 ARMTOOL_NAME=gcc-arm-$ARMTOOL_VER ARMTOOL_PACK=${ARMTOOL_NAME}-`uname -p`-arm-none-linux-gnueabihf - ARMTOOL_URL=https://developer.arm.com/-/media/Files/downloads/gnu/$ARMTOOL_VER/binrel/ + ARMTOOL_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/$ARMTOOL_VER/binrel/ if [ -d /opt/$ARMTOOL_NAME ] ; then pr_info "$ARMTOOL_NAME crosstool already installed, skip it" -- Gitblit v1.9.1