stm32 ninja+cmake和make环境安装

配置ninja+CMake+GCC环境

ninja+cmake+GCC编译环境:

Install the following tools:

* [CMake](https://cmake.org/download/) version 3.0 or later
* [GCC compilers for arm-none-eabi](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads)
* [Ninja](https://ninja-build.org/)

windows10系统注意:
1、Cmake需要添加至系统环境变量path
2、GCC编译器 添加至用户变量path
3、ninja 工具需要添加至系统环境变量path
4、需要安装Visual studio 工具包(建议安装)

make+GCC编译环境:

参考地址:https://www.cnblogs.com/birdBull/p/11574368.html

1  安装gcc编译器
能编译ARM Cortex M核的GCC编译器下载地址为:https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
注意:安装完毕后需要将“Add path to environment variable”勾选上。

2、由于windows环境下没有make环境,所以我们还需要安装一个make工具,Make 工具用于 build 工程, 使用 Makefile 编译工程。 版本:gnu-mcu-eclipse-build-tools-2.9-20170629-1013-win64-setup.exe

下载地址:https://github.com/gnu-mcu-eclipse/windows-build-tools/releases/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值