add VCT6 support (chip_id 0x427) based on upstream patch by Burns
[fw/stlink] / src / stlink-common.c
index a73801b169a036f428bee9792d4e94a6c4e24010..29ca794833698fd57bb874f1e0d6b10d2fd6e297 100644 (file)
@@ -841,7 +841,7 @@ on_error:
     return error;
 }
 
-#define IS_STM32L(sl)  ((sl)->chip_id == STM32_CHIPID_L1_MEDIUM || (sl)->chip_id == STM32_CHIPID_L1_HIGH)
+#define IS_STM32L(sl)  ((sl)->chip_id == STM32_CHIPID_L1_MEDIUM || (sl)->chip_id == STM32_CHIPID_L1_MEDIUM_PLUS || (sl)->chip_id == STM32_CHIPID_L1_HIGH)
 
 int stlink_fread(stlink_t* sl, const char* path, stm32_addr_t addr, size_t size) {
     /* read size bytes from addr to file */