Skip to content
Snippets Groups Projects
Select Git revision
  • f3fcf2572f4086d7e8ecfc1c42a311f19a134a8e
  • master default protected
2 results

.gdbinit

Blame
  • .gdbinit 385 B
    target remote :3333
    # monitor reset init
    monitor arm semihosting enable
    
    # send captured ITM to the file /tmp/itm.log
    # (the microcontroller SWO pin must be connected to the programmer SWO pin)
    # 16000000 must match the core clock frequency
    monitor tpiu config internal /tmp/itm.log uart off 16000000
    
    # enable ITM port 0
    monitor itm port 0 on
    
    #load
    #step
    # monitor reset halt
    detach