summaryrefslogtreecommitdiff
path: root/prototype/fw/openocd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'prototype/fw/openocd.cfg')
-rw-r--r--prototype/fw/openocd.cfg5
1 files changed, 3 insertions, 2 deletions
diff --git a/prototype/fw/openocd.cfg b/prototype/fw/openocd.cfg
index 5952538..51b3024 100644
--- a/prototype/fw/openocd.cfg
+++ b/prototype/fw/openocd.cfg
@@ -2,9 +2,10 @@ telnet_port 4444
gdb_port 3333
source [find interface/stlink-v2.cfg]
-#adapter_khz 10000
-
source [find target/stm32f3x_stlink.cfg]
+# Overwrite init handler since stm32f3x.cfg just stomps all over our adapter_khz setting
+stm32f3x.cpu configure -event reset-init { stm32f3x_default_reset_init; adapter_khz 1000 }
+
init
arm semihosting enable