45 lines
1.2 KiB
INI
45 lines
1.2 KiB
INI
[env:esp32doit-devkit-v1]
|
|
platform = espressif32 @ 6.4.0
|
|
board = esp32doit-devkit-v1
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
monitor_speed = 115200
|
|
|
|
lib_deps =
|
|
me-no-dev/AsyncTCP @ ^1.1.1
|
|
ottowinter/ESPAsyncWebServer-esphome @ ^3.4.0
|
|
bblanchon/ArduinoJson @ ^7.4.2
|
|
adafruit/RTClib @ ^2.1.4
|
|
DFRobotDFPlayerMini @ ^1.0.6
|
|
ESPmDNS
|
|
LittleFS
|
|
Wire
|
|
OneButton
|
|
|
|
[env:esp32doit-devkit-v1-ota]
|
|
platform = espressif32 @ 6.4.0
|
|
board = esp32doit-devkit-v1
|
|
framework = arduino
|
|
board_build.filesystem = littlefs
|
|
monitor_speed = 115200
|
|
upload_protocol = espota
|
|
upload_flags =
|
|
--auth=sekolah123
|
|
; Set upload_port to your device's hostname, e.g., bel-sekolah-xxxx.local
|
|
; Example: upload_port = bel-sekolah-1234.local
|
|
; Uncomment and replace with your actual device hostname
|
|
upload_port = 192.168.4.1
|
|
;pio run -e esp32doit-devkit-v1-ota --target uploadfs
|
|
;pio run -e esp32doit-devkit-v1-ota --target upload
|
|
|
|
lib_deps =
|
|
me-no-dev/AsyncTCP @ ^1.1.1
|
|
ottowinter/ESPAsyncWebServer-esphome @ ^3.4.0
|
|
bblanchon/ArduinoJson @ ^7.4.2
|
|
adafruit/RTClib @ ^2.1.4
|
|
DFRobotDFPlayerMini @ ^1.0.6
|
|
ESPmDNS
|
|
LittleFS
|
|
Wire
|
|
OneButton
|