User's Manual
WISE-1510 User Manual 23
Git - version 1.9.5 or later ( https://git-scm.com/ ).
Mercurial - version 2.2.2 or later ( https://www.mercurial-scm.org/ ).
If you don’t want to use repositories, you can just skip it.
3. Install gcc
mbed CLI invokes the mbed OS 5 tools for various features, such as compiling,
testing and exporting to industry standard toolchains. To compile your code, you will
need either a compiler or an IDE:
Compilers: GCC ARM, ARM Compiler 5, IAR.
IDE: Keil uVision, DS-5, IAR Workbench.
We select GCC ARM Embedded, so you can install version 4.9 of GCC ARM
Embedded ( https://launchpad.net/gcc-arm-embedded ).
Note: Version 5.0 or any other versions above may be incompatible with the tools.
4. Install mbed CLI
You can get the latest stable version of mbed CLI from PyPI
$ pip install mbed-cli
Note: On Linux or Mac, you may need to run with sudo.
Finally, you’ve to extract the source code to the working directory from the SDK we
released. The structure of the working directory is as below:
docs/ <-- Documents for SDK
loranode_L443_sdk_R1_0_02/mbed-os/ <-- mbed os
loranode_L443_sdk_R1_0_02/libHLLoraNode.a <-- Harmony Link Lora
Node library
loranode_L443_sdk_R1_0_02/node_api.h <-- Node API header file
loranode_L443_sdk_R1_0_02/main.cpp <-- Sample code
3.3. Configuration
After the installation of required tool chains, please set up the directory of mbed CLI to
link the folder of toolchains which you want to use for compiling the source tree.
You can set the GCC ARM Embedded location via the command as below:
$ mbed config --global GCC_ARM_PATH "C:\Program Files\GCC_ARM"
[mbed] C:\Program Files\GCC_ARM now set as global GCC_ARM_PATH