e117c56ba418682c4596b1afce6da38cab208c05
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-SDK-dat.md
| ... | ... | @@ -15,6 +15,10 @@ |
| 15 | 15 | |
| 16 | 16 | |
| 17 | 17 | |
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 18 | 22 | ## ref |
| 19 | 23 | |
| 20 | 24 | - [[ESP32-dat]] - [[ESP32-HDK-dat]] |
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-debug-log-dat/ESP32-debug-log-dat.md
| ... | ... | @@ -0,0 +1,8 @@ |
| 1 | + |
|
| 2 | +# ESP32-debug-log-dat |
|
| 3 | + |
|
| 4 | +## common error |
|
| 5 | + |
|
| 6 | +Sketch too big |
|
| 7 | + |
|
| 8 | +arduino-cli compile --fqbn esp32:esp32:esp32:PartitionScheme=min_spiffs . |
|
| ... | ... | \ No newline at end of file |
SDK-dat/arduino-dat/arduino-cli-dat/arduino-cli-dat.md
| ... | ... | @@ -1,6 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # arduino-cli-dat |
| 3 | 3 | |
| 4 | +- [[esp32-sdk-dat]] |
|
| 5 | + |
|
| 4 | 6 | |
| 5 | 7 | https://github.com/arduino/arduino-cli |
| 6 | 8 | |
| ... | ... | @@ -24,8 +26,17 @@ Create a configuration file and a new sketch: |
| 24 | 26 | $ arduino-cli sketch new MyFirstSketch |
| 25 | 27 | Sketch created in: /home/luca/MyFirstSketch |
| 26 | 28 | |
| 29 | +## work flow |
|
| 30 | + |
|
| 31 | +- Search library for example - arduino-cli lib search TimeLib |
|
| 32 | +- Install library - arduino-cli lib install "ArduinoJson" "Time" "ESP32 HUB75 LED MATRIX PANEL DMA Display" "Adafruit GFX Library" "SimpleDHT" |
|
| 33 | +- CD into sketch folder - cd MyFirstSketch |
|
| 34 | +- compile arduino-cli compile --fqbn esp32:esp32:esp32 . |
|
| 35 | + |
|
| 36 | + |
|
| 37 | + |
|
| 27 | 38 | |
| 28 | -install boards |
|
| 39 | +## install boards |
|
| 29 | 40 | |
| 30 | 41 | arduino-cli board list |
| 31 | 42 | |
| ... | ... | @@ -80,6 +91,10 @@ search and udpate |
| 80 | 91 | |
| 81 | 92 | arduino-cli compile --fqbn esp8266:esp8266:generic PingPong |
| 82 | 93 | |
| 94 | + arduino-cli compile --fqbn esp32:esp32:esp32 . |
|
| 95 | + |
|
| 96 | + arduino-cli compile --fqbn esp32:esp32:esp32:PartitionScheme=huge_app . |
|
| 97 | + |
|
| 83 | 98 | arduino-cli compile --fqbn esp32:esp32:lilygo_t_display esp8266-PingPong |
| 84 | 99 | |
| 85 | 100 | arduino-cli compile --fqbn esp8266:esp8266 esp8266-PingPong |
| ... | ... | @@ -99,6 +114,10 @@ compile for esp32 dev module |
| 99 | 114 | |
| 100 | 115 | esptool erase-flash |
| 101 | 116 | |
| 117 | + arduino-cli upload -p COM21 --fqbn esp32:esp32:esp32 --verbose --upload-field speed=921600 . |
|
| 118 | + |
|
| 119 | + # --upload-field speed=921600 (fastest) |
|
| 120 | + |
|
| 102 | 121 | arduino-cli upload -p COM8 --fqbn esp8266:esp8266:generic --verbose PingPong |
| 103 | 122 | |
| 104 | 123 | arduino-cli upload -p COM8 --fqbn esp32:esp32:esp32 --verbose rtos-cam-web-2 |