mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add debug
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
[common]
|
[common]
|
||||||
; custom build flags
|
; 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 -DEMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\"
|
||||||
; my_build_flags = -DEMSESP_DEBUG_SENSOR
|
; 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 -DCORE_DEBUG_LEVEL=5 ; 5=verbose, 4=debug, 3=info
|
||||||
my_build_flags =
|
; my_build_flags = -DEMSESP_DEBUG
|
||||||
|
my_build_flags =
|
||||||
|
|
||||||
[env:esp32_4M]
|
[env:esp32_4M]
|
||||||
; if using OTA enter your details below
|
; if using OTA enter your details below
|
||||||
@@ -18,7 +18,8 @@ my_build_flags =
|
|||||||
; upload_port = ems-esp.local
|
; upload_port = ems-esp.local
|
||||||
; for USB use
|
; for USB use
|
||||||
upload_port = /dev/ttyUSB*
|
upload_port = /dev/ttyUSB*
|
||||||
; upload_port = COM3
|
platform = espressif32@5.2.0
|
||||||
|
; upload_port = COM5
|
||||||
|
|
||||||
extra_scripts =
|
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
|
||||||
@@ -37,7 +38,7 @@ extra_scripts =
|
|||||||
; options for debugging are: EMSESP_DEBUG EMSESP_UART_DEBUG EMSESP_DEBUG_SENSOR
|
; options for debugging are: EMSESP_DEBUG EMSESP_UART_DEBUG EMSESP_DEBUG_SENSOR
|
||||||
[env:debug]
|
[env:debug]
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
platform = espressif32@5.2.0
|
platform = espressif32
|
||||||
board_build.partitions = esp32_partition_debug.csv
|
board_build.partitions = esp32_partition_debug.csv
|
||||||
upload_protocol = esptool
|
upload_protocol = esptool
|
||||||
build_type = debug
|
build_type = debug
|
||||||
|
|||||||
Reference in New Issue
Block a user