mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-10-28 11:14:58 +00:00
show recovery app in Version page
This commit is contained in:
+51
-22
@@ -2,36 +2,46 @@
|
||||
|
||||
[common]
|
||||
; custom build flags to use in my_build_flags
|
||||
; -DEMSESP_UART_DEBUG ; debugging UART
|
||||
; -DEMSESP_DEBUG ; enables DEBUG to the log. Will generate a lot of extra traffic on Console and Syslog
|
||||
; -DEMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\" ; hard code the default board name
|
||||
; -DEMSESP_DEBUG_SENSOR ; additional debug for the sensors
|
||||
; -DCORE_DEBUG_LEVEL=5 ; verbose core level debugging 5=verbose, 4=debug, 3=info
|
||||
; -DEMSESP_TEST ; enable the tests. EN language only
|
||||
; -DEMSESP_DE_ONLY ; only DE translated entity names
|
||||
; -DEMSESP_EN_ONLY ; only EN translated entity names
|
||||
; -DEMSESP_PINGTEST ; send log message every 1/2 second
|
||||
; -D EMSESP_UART_DEBUG ; debugging UART
|
||||
; -D EMSESP_DEBUG ; enables DEBUG to the log. Will generate a lot of extra traffic on Console and Syslog
|
||||
; -D EMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\" ; hard code the default board name
|
||||
; -D EMSESP_DEBUG_SENSOR ; additional debug for the sensors
|
||||
; -D CORE_DEBUG_LEVEL=5 ; verbose core level debugging 5=verbose, 4=debug, 3=info
|
||||
; -D EMSESP_TEST ; enable the tests. EN language only
|
||||
; -D EMSESP_DE_ONLY ; only DE translated entity names
|
||||
; -D EMSESP_EN_ONLY ; only EN translated entity names
|
||||
; -D EMSESP_PINGTEST ; send log message every 1/2 second
|
||||
; -D EMSESP_GATEWAY_TX_HOLD ; hold Tx while a K30RF/KM200 gateway is syncing, see issue #3094
|
||||
; -D EMSESP_TX_PRE_DELAY=1000 ; wait this many us before each Tx so we don't overlap the master's break, see issue #3094
|
||||
|
||||
; my_build_flags = -DEMSESP_TEST -DEMSESP_DEBUG
|
||||
; my_build_flags = -DEMSESP_DEBUG -DEMSESP_TEST -DEMSESP_PINGTEST
|
||||
; my_build_flags = -DEMSESP_DEBUG -DCORE_DEBUG_LEVEL=5
|
||||
; my_build_flags = -DEMSESP_EN_ONLY -DEMSESP_TEST -DCORE_DEBUG_LEVEL=5 -DARDUINO_USB_CDC_ON_BOOT=1
|
||||
my_build_flags =
|
||||
; my_build_flags = -DEMSESP_EN_ONLY
|
||||
; my_build_flags = -D EMSESP_GATEWAY_TX_HOLD -D EMSESP_TX_PRE_DELAY=1000
|
||||
my_build_flags = -DEMSESP_DEBUG
|
||||
; my_build_flags =
|
||||
|
||||
[platformio]
|
||||
default_envs = s_16M_P ; BBQKees E32V2
|
||||
; default_envs = build-webUI ; build the web interface only
|
||||
; default_envs = s3_16M_P ; BBQKees S3
|
||||
; default_envs = s_4M ; BBQKees older S32, 4MB no psram
|
||||
; default_envs = s_16M ; BBQKees newer S32 V2, 16MB no psram
|
||||
; default_envs = c6 ; XIAO ESP32C
|
||||
; default_envs = debug
|
||||
default_envs = s_16M_P, recovery_s_16M_P, build-recovery, build-webUI
|
||||
; default_envs = s_16M_P ; BBQKees E32V2
|
||||
; default_envs = s_16M_P_custom ; BBQKees E32V2 with custom Arduino/IDF libs
|
||||
; default_envs = recovery_s_16M_P ; recovery firmware
|
||||
; default_envs = crashtest_s_16M_P ; crash test
|
||||
; default_envs = build-webUI ; build the main ems-esp webUI only
|
||||
; default_envs = build-recovery ; build the recovery WebUI only
|
||||
; default_envs = s3_16M_P ; BBQKees S3 firmware
|
||||
; default_envs = s_4M ; firmware forBBQKees older S32, 4MB no psram
|
||||
; default_envs = s_16M ; firmware for BBQKees newer S32 V2, 16MB no psram
|
||||
; default_envs = c6 ; firmware for XIAO ESP32C
|
||||
; default_envs = debug ; see below
|
||||
|
||||
[env]
|
||||
|
||||
; uncomment if you want to upload the firmware via OTA (must have upload_protocol = custom)
|
||||
extra_scripts =
|
||||
pre:scripts/build_interface.py ; builds the WebUI
|
||||
scripts/rename_fw.py ; renames the firmware .bin file - comment out if not needed
|
||||
post:scripts/rename_fw.py ; renames the firmware .bin file
|
||||
scripts/upload.py ; optionally upload the firmware via OTA (must have upload_protocol = custom)
|
||||
|
||||
; set the username and password for the admin account (default password is admin)
|
||||
@@ -40,13 +50,33 @@ custom_password = admin
|
||||
|
||||
; ** upload settings **
|
||||
; for direct USB, which is the default you can set an optional port for example:
|
||||
; upload_port = /dev/ttyUSB0 or COM3
|
||||
; upload_speed = 921600
|
||||
; upload_port = /dev/ttyUSB0
|
||||
; upload_port = /dev/ttyACM0
|
||||
|
||||
; CH340G bridge tops out here reliably; drop back to 460800 if uploads fail
|
||||
; 2000000 is the max speed for the CH340G bridge
|
||||
upload_speed = 921600
|
||||
|
||||
; for direct via HTTP (OTA) set:
|
||||
; upload_protocol = custom
|
||||
; custom_emsesp_ip = <ip address> or ems-esp.local
|
||||
|
||||
upload_protocol = custom
|
||||
|
||||
custom_emsesp_ip = ems-esp.local ; E32V2.2 (test)
|
||||
; custom_emsesp_ip = ems-espP.local ; E32V2.2 (prod)
|
||||
; custom_emsesp_ip = ems-esps32.local ; S32, 4MB no psramS32
|
||||
; custom_emsesp_ip = ems-espS3.local ; ems-espS3
|
||||
|
||||
; lib_deps =
|
||||
; bblanchon/ArduinoJson @ 7.4.3
|
||||
; ESP32Async/AsyncTCP @ 3.4.10
|
||||
; ESP32Async/ESPAsyncWebServer @ 3.11.0
|
||||
; https://github.com/mobizt/ReadyMail.git @ 0.4.0
|
||||
; https://github.com/mobizt/ESP_SSLClient.git @ 3.1.3
|
||||
; https://github.com/emsesp/EMS-ESP-Modules.git @ 1.0.8
|
||||
; ; file://${PROJECT_DIR}/../modules/EMS-ESP-Modules
|
||||
|
||||
; ** debug settings **
|
||||
; to be used with an ESP32-S3 which has an onboard JTAG, connect the OTG USB port to the PC
|
||||
; if using an external JTAG board like the ESP-PROG set debug_tool = esp-prog, and use zadig to set the correct driver for the USB port
|
||||
@@ -69,4 +99,3 @@ debug_init_break =
|
||||
upload_speed = 2000000
|
||||
monitor_speed = 115200
|
||||
extra_scripts =
|
||||
; debug_build_flags = -Og -g2 -ggdb2
|
||||
Reference in New Issue
Block a user