1# Note: Using OpenOCD using nucloe_wba52cg requires using STMicroelectronics 2# openocd fork. See board documentation for more information 3 4source [find interface/stlink-dap.cfg] 5 6set WORKAREASIZE 0x8000 7 8transport select "dapdirect_swd" 9 10# Enable debug when in low power modes 11set ENABLE_LOW_POWER 1 12 13# Stop Watchdog counters when halt 14set STOP_WATCHDOG 1 15 16# STlink Debug clock frequency 17set CLOCK_FREQ 8000 18 19# Reset configuration 20# use hardware reset, connect under reset 21# connect_assert_srst needed if low power mode application running (WFI...) 22reset_config srst_only srst_nogate 23 24source [find target/stm32wbax.cfg] 25