慎微 发表于 2019-8-2 19:44:45

Ubuntu 18.04 安装 STM32开发环境gcc-arm最新版本

本论坛已有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
$ cdlibrary

$ 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)
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/forum/forum.php?mod=viewthread&tid=603753&highlight=STM32%2Bubuntu


慎微 发表于 2019-8-2 19:46:31

参考文章:
How to install the ARM toolchain?
http://gnu-mcu-eclipse.github.io/toolchain/arm/install/
页: [1]
查看完整版本: Ubuntu 18.04 安装 STM32开发环境gcc-arm最新版本