.gdbinit 513 B

123456789101112131415161718
  1. target remote :3333
  2. monitor arm semihosting enable
  3. # # send captured ITM to the file itm.fifo
  4. # # (the microcontroller SWO pin must be connected to the programmer SWO pin)
  5. # # 8000000 must match the core clock frequency
  6. # monitor tpiu config internal itm.fifo uart off 8000000
  7. # # OR: make the microcontroller SWO pin output compatible with UART (8N1)
  8. # # 2000000 is the frequency of the SWO pin
  9. # monitor tpiu config external uart off 8000000 2000000
  10. # # enable ITM port 0
  11. # monitor itm port 0 on
  12. load
  13. step