aboutsummaryrefslogtreecommitdiff
path: root/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
diff options
context:
space:
mode:
authorchrysn2012-04-19 13:14:54 +0200
committerchrysn2012-04-19 13:15:34 +0200
commit705cdab7d702772829fd4cff37cf22bab9f59ddb (patch)
treef5fe9d4017cb9b919c0b81db4a06ece521cff08a /examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
parent43acfc531a30874f080a41769778fc56bbcb45e4 (diff)
extend the cmsis emulation layer to compile with the complete efm32lib
most of this is non-functional but just a list of stubs that are absolutely required to make it compile
Diffstat (limited to 'examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit')
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
new file mode 100644
index 0000000..7ccaa72
--- /dev/null
+++ b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
@@ -0,0 +1,14 @@
+# gets set when loading the file, without this i get the "Remote 'g' packet
+# reply is too long" errors
+set arm abi AAPCS
+
+target remote localhost:2331
+monitor speed auto
+# this seems to be less about the architecture and more about how to
+# communicate with gdb. "set endian big" works just as well.
+monitor endian little
+
+# sometimes this doesn't work, then the gdbserver has to be restarted
+monitor reset
+monitor go
+monitor halt