Add target config for STM8S103 chip...

Change-Id: I693e5b7933fc61956010a96be57ee6eb8abd3c31
Signed-off-by: Anton V. Kirilchik <kosmonaffft@gmail.com>
Reviewed-on: http://openocd.zylin.com/5422
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Anton V. Kirilchik 2019-03-12 23:11:39 +03:00 committed by Antonio Borneo
parent a99bf2ea94
commit 69f0105324
1 changed files with 13 additions and 0 deletions

13
tcl/target/stm8s103.cfg Normal file
View File

@ -0,0 +1,13 @@
#config script for STM8S103
set FLASHEND 0x9FFF
set EEPROMEND 0x427F
set OPTIONEND 0x480A
set BLOCKSIZE 0x40
proc stm8_reset_rop {} {
mwb 0x4800 0x00
reset halt
}
source [find target/stm8s.cfg]