Skip to content

Commit

Permalink
Prepare for minichlink gdb
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed Nov 15, 2024
1 parent 96442a9 commit 3e0240f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/baremetal-ch32v003/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ platform = ch32v
monitor_speed = 115200
board_build.ldscript = src/ch32v003.ld
build_flags = -lgcc
upload_protocol = minichlink
debug_tool = minichlink

[env:ch32v003f4p6_evt_r0]
board = ch32v003f4p6_evt_r0
Expand Down
2 changes: 2 additions & 0 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def _add_default_debug_tools(self, board):
"package": "tool-minichlink",
"executable": "minichlink",
"arguments": [
"-b", # Reboot out of Halt
"-a", # Reboot into Halt
"-G" # "Terminal + GDB"
]
},
Expand Down

0 comments on commit 3e0240f

Please sign in to comment.