aboutsummaryrefslogtreecommitdiff
path: root/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/gdbinit
diff options
context:
space:
mode:
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