# SPDX-License-Identifier: GPL-2.0-or-later

# This is a ST NUCLEO 8S208RB board with a single STM8S208RBT6 chip.
# https://www.st.com/en/evaluation-tools/nucleo-8s208rb.html

source [find interface/stlink-dap.cfg]

transport select swim

# 128 KiB flash and 2 KiB EEPROM
set FLASHEND 0x27fff
set EEPROMEND 0x47ff

source [find target/stm8s.cfg]

reset_config srst_only