记录一下个人win10下,开发环境的配置。
pyhton下载页面
安装版本 | 安装包 | 环境变量名 | 环境变量地址(根据自己路径设置) |
---|---|---|---|
Python 3.8.6 | Windows x86-64 executable installer | Path | |
Python 3.11.1 | Windows installer (64-bit) | Path | D:\env\Python\Python311\ D:\env\Python\Python311\Scripts\ |
PYTHONIOENCODING | UTF8 |
安装库
pip3 install west
pip3 list
下载页面:Arm GNU Toolchain
安装版本 | 安装包 | 环境变量名 | 环境变量地址(根据自己路径设置) |
---|---|---|---|
8-2019-q3-update | gcc-arm-none-eabi-8-2019-q3-update-win32-sha1.exe | Path | |
10.3-2021.10 | gcc-arm-none-eabi-10.3-2021.10-win32.exe | Path | D:\env\Toolchain\arm-gcc\GNU Arm Embedded Toolchain\10 2021.10\bin |
下载页面:mingw64
安装版本 | 安装包 | 环境变量名 | 环境变量地址(根据自己路径设置) |
---|---|---|---|
MinGW-W64 GCC-8.1.0 | x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z | Path | D:\env\Toolchain\mingw64\x86_64-8.1.0-release-win32-seh-rt_v6-rev0\mingw64\bin |
为了方便以后在命令行执行make指令,而不是输入较长的"mingw32-make", 要把mingw32-make.exe 复制为make.exe.
下载页面:openocd
安装版本 | 安装包 | 环境变量名 | 环境变量地址(根据自己路径设置) |
---|---|---|---|
20201228 | openocd-20201228.7z | Path | |
20211118 | openocd-20211118.7z | Path | D:\env\Toolchain\openocd\OpenOCD-20211118-0.11.0\bin |
nRF Connect for Desktop
安装 Toolchain Manager
,设置环境变量Path
。
C:\ncs\toolchains\v2.1.2\bin
C:\ncs\toolchains\v2.1.2\mingw64\bin
C:\ncs\toolchains\v2.1.2\opt\bin
C:\ncs\toolchains\v2.2.0-rc1\opt\bin
C:\ncs\toolchains\v2.2.0-rc1\opt\zephyr-sdk\arm-zephyr-eabi\bin
C:\ncs\toolchains\v2.1.2\usr\bin
获取对应版本的代码,更新并获取所有依赖代码。
west init -m https://github.com/nrfconnect/sdk-nrf --mr v2.1.2
west update
导出cmake包
west zephyr-export
上一篇:操作系统的主要功能是什么
下一篇:通配符的应用