nRF5 SDK for Mesh(三) Installing the mesh toolchain 安装编译工具链

摘要:
SEGGEREmbeddedStudio请参考SEGGER Embedded Studio网站的下载和安装说明。然而,nRF5SDK使用Python 3,而用于将固件映像传输到串行的nrutil工具需要Python 2.7。它可以用于Linux(64位)窗口的nRFx命令行工具和nRFx的命令行工具。基于CMake的设置CMake是一个构建管理系统,用于管理独立于编译器和构建系统的环境。必须安装以下工具:CMake工具链。支持的工具是arm-eabi-gcc工具链和armccv5工具链。armccv5的工具链也由Keil提供,并与KeiluVisionIDE捆绑。

To build the example applications, a toolchain based on either CMake or SEGGER Embedded Studio is required. Install instructions are provided for Windows and Debian/Ubuntu. The steps should be similar for other platforms.

SEGGER Embedded Studio

Please see the SEGGER Embedded Studio website for download and installation instructions.

Python

Python is not required to build the mesh stack and examples, but it is required when working with DFU, the Interactive PyACI, generating SEGGER Embedded Studio projects and when building documentation. The nRF5 SDK for Mesh uses Python 3,however, the nrfutil tool used for transferring firmware images over serial requires Python 2.7.

Development tools

For programming nRF5x devices, using nrfjprog is recommended. It is available in the nRFx Command Line Tools for Windows and nRFx Command Line Tools for Linux (64-bit).

CMake based setup

CMake is a build management system used for managing an environment that is independent of the compiler and build system used. Version 3.6 or above is required by the mesh stack.

The following tools must be installed:

Instructions for how to install these tools are provided for the following platforms:

If you want to build the documentation, make sure that the following tools are installed and available from the command line:

See the tools' websites for installation instructions.

安装网格工具链


  要构建示例应用程序,需要一个基于CMake或SEGGER嵌入式Studio的工具链。
  安装说明是为Windows和debian/ubuntu提供的。
  其他平台的步骤应该类似。

SEGGER Embedded Studio

  请参阅SEGGER嵌入式Studio网站下载和安装说明。

Python

  Python不需要构建网格栈和示例,但是在使用DFU、交互式PyACI、生成嵌入式Studio项目以及构建文档时需要它。
  但是,nRF5 SDK使用了Python 3,而用于将固件镜像传输到串行的nrfutil工具则需要Python 2.7。

开发工具

  对于nRF5x设备的编程,建议使用nrfjprog。
  它可以在nRFx命令行工具中使用,用于Linux(64位)的windows和nRFx命令行工具。

基于CMake的设置

  CMake是一个构建管理系统,用于管理一个独立于编译器和构建系统的环境。
  版本3.6或以上是网格堆栈需要的。

必须安装以下工具:

CMake
工具链。
支持的工具是arm-eabi-gcc工具链和armcc v5工具链。
armcc v5的工具链也由Keil提供,并与Keil uVision IDE捆绑在一起。
构建系统。
cbuild支持一系列的构建系统,例如忍者和制作。
以下平台提供了如何安装这些工具的说明:

窗户
Debian / Ubuntu
如果您想要构建文档,请确保以下工具已安装并可从命令行获得:

Doxygen
Graphviz
Mscgen
Python 3
请参阅工具的网站以获得安装说明。

第一步:安装下载HEX工具,即jlink的驱动包,下载地址: nRFx Command Line Tools for Windows .

第二步:安装Cmake工具:Download the latest installer from the CMake download site and follow the installation instructions.

我Windows7 64安装的是  下面截图 ,解压即可

nRF5 SDK for Mesh(三) Installing the mesh toolchain 安装编译工具链第1张

cmake-3.10.0-rc5-win64-x64incmake-gui.exe 双击打开即可。2017年11月13日14:09:27,suozhang.

nRF5 SDK for Mesh(三) Installing the mesh toolchain 安装编译工具链第2张

免责声明:文章转载自《nRF5 SDK for Mesh(三) Installing the mesh toolchain 安装编译工具链》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇Python Faker的使用(1):基础使用方法与函数速查,生成随机数据Centos7安装和配置Mysql5.7【转载】下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

Python数据挖掘-词云美化

1、语料库构建 由于不像之前是对很多个文件进行词频统计,所以不需要使用os.walk()方法遍历每一个文件; 只需使用codecs.open()打开相应的文件,(记得close); 然后使用jieba模块中的load_userdict()方法导入词库 importjieba importnumpy importcodecs importpandas fi...

03-cmake语法-变量,字符串

CMake的基本数据类型是字符串(不区分大小写),一组字符串在一起称为列表(list)。 条件判断中的取值情况如下表: 真 1, ON, YES, TRUE, Y, 非0的数 假 0, OFF, NO, FALSE, N, IGNORE, 空字符串,以“-NOTFOUND”结尾的字符串 变量显式定义 set(VAR a b c) # 输出 V...

python处理csv文件问题解决贴

实际工作中,碰到这么个问题:有个软件跑在linux系统上,其中用到一个数据库是csv格式的,但要向这个数据库添加600行新的数据,数据源同样是一个csv格式的文件。 有了目标,开始干活。首先想到的是,把linux系统上的数据表给down下来,用excel打开。想法很丰满,现实很骨感。悲催的是,excel的表单保存成csv格式的文件后,原来添加的改动全部没了...

Python模块struct 数据格式转换

Python是一门非常简洁的语言,对于数据类型的表示,不像其他语言预定义了许多类型(如:在C#中,光整型就定义了8种),它只定义了六种基本类型:字符串,整数,浮点数,元组,列表,字典。通过这六种数据类型,我们可以完成大部分工作。但当Python需要通过网络与其他的平台进行交互的时候,必须考虑到将这些数据类型与其他平台或语言之间的类型进行互相转换问题。打个比...

Python的插件化开发概述

Python的插件化开发概述 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任。 一.插件化开发 动态导入: 运行时,根据用户需求(提供字符串),找到模块的资源动态加载起来。 1>.内建函数“__import__() ” 1 #!/usr/bin/envpython 2 #_*_conding:utf-8_*_ 3 #@...

Android Studio项目导入aar包报错

最近在试着接入TrPay的sdk,根据它家文档需要导入它们的aar包(paysdk-release-1.2.2.aar)。 在AS中怎么给安卓项目导入aar包,网上搜一下就能看到无非也就下面三步: 1、把aar放到module里的libs目录下。新建安卓项目时,默认的模块名字是app,即放到app/libs/下。 2、在app的build.gradle中加...