| # Copyright (c) Charles Dias <charlesdias.cd@outlook.com> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| source [find interface/stlink-dap.cfg] |
| transport select "dapdirect_swd" |
| |
| set WORKAREASIZE 0x8000 |
| |
| set CHIPNAME STM32H7B0VB |
| set BOARDNAME FK7B0M1-VBT6 |
| |
| source [find target/stm32h7x.cfg] |
| |
| # Enable debug when in low power modes |
| set ENABLE_LOW_POWER 1 |
| |
| # Stop Watchdog counters when halt |
| set STOP_WATCHDOG 1 |
| |
| # 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 |