mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
cleanup
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
; -DEMSESP_EN_ONLY ; only EN translated entity names
|
||||
; -DEMSESP_PINGTEST ; send log message every 1/2 second
|
||||
; my_build_flags = -DEMSESP_TEST
|
||||
my_build_flags = -DEMSESP_DEBUG -DEMSESP_TEST
|
||||
; my_build_flags = -DEMSESP_DEBUG -DEMSESP_TEST
|
||||
; my_build_flags = -DEMSESP_DEBUG -DEMSESP_TEST -DEMSESP_PINGTEST
|
||||
|
||||
[platformio]
|
||||
@@ -26,18 +26,20 @@ default_envs = esp32_4M
|
||||
[env]
|
||||
; upload settings
|
||||
; for USB
|
||||
upload_protocol = esptool
|
||||
upload_port = /dev/ttyUSB*
|
||||
; upload_protocol = esptool
|
||||
; upload_port = /dev/ttyUSB*
|
||||
; for OTA
|
||||
; upload_protocol = custom
|
||||
upload_protocol = custom
|
||||
custom_emsesp_ip = 10.10.10.173
|
||||
; custom_emsesp_ip = ems-esp.local
|
||||
custom_username = admin
|
||||
custom_password = admin
|
||||
; uncomment this next line if using the github repo
|
||||
; use with
|
||||
; example below is using a locally built version of EMS-ESP-Modules. You can also test with:
|
||||
; rm -rf .pio/libdeps/native/EMS-ESP-Modules; pio run -e native -t clean; pio run -e native -t exec
|
||||
lib_deps = file://../../modules/EMS-ESP-Modules
|
||||
lib_deps =
|
||||
file://../../modules/EMS-ESP-Modules
|
||||
bblanchon/ArduinoJson@^7.0.4
|
||||
https://github.com/mathieucarbou/AsyncTCP.git ; based on ESPHome
|
||||
|
||||
[env:native]
|
||||
extra_scripts =
|
||||
@@ -46,13 +48,13 @@ extra_scripts =
|
||||
|
||||
[env:esp32_4M]
|
||||
extra_scripts =
|
||||
; pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||
pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||
scripts/rename_fw.py
|
||||
scripts/upload.py
|
||||
|
||||
[env:lolin_s3]
|
||||
extra_scripts =
|
||||
pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||
; pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||
scripts/rename_fw.py
|
||||
scripts/upload.py
|
||||
|
||||
@@ -82,8 +84,6 @@ build_flags =
|
||||
-D ONEWIRE_CRC16=0
|
||||
-D NO_GLOBAL_ARDUINOOTA
|
||||
-D ARDUINOJSON_ENABLE_STD_STRING=1
|
||||
-D ARDUINOJSON_USE_DOUBLE=0
|
||||
; -D ARDUINOTRACE_ENABLE=1
|
||||
-D TASMOTA_SDK
|
||||
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_WARN
|
||||
-D EMSESP_TEST
|
||||
|
||||
Reference in New Issue
Block a user