mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
frdm-common: Add OpenOCD configurations for Kinetis L devices
This commit is contained in:
parent
2090dd0234
commit
6dbc8d7e17
24
boards/common/frdm/dist/openocd-klx.cfg
vendored
Normal file
24
boards/common/frdm/dist/openocd-klx.cfg
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
#
|
||||
# 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
|
||||
|
||||
# Kinetis L only supports SWD
|
||||
transport select swd
|
||||
|
||||
# Kinetis L series CPUs
|
||||
source [find target/klx.cfg]
|
||||
|
||||
reset_config srst_only
|
||||
|
||||
$_TARGETNAME configure -event gdb-attach {
|
||||
halt
|
||||
}
|
||||
$_TARGETNAME configure -rtos auto
|
Loading…
Reference in New Issue
Block a user