1# Copyright (c) Charles Dias <charlesdias.cd@outlook.com>
2# SPDX-License-Identifier: Apache-2.0
3
4source [find interface/stlink-dap.cfg]
5transport select "dapdirect_swd"
6
7set WORKAREASIZE 0x8000
8
9set CHIPNAME STM32H7B0VB
10set BOARDNAME FK7B0M1-VBT6
11
12source [find target/stm32h7x.cfg]
13
14# Enable debug when in low power modes
15set ENABLE_LOW_POWER 1
16
17# Stop Watchdog counters when halt
18set STOP_WATCHDOG 1
19
20# Reset configuration
21# use hardware reset, connect under reset
22# connect_assert_srst needed if low power mode application running (WFI...)
23reset_config srst_only srst_nogate connect_assert_srst
24set CONNECT_UNDER_RESET 1
25set CORE_RESET 0
26