Fix compilation for use as IDF component (#5265)

This commit is contained in:
Me No Dev
2021-06-09 12:56:12 +03:00
committed by GitHub
parent 90fc68d83f
commit 7f87d0fc3a
16 changed files with 29 additions and 21 deletions

View File

@ -18,9 +18,9 @@ For a simplified method, see [lib-builder](lib_builder.md)
cd arduino && \
git submodule update --init --recursive && \
cd ../.. && \
make menuconfig
idf.py menuconfig
```
- ```make menuconfig``` has some Arduino options
- ```idf.py menuconfig``` has some Arduino options
- "Autostart Arduino setup and loop on boot"
- If you enable this options, your main.cpp should be formated like any other sketch
@ -60,7 +60,7 @@ For a simplified method, see [lib-builder](lib_builder.md)
- "Autoconnect WiFi on boot"
- If enabled, WiFi will start with the last known configuration
- Else it will wait for WiFi.begin
- ```make flash monitor``` will build, upload and open serial monitor to your board
- ```idf.py -p <your-board-serial-port> flash monitor``` will build, upload and open serial monitor to your board
## Logging To Serial