ESP32 Smartconfig
来自Jack's Lab
(版本间的差异)
(→Quick Start) |
(→Quick Start) |
||
| 第4行: | 第4行: | ||
== Quick Start == | == Quick Start == | ||
| + | |||
| + | In Linux: | ||
| + | |||
| + | === Install ESP-IDF === | ||
| + | |||
| + | <source lang=bash> | ||
| + | $ sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial | ||
| + | $ wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-59.tar.gz | ||
| + | $ mkdir -p toolchain | ||
| + | $ tar zxf xtensa-esp32-elf-linux32-1.22.0-59.tar.gz -C toolchain | ||
| + | $ export PATH=$PATH:`pwd`/toolchain/xtensa-esp32-elf/bin | ||
| + | $ | ||
| + | $ git clone --recursive git://github.com/icamgo/esp-idf.git | ||
| + | $ export IDF_PATH=`pwd`/esp-idf | ||
| + | </source> | ||
| + | |||
| + | <br><br> | ||
| + | |||
| + | === Compile & Upload === | ||
| + | |||
| + | <source lang=bash> | ||
| + | $ cd esp-idf/examples/07_smartconfig | ||
| + | $ make menuconfig | ||
| + | $ make flash | ||
| + | </source> | ||
<br><br> | <br><br> | ||
2016年11月15日 (二) 18:46的版本
目录 |
1 Overview
2 Quick Start
In Linux:
2.1 Install ESP-IDF
$ sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial $ wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-59.tar.gz $ mkdir -p toolchain $ tar zxf xtensa-esp32-elf-linux32-1.22.0-59.tar.gz -C toolchain $ export PATH=$PATH:`pwd`/toolchain/xtensa-esp32-elf/bin $ $ git clone --recursive git://github.com/icamgo/esp-idf.git $ export IDF_PATH=`pwd`/esp-idf
2.2 Compile & Upload
$ cd esp-idf/examples/07_smartconfig $ make menuconfig $ make flash
3 Reference
- For more information please refer to