mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-20 01:06:31 +00:00
Update OCD and debug env
This commit is contained in:
parent
4be7b3d073
commit
4b1bd7767e
@ -84,6 +84,9 @@ lib_ignore = ESP8266Audio
|
||||
[env:tasmota-debug]
|
||||
build_type = debug
|
||||
build_unflags = ${env.build_unflags}
|
||||
check_tool = cppcheck
|
||||
;clangtidy
|
||||
check_skip_packages = yes
|
||||
build_flags = ${env.build_flags}
|
||||
; -Wstack-usage=300
|
||||
|
||||
@ -92,14 +95,20 @@ extends = env:tasmota32_base
|
||||
build_type = debug
|
||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
check_tool = cppcheck
|
||||
;clangtidy
|
||||
check_skip_packages = yes
|
||||
monitor_filters = esp32_exception_decoder
|
||||
; -Wstack-usage=300
|
||||
|
||||
|
||||
; *** JTAG Debug version, needs esp-prog or FT2232H or FT232H
|
||||
; *** Install howto for Windows https://community.platformio.org/t/esp32-pio-unified-debugger/4541/20
|
||||
|
||||
[env:tasmota32-ocd]
|
||||
build_type = debug
|
||||
extends = env:tasmota32_base
|
||||
board = esp32_4M
|
||||
debug_tool = esp-prog
|
||||
upload_protocol = esp-prog
|
||||
debug_init_break = tbreak setup
|
||||
@ -107,7 +116,6 @@ build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
; *** JTAG Debug version, needs esp-prog or FT2232H or FT232H
|
||||
[env:tasmota32solo1-ocd]
|
||||
build_type = debug
|
||||
extends = env:tasmota32solo1
|
||||
@ -115,4 +123,41 @@ board = esp32_solo1_4M
|
||||
debug_tool = esp-prog
|
||||
upload_protocol = esp-prog
|
||||
debug_init_break = tbreak setup
|
||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
[env:tasmota32s2-ocd]
|
||||
build_type = debug
|
||||
extends = env:tasmota32_base
|
||||
board = esp32s2
|
||||
debug_tool = esp-prog
|
||||
upload_protocol = esp-prog
|
||||
debug_init_break = tbreak setup
|
||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
; *** JTAG Debug versions (only C3/S3), uses inbuilt CDC/jtag. No extra jtag hardware required!
|
||||
|
||||
[env:tasmota32s3cdc-ocd]
|
||||
build_type = debug
|
||||
extends = env:tasmota32s3
|
||||
board = esp32s3cdc
|
||||
debug_tool = esp-builtin
|
||||
upload_protocol = esp-builtin
|
||||
debug_init_break = tbreak setup
|
||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
||||
[env:tasmota32c3cdc-ocd]
|
||||
build_type = debug
|
||||
extends = env:tasmota32c3
|
||||
board = esp32c3cdc
|
||||
debug_tool = esp-builtin
|
||||
upload_protocol = esp-builtin
|
||||
debug_init_break = tbreak setup
|
||||
build_unflags = ${env:tasmota32c3.build_unflags}
|
||||
build_flags = ${env:tasmota32c3.build_flags}
|
||||
monitor_filters = esp32_exception_decoder
|
||||
|
Loading…
x
Reference in New Issue
Block a user