Getting Started with Noduino SDK on Windows
来自Jack's Lab
(版本间的差异)
(→概述) |
(→概述) |
||
第14行: | 第14行: | ||
* http://noduino.org/toolchain/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz | * http://noduino.org/toolchain/win32-xtensa-lx106-elf-gb404fb9-2.tar.gz | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == 尝试 Noduino SDK == | ||
+ | |||
+ | <source lang=bash> | ||
+ | # clone the whole sdk | ||
+ | $ git clone git://github.com/icamgo/noduino-sdk.git noduino-sdk | ||
+ | |||
+ | # fetch the toolchain of esp8266 | ||
+ | $ cd noduino-sdk | ||
+ | $ git submodule init | ||
+ | $ git submodule update | ||
+ | $ cd toolchain | ||
+ | $ ./gen.py | ||
+ | # generate the toolchain (you need Python 2.7) | ||
+ | </source> | ||
+ | |||
+ | 尝试点灯的例子 | ||
+ | |||
+ | <source lang=bash> | ||
+ | # try the first example | ||
+ | $ cd ../example/noduino/blink | ||
+ | |||
+ | # upload the example to dev board through serial | ||
+ | $ make flash | ||
+ | </source> | ||
+ | |||
+ | 上传完之后,你会很快看到板子靠近 USB 口的 LED 开始在慢闪(大概 2s 间隔) | ||
<br><br> | <br><br> |
2015年11月26日 (四) 16:29的版本
1 概述
Install python 2.7:
Install Git for windows:
Download the win32 toolchain:
2 尝试 Noduino SDK
# clone the whole sdk $ git clone git://github.com/icamgo/noduino-sdk.git noduino-sdk # fetch the toolchain of esp8266 $ cd noduino-sdk $ git submodule init $ git submodule update $ cd toolchain $ ./gen.py # generate the toolchain (you need Python 2.7)
尝试点灯的例子
# try the first example $ cd ../example/noduino/blink # upload the example to dev board through serial $ make flash
上传完之后,你会很快看到板子靠近 USB 口的 LED 开始在慢闪(大概 2s 间隔)
3 扩展阅读
产品级开发建议使用我们的专业 SDK:
- Getting Started with Noduino SDK on Linux
- Getting Started with Noduino SDK on Mac OS X
- Getting Started with Noduino SDK on Windows
学习、研究、创客可以尝试:
- Getting Started with Noduino on Linux
- Getting Started with Noduino on Mac OS X
- Getting Started with Noduino on Windows
- ESP8266 的各种问题参考: