summaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-10-01 17:15:56 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-10-01 17:15:56 +0200
commit665eca30c55cb410e8b6c5a1942118c89b6bae54 (patch)
tree1b99cf3d8a34c1c081eacff9abf085619cbcdbe6 /.gdbinit
Read ISO15693 UID and emulate mass storage device.
Diffstat (limited to '.gdbinit')
-rw-r--r--.gdbinit22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gdbinit b/.gdbinit
new file mode 100644
index 0000000..99eae86
--- /dev/null
+++ b/.gdbinit
@@ -0,0 +1,22 @@
+define flash
+file demo.elf
+load
+end
+
+define restart
+run
+end
+
+define attach_swd
+mon swdp_scan
+attach 1
+end
+
+define attach_jtag
+mon jtag_scan
+attach 1
+end
+
+file demo.elf
+
+set mem inaccessible-by-default off