本论坛已有QianFan精华帖,本文分享在Ubuntu 18.04 LTS 安装 STM32开发环境gcc-arm最新版本 1.最新版本gcc-arm-none-eabi的获取地址:http://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads 当然选Linux 64-bit 下载 啦;我下载的是:gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 2 解压到新建目录 /library $ mkdir /library $ cd library $ tar xjf ~/Downloads/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 $ ls -a 看看library是否 含有目录 gcc-arm-none-eabi-8-2019-q3-update $chmod -R -w gcc-arm-none-eabi-8-2019-q3-update 3 看看版本是否好的: $gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gcc --version 显示结果: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027] Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ubuntu下使用Makefile开发STM32(合集) https://www.stmcu.org.cn/module/ ... ight=STM32%2Bubuntu |
How to install the ARM toolchain?
http://gnu-mcu-eclipse.github.io/toolchain/arm/install/