mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 07:13:34 +08:00
Tools: Ubuntu setup update arm-none-eabi-gcc to 9-2020-q2-update
This commit is contained in:
committed by
Nuno Marques
parent
22a7bf6ec7
commit
fe06eaf8d9
@@ -137,7 +137,8 @@ if [[ $INSTALL_NUTTX == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# arm-none-eabi-gcc
|
# arm-none-eabi-gcc
|
||||||
NUTTX_GCC_VERSION="7-2017-q4-major"
|
NUTTX_GCC_VERSION="9-2020-q2-update"
|
||||||
|
NUTTX_GCC_VERSION_SHORT="9-2020q2"
|
||||||
|
|
||||||
source $HOME/.profile # load changed path for the case the script is reran before relogin
|
source $HOME/.profile # load changed path for the case the script is reran before relogin
|
||||||
if [ $(which arm-none-eabi-gcc) ]; then
|
if [ $(which arm-none-eabi-gcc) ]; then
|
||||||
@@ -150,7 +151,7 @@ if [[ $INSTALL_NUTTX == "true" ]]; then
|
|||||||
|
|
||||||
else
|
else
|
||||||
echo "Installing arm-none-eabi-gcc-${NUTTX_GCC_VERSION}";
|
echo "Installing arm-none-eabi-gcc-${NUTTX_GCC_VERSION}";
|
||||||
wget -O /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 && \
|
wget -O /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/${NUTTX_GCC_VERSION_SHORT}/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-x86_64-linux.tar.bz2 && \
|
||||||
sudo tar -jxf /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 -C /opt/;
|
sudo tar -jxf /tmp/gcc-arm-none-eabi-${NUTTX_GCC_VERSION}-linux.tar.bz2 -C /opt/;
|
||||||
|
|
||||||
# add arm-none-eabi-gcc to user's PATH
|
# add arm-none-eabi-gcc to user's PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user