mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update example with ESP32 core debug levels
This commit is contained in:
@@ -7,13 +7,16 @@
|
||||
; my_build_flags = -DEMSESP_DEBUG -DEMSESP_DEFAULT_BOARD_PROFILE=\"NODEMCU\"
|
||||
my_build_flags =
|
||||
|
||||
; 5=verbose, 4=debug, 3=info
|
||||
debug_flags = DCORE_DEBUG_LEVEL=5
|
||||
|
||||
[env:esp32]
|
||||
; if using OTA enter your details below
|
||||
; upload_protocol = espota
|
||||
; upload_flags =
|
||||
; --port=8266
|
||||
; --auth=ems-esp-neo
|
||||
; upload_port = 10.10.10.101
|
||||
upload_protocol = espota
|
||||
upload_flags =
|
||||
--port=8266
|
||||
--auth=ems-esp-neo
|
||||
upload_port = ems-esp.local
|
||||
|
||||
extra_scripts = scripts/rename_fw.py ; don't build WebUI just firmware
|
||||
|
||||
@@ -30,4 +33,4 @@ monitor_filters = esp32_exception_decoder
|
||||
debug_tool = esp-prog
|
||||
debug_init_break = tbreak setup
|
||||
build_flags = ${factory_settings.build_flags} ${common.debug_flags} -DONEWIRE_CRC16=0 -DNO_GLOBAL_ARDUINOOTA -DARDUINOJSON_ENABLE_STD_STRING=1 -DESP32=1 -DARDUINO_ARCH_ESP32=1
|
||||
extra_scripts = pre:scripts/build_interface.py
|
||||
extra_scripts = pre:scripts/build_interface.py
|
||||
|
||||
Reference in New Issue
Block a user