![Advantech WISE-1540 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/advantech/wise-1540/wise-1540_user-manual_2856916021.webp)
WISE-1540 User Manual
20
3.
Development Environment Setup
3.1.
Overview
ARM mbed is used for you to create applications running on WISE-1540. Your
application code is written in C++. It uses the application programming interfaces
(APIs) that mbed OS provides. These APIs allow your code to work on different
microcontrollers in a uniform way. This reduces a lot of the challenges in getting
started with microcontrollers and integrating large amounts of software. Besides, we
also provide you node APIs which facilitates SmartMesh node development. Our
offline development tool is the mbed CLI, a command-line tool. This requires having a
toolchain installed on your computer. mbed CLI is the name of the ARM mbed
command-line tool, packaged as mbed-cli, which enables the full mbed workflow:
repositories version control, maintaining dependencies, publishing code, updating
from remotely hosted repositories and invoking ARM mbed’s own build system and
export functions, among other operations. The basic workflow for mbed CLI is to:
1. Initialize a new repository, for either a new application (or library) or an imported
one.
2. Build the application code.
3. Test your build.
4. Publish your application.
3.2.
Installation
To install mbed CLI, related tools are required to be installed first. Please refer to the
video tutorial. (
https://www.youtube.com/watch?v=cM0dFoTuU14 )
Please follow the steps described in the tutorial video to install mbed CLI.
1. Install Python
mbed CLI supports Windows, Linux and Mac OS X operating systems. You can select
the OS you prefer to work with.
mbed CLI is a Python script, so you’ll need Python to
use it. The version 2.7.11 of Python has been verified with mbed CLI.
https://www.python.org/downloads/release/python-2711/
Note: mbed CLI is incompatible with Python 3.
2. (Optional) Install Git or Mercurial
If you would like to maintain your source code in repositories, you can continue
with the next step. mbed CLI supports both Git and Mercurial repositories, you can
Содержание WISE-1540
Страница 1: ...User Manual WISE 1540 M2 COM Mesh Network IoT Node...
Страница 8: ...WISE 1540 User Manual 7...
Страница 29: ...WISE 1540 User Manual 28 Step03 User can see snapshot as below after begin execution...
Страница 31: ...WISE 1540 User Manual 30 Step02 Installation process Step03 Finish installation...
Страница 36: ...WISE 1540 User Manual 35 Step09 Boot from flash Press reset button and you can see snapshot like as below...