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

echo 'DEPRECATED: choose between stm8l15xx4.cfg, stm8l15xx6.cfg and stm8l15xx8.cfg instead of stm8l152.cfg'
echo '            using stm8l152.cfg for backwards compatability'

set EEPROMSTART 0x1000
set EEPROMEND 0x13ff

proc stm8_reset_rop {} {
   mwb 0x4800 0xaa
   mwb 0x4800 0xaa
   reset halt
}

source [find target/stm8l.cfg]
