SAKURA Internet
/
SakuraIO_Standard
Sample program of SAKURA Internet IoT Communication Module
View the Github repository.
README.md@10:bef46c61188a, 2018-02-25 (annotated)
- Committer:
- chibiegg
- Date:
- Sun Feb 25 03:55:25 2018 +0900
- Revision:
- 10:bef46c61188a
Add readme for mbed-cli
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chibiegg |
10:bef46c61188a | 1 | # sakuraio-mbed-standard |
chibiegg |
10:bef46c61188a | 2 | |
chibiegg |
10:bef46c61188a | 3 | Hello World example code for sakura.io with Mbed. |
chibiegg |
10:bef46c61188a | 4 | |
chibiegg |
10:bef46c61188a | 5 | |
chibiegg |
10:bef46c61188a | 6 | ## Getting started |
chibiegg |
10:bef46c61188a | 7 | |
chibiegg |
10:bef46c61188a | 8 | |
chibiegg |
10:bef46c61188a | 9 | ### Install mbed-cli |
chibiegg |
10:bef46c61188a | 10 | |
chibiegg |
10:bef46c61188a | 11 | Please install [mbed-cli](https://github.com/ARMmbed/mbed-cli) . |
chibiegg |
10:bef46c61188a | 12 | |
chibiegg |
10:bef46c61188a | 13 | ```bash |
chibiegg |
10:bef46c61188a | 14 | pyenv install 2.7.11 |
chibiegg |
10:bef46c61188a | 15 | pyenv virtualenv mbed-cli 2.7.11 |
chibiegg |
10:bef46c61188a | 16 | pyenv activate mbed-cli |
chibiegg |
10:bef46c61188a | 17 | pip install mbed-cli |
chibiegg |
10:bef46c61188a | 18 | ``` |
chibiegg |
10:bef46c61188a | 19 | |
chibiegg |
10:bef46c61188a | 20 | ### Import and Compile |
chibiegg |
10:bef46c61188a | 21 | |
chibiegg |
10:bef46c61188a | 22 | ```bash |
chibiegg |
10:bef46c61188a | 23 | mbed import https://github.com/sakuraio/sakuraio-mbed-standard |
chibiegg |
10:bef46c61188a | 24 | cd sakuraio-mbed-standard |
chibiegg |
10:bef46c61188a | 25 | mbed compile -m NUCLEO_F401RE -t GCC_ARM |
chibiegg |
10:bef46c61188a | 26 | ``` |