Blame view

RIOT/boards/frdm-common/dist/openocd-dap-kx.cfg 684 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #
  # NXP Kinetis Freedom developer board
  #
  # OpenSDA is the on-board debugger, some boards have a CMSIS-DAP compatible
  # interface, other boards comes pre-flashed with a Segger J-Link compatible
  # firmware. The OpenSDA controller can be re-flashed to provide either of the two.
  # Both interfaces work with OpenOCD, but we need to tell which one we have on
  # our debugger.
  
  # CMSIS-DAP (DAPLink) compatible OpenSDA firmware binary images can be found at:
  # http://www.nxp.com/opensda
  source [find interface/cmsis-dap.cfg]
  
  # Kinetis K series CPUs
  source [find target/kx.cfg]
  
  reset_config srst_only
  
  $_TARGETNAME configure -event gdb-attach {
    halt
  }
  $_TARGETNAME configure -rtos auto