summaryrefslogtreecommitdiff
path: root/sw/plinkyblack Debug.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'sw/plinkyblack Debug.cfg')
-rwxr-xr-xsw/plinkyblack Debug.cfg41
1 files changed, 41 insertions, 0 deletions
diff --git a/sw/plinkyblack Debug.cfg b/sw/plinkyblack Debug.cfg
new file mode 100755
index 0000000..38ef32b
--- /dev/null
+++ b/sw/plinkyblack Debug.cfg
@@ -0,0 +1,41 @@
+# This is an genericBoard board with a single STM32L476VGTx chip
+#
+# Generated by STM32CubeIDE
+# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)
+
+source [find interface/stlink.cfg]
+
+
+set WORKAREASIZE 0x8000
+
+transport select "hla_swd"
+
+set CHIPNAME STM32L476VGTx
+set BOARDNAME genericBoard
+
+# Enable debug when in low power modes
+set ENABLE_LOW_POWER 1
+
+# Stop Watchdog counters when halt
+set STOP_WATCHDOG 1
+
+# STlink Debug clock frequency
+set CLOCK_FREQ 8000
+
+# Reset configuration
+# use hardware reset, connect under reset
+# connect_assert_srst needed if low power mode application running (WFI...)
+reset_config srst_only srst_nogate connect_assert_srst
+set CONNECT_UNDER_RESET 1
+set CORE_RESET 0
+
+# ACCESS PORT NUMBER
+set AP_NUM 0
+# GDB PORT
+set GDB_PORT 3333
+
+
+# BCTM CPU variables
+
+
+source [find target/stm32l4x.cfg]