| 1234567891011121314151617181920212223242526272829303132 |
- # SPDX-License-Identifier: GPL-2.0-or-later
- # Config script for STM8L151x3
- # Supported Devices:
- # STM8L151C3
- # STM8L151F3
- # STM8L151G3
- # STM8L151K3
- # 1kB RAM
- # Start 0x0000
- # End 0x03ff
- set WORKAREASIZE 1024
- # 8kB Flash
- set FLASHSTART 0x8000
- set FLASHEND 0x9fff
- # 256B EEPROM
- set EEPROMSTART 0x1000
- set EEPROMEND 0x10ff
- set OPTIONSTART 0x4800
- set OPTIONEND 0x487f
- proc stm8_reset_rop {} {
- mwb 0x4800 0xaa
- mwb 0x4800 0xaa
- reset halt
- }
- source [find target/stm8l.cfg]
|