Add Stm32L41x.

This commit is contained in:
Uwe Bonnes 2019-01-07 18:39:57 +01:00
parent f0c6e2bbd2
commit 47fad2bf7f
1 changed files with 8 additions and 2 deletions

View File

@ -137,8 +137,9 @@ static void stm32l4_add_flash(target *t,
} }
enum ID_STM32L4 { enum ID_STM32L4 {
ID_STM32L43 = 0x435, /* RM0394, Rev.3 */ ID_STM32L43 = 0x435, /* RM0394, Rev.4 */
ID_STM32L45 = 0x462, /* RM0394, Rev.3 */ ID_STM32L45 = 0x462, /* RM0394, Rev.4 */
ID_STM32L41 = 0x464, /* RM0394, Rev.4 */
ID_STM32L47 = 0x415, /* RM0351, Rev.5 */ ID_STM32L47 = 0x415, /* RM0351, Rev.5 */
ID_STM32G07 = 0x460, /* RM0444/454, Rev.1 */ ID_STM32G07 = 0x460, /* RM0444/454, Rev.1 */
ID_STM32L49 = 0x461, /* RM0351, Rev.5 */ ID_STM32L49 = 0x461, /* RM0351, Rev.5 */
@ -166,6 +167,11 @@ bool stm32l4_probe(target *t)
is_stm32g0 = true; is_stm32g0 = true;
sram1_size = 36; sram1_size = 36;
break; break;
case ID_STM32L41:
designator = "STM32L41x";
sram1_size = 32;
sram2_size = 8;
break;
case ID_STM32L43: case ID_STM32L43:
designator = "STM32L43x"; designator = "STM32L43x";
sram1_size = 48; sram1_size = 48;