blob: b09b2e21ed0952b4bb567600ca25f0efd59bc541 [file] [log] [blame]
diff -aruN stm32flash/dev_table.c stm32flash_l4/dev_table.c
--- stm32flash/dev_table.c 2016-03-08 10:55:19.183518329 -0800
+++ stm32flash_l4/dev_table.c 2016-03-04 14:19:45.997712775 -0800
@@ -67,5 +67,7 @@
{0x641, "Medium_Density PL" , 0x20000200, 0x00005000, 0x08000000, 0x08020000, 4, 1024, 0x1FFFF800, 0x1FFFF80F, 0x1FFFF000, 0x1FFFF800},
{0x9a8, "STM32W-128K" , 0x20000200, 0x20002000, 0x08000000, 0x08020000, 1, 1024, 0, 0, 0, 0},
{0x9b0, "STM32W-256K" , 0x20000200, 0x20004000, 0x08000000, 0x08040000, 1, 2048, 0, 0, 0, 0},
+ /* STML431/33 */
+ {0x435, "L43xxC" , 0x20003100, 0x20010000, 0x08000000, 0x08040000, 64, 2048, 0x1FFF7800, 0x1FFF7810, 0x1FFF0000, 0x1FFf7000},
{0x0}
};
diff -aruN stm32flash/stm32.c stm32flash_l4/stm32.c
--- stm32flash/stm32.c 2016-03-08 10:55:19.183518329 -0800
+++ stm32flash_l4/stm32.c 2016-03-08 10:59:00.776754091 -0800
@@ -702,7 +702,8 @@
int supports_mass_erase(uint16_t chip_id)
{
int retval = 1;
- if(chip_id == 0x416 || chip_id == 0x417 || chip_id == 0x427 || chip_id == 0x429) {
+ if(chip_id == 0x416 || chip_id == 0x417 || chip_id == 0x427 || chip_id == 0x429
+ || chip_id == 0x435) {
retval = 0;
}
return retval;