아두이노 설정
보드매니저 URLs: https://dl.espressif.com/dl/package_esp32_index.json
Deploy to ESP32
The following instructions will help you build and deploy this sample to ESP323 devices using the ESP IDF.
The sample has been tested on ESP-IDF version 4.0 with the following devices:
- ESP32-DevKitC
- ESP-EYE
Install the ESP IDF
Follow the instaruction of the ESP-IDF get started guide to setup the toolchain and the ESP-IDF itself.
The next steps assume that the IDF environment variables are set:
- The IDF_PATH environment variable is set
- idf.py and Xtensa-esp32 tools(e.g. xtensa-esp32-elf-gcc) are in $PATH
Generate the examples
The example project can be generated with the following command:
>make -f tensorflow/lite/micro/tools/make/Makefile TAGET=esp generate_hello_world_esp_project
Building the example
Go to the example project directory
>cd tensorflow/lite/micro/tools/make/gen/esp_xtensa-esp32/pri/hello_world/esp-idf
Then build with idf.py
>idf.py build
Load and run the example
To flash (replace /dev/ttyUSB0 with the device serial port):
idf.py --port /dev/ttyUSB0 flash
Monitor the serial output:
idf.py --port /dev/ttyUSB0 monitor
Use Ctrl+] to exit
The previous two commands can be combined:
idf.py --port /dev/ttyUSB0 flash monitor
'프로세싱+아두이노+안드로이드' 카테고리의 다른 글
Moving Average Filter (Physical Computing) (0) | 2022.06.21 |
---|---|
ESP-IDF Programming Guide (0) | 2022.06.05 |
Laser Engraver Software Update for XY-Plotter V2.0&V2.02——BenBox 2.12.45 (0) | 2022.05.24 |
Benbox With Eleks Laser Engraver (GearBest /Banggood) (0) | 2022.05.24 |
Exact Scale Images for Laser Engraving (0) | 2022.05.24 |
댓글