Browse Source

Added gdb script for semihosting debugging

Kevin Lee 1 year ago
parent
commit
939ba6489e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      STM32L432KC_Template/CMSIS/Device/ST/STM32L4xx/Source/gdbscript

+ 6 - 0
STM32L432KC_Template/CMSIS/Device/ST/STM32L4xx/Source/gdbscript

@@ -0,0 +1,6 @@
+target remote localhost:3333
+monitor arm semihosting enable
+monitor reset halt
+load
+monitor reset init
+continue