jlink jtag debug now works on lora32 board, problem was gpio14 is needed
This commit is contained in:
+19
-6
@@ -12,7 +12,8 @@
|
||||
|
||||
[env:esp32]
|
||||
platform = espressif32
|
||||
board = ttgo-t-beam
|
||||
board = heltec_wifi_lora_32_V2
|
||||
; board = ttgo-t-beam
|
||||
framework = arduino
|
||||
|
||||
; customize the partition table
|
||||
@@ -21,25 +22,37 @@ board_build.partitions = partition-table.csv
|
||||
|
||||
; note: we add src to our include search path so that lmic_project_config can override
|
||||
build_flags = -Wall -Wextra -Wno-missing-field-initializers -Isrc -O3 -Wl,-Map,.pio/build/esp32/output.map -DAXP_DEBUG_PORT=Serial
|
||||
|
||||
; not needed included in ttgo-t-beam board file
|
||||
; also to use PSRAM https://docs.platformio.org/en/latest/platforms/espressif32.html#external-ram-psram
|
||||
; -DBOARD_HAS_PSRAM
|
||||
; -mfix-esp32-psram-cache-issue
|
||||
|
||||
|
||||
; -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
||||
|
||||
upload_speed = 921600
|
||||
;upload_port = /dev/ttyUSB1
|
||||
upload_port = /dev/ttyUSB0
|
||||
|
||||
; the default is esptool
|
||||
; upload_protocol = esp-prog
|
||||
|
||||
;monitor_port = /dev/ttyUSB1
|
||||
monitor_port = /dev/ttyUSB0
|
||||
monitor_speed = 115200
|
||||
|
||||
# debug_tool = esp-prog
|
||||
# debug_port = /dev/ttyUSB0
|
||||
# debug_port = /dev/ttyACM0
|
||||
|
||||
debug_tool = olimex-arm-usb-ocd-h
|
||||
debug_tool = jlink
|
||||
; upload_protocol = jlink
|
||||
|
||||
; debug_tool = olimex-arm-usb-ocd-h
|
||||
; upload_protocol = olimex-arm-usb-ocd-h
|
||||
|
||||
;debug_init_cmds =
|
||||
; adapter_khz 10000
|
||||
; monitor adapter_khz 10000
|
||||
|
||||
debug_init_break = tbreak setup
|
||||
|
||||
lib_deps =
|
||||
RadioHead
|
||||
|
||||
Reference in New Issue
Block a user