mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
add debug
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
[common]
|
||||
; custom build flags
|
||||
; options are: EMSESP_DEBUG, EMSESP_UART_DEBUG, EMSESP_DEBUG_SENSOR, EMSESP_WIFI_TWEAK, EMSESP_DEFAULT_BOARD_PROFILE EMSESP_DEBUG_LIMITED
|
||||
; options are: EMSESP_DEBUG, EMSESP_UART_DEBUG, EMSESP_DEBUG_SENSOR, EMSESP_WIFI_TWEAK, EMSESP_DEFAULT_BOARD_PROFILE
|
||||
; my_build_flags = -DEMSESP_DEBUG -DEMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\"
|
||||
; my_build_flags = -DEMSESP_DEBUG_SENSOR
|
||||
; my_build_flags = -DEMSESP_DEBUG
|
||||
; my_build_flags = -DEMSESP_DEBUG -DCORE_DEBUG_LEVEL=5 ; 5=verbose, 4=debug, 3=info
|
||||
; my_build_flags = -DEMSESP_DEBUG
|
||||
my_build_flags =
|
||||
|
||||
[env:esp32_4M]
|
||||
@@ -18,7 +18,8 @@ my_build_flags =
|
||||
; upload_port = ems-esp.local
|
||||
; for USB use
|
||||
upload_port = /dev/ttyUSB*
|
||||
; upload_port = COM3
|
||||
platform = espressif32@5.2.0
|
||||
; upload_port = COM5
|
||||
|
||||
extra_scripts =
|
||||
; pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||
@@ -37,7 +38,7 @@ extra_scripts =
|
||||
; options for debugging are: EMSESP_DEBUG EMSESP_UART_DEBUG EMSESP_DEBUG_SENSOR
|
||||
[env:debug]
|
||||
board = esp32dev
|
||||
platform = espressif32@5.2.0
|
||||
platform = espressif32
|
||||
board_build.partitions = esp32_partition_debug.csv
|
||||
upload_protocol = esptool
|
||||
build_type = debug
|
||||
|
||||
Reference in New Issue
Block a user