Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7686 from gebart/pr/board-debugger-separation
boards: board<->debugger separation
- Loading branch information
Showing
91 changed files
with
307 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
source [find interface/stlink-v2.cfg] | ||
transport select hla_swd | ||
|
||
set WORKAREASIZE 0x4000 | ||
source [find target/nrf51.cfg] | ||
$_TARGETNAME configure -rtos auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
source [find interface/cmsis-dap.cfg] | ||
|
||
set CHIPNAME at91samd21g18 | ||
set ENDIAN little | ||
set telnet_port 0 | ||
|
||
source [find target/at91samdXX.cfg] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
source [find interface/stlink-v2-1.cfg] | ||
|
||
transport select hla_swd | ||
|
||
source [find target/stm32l0.cfg] | ||
|
||
reset_config srst_only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
4 changes: 1 addition & 3 deletions
4
...s/frdm-common/dist/old-openocd-dap-kx.cfg → boards/frdm-common/dist/old-openocd-kx.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
source [find interface/stlink-v2.cfg] | ||
transport select hla_swd | ||
|
||
set WORKAREASIZE 0x2800 | ||
source [find target/stm32l1.cfg] | ||
$_TARGETNAME configure -rtos auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
source [find interface/stlink-v2-1.cfg] | ||
|
||
transport select hla_swd | ||
|
||
source [find target/stm32f1x.cfg] | ||
|
||
reset_config srst_only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
source [find board/stm32f4discovery.cfg] | ||
# increase working area to 64KB | ||
set WORKAREASIZE 0x10000 | ||
|
||
source [find target/stm32f4x.cfg] | ||
|
||
reset_config srst_only | ||
$_TARGETNAME configure -rtos auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright 2017 Eistec AB | ||
# | ||
# OpenOCD configuration for Eistec Mulle board with Kinetis K MCU | ||
# | ||
|
||
source [find target/kx.cfg] | ||
|
||
# The nTRST functionality can only be used if the MCU has been configured by | ||
# setting the correct pin multiplexing function on the TRST pin (PTA5 on Kinetis K60). | ||
# If you have configured the TRST pin correctly you can change srst_only to | ||
# trst_and_srst | ||
reset_config srst_only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Mulle programmer board v0.60 | ||
# | ||
# The Mulle programming board uses a FTDI FT2232H chip for USB UART and JTAG | ||
# combined functionality. | ||
# | ||
|
||
# Reduce this if you are having problems with losing connection to the Mulle | ||
adapter_khz 1000 | ||
|
||
# JTAG interface configuration | ||
|
||
interface ftdi | ||
ftdi_device_desc "Mulle Programmer v0.60" | ||
ftdi_vid_pid 0x0403 0x6010 | ||
|
||
ftdi_channel 1 | ||
ftdi_layout_init 0x0008 0x005b | ||
|
||
# These are the pins that are used for SRST and TRST. Note that the Mulle | ||
# programming board inverts the reset signal between the FTDI chip and the MCU, | ||
# so we need to use -ndata here to tell OpenOCD that the signals are active HIGH. | ||
ftdi_layout_signal nTRST -ndata 0x0010 | ||
ftdi_layout_signal nSRST -ndata 0x0040 | ||
|
||
# In the eyes of OpenOCD, the reset signal is push-pull, because of the hardware | ||
# design however, it is actually open drain. | ||
reset_config srst_push_pull |
Oops, something went wrong.