summaryrefslogtreecommitdiff
path: root/tools/mcuboot/jgdb.sh
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-03-07 18:45:35 +0100
committerGitea <gitea@fake.local>2021-03-07 18:45:35 +0100
commitc5dc4c55a79e0e3393df22e77825f24b6130a0bb (patch)
tree6f81eb191aa0c749cbef9b856d43ed4546302802 /tools/mcuboot/jgdb.sh
parentada942535718d48eec37cca4f50d678e7201dc67 (diff)
parent5845fd98ba68e12f1e57d50ed06abd7ccf47e029 (diff)
Merge branch 'recovery-firmware' of JF/PineTime into develop
Diffstat (limited to 'tools/mcuboot/jgdb.sh')
-rw-r--r--tools/mcuboot/jgdb.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/mcuboot/jgdb.sh b/tools/mcuboot/jgdb.sh
new file mode 100644
index 00000000..a79c87c6
--- /dev/null
+++ b/tools/mcuboot/jgdb.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+source $(dirname $0)/../target.sh
+
+# Start the jlink gdb server
+JLinkGDBServer -if swd -device $SOC -speed auto