This is an automated email from Gerrit. Ake Rehnman ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4268
-- gerrit commit 006007709dad01b613e03575693e9291f7a6922b Author: Ake Rehnman <[email protected]> Date: Tue Oct 24 20:50:39 2017 +0200 Added config files for stm8l152 stm8s003 and stm8s105 Change-Id: I26cc401aafac01e5aed8eac605488da5221ffdc2 Signed-off-by: Ake Rehnman <[email protected]> diff --git a/tcl/target/stm8l152.cfg b/tcl/target/stm8l152.cfg new file mode 100644 index 0000000..a55a259 --- /dev/null +++ b/tcl/target/stm8l152.cfg @@ -0,0 +1,14 @@ +#config script for STM8L152 + +set ENABLE_STM8L 1 +#set ENABLE_STEP_IRQ 1 +set EEPROMSTART 0x1000 +set EEPROMEND 0x13ff + +proc stm8_reset_rop {} { + mwb 0x4800 0xaa + mwb 0x4800 0xaa + reset halt +} + +source [find target/stm8.cfg] diff --git a/tcl/target/stm8s003.cfg b/tcl/target/stm8s003.cfg new file mode 100644 index 0000000..b906626 --- /dev/null +++ b/tcl/target/stm8s003.cfg @@ -0,0 +1,12 @@ +#config script for STM8S003 + +#set ENABLE_STEP_IRQ 1 +set FLASHEND 0x9FFF +set BLOCKSIZE 0x40 + +proc stm8_reset_rop {} { + mwb 0x4800 0x00 + reset halt +} + +source [find target/stm8.cfg] diff --git a/tcl/target/stm8s105.cfg b/tcl/target/stm8s105.cfg new file mode 100644 index 0000000..c7347c2 --- /dev/null +++ b/tcl/target/stm8s105.cfg @@ -0,0 +1,10 @@ +#config script for STM8S105 + +#set ENABLE_STEP_IRQ 1 + +proc stm8_reset_rop {} { + mwb 0x4800 0x00 + reset halt +} + +source [find target/stm8.cfg] -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
