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.
# J-Link compatible firmware binaries for OpenSDA can be found at:
# https://www.segger.com/downloads/jlink#JLinkOpenSDABoardSpecificFirmwares
source [find interface/jlink.cfg]
# Kinetis K series CPUs
source [find target/kx.cfg]
reset_config srst_only
$_TARGETNAME configure -event gdb-attach {
halt
}
$_TARGETNAME configure -rtos auto
|