projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add VCT6 support (chip_id 0x427) based on upstream patch by Burns
[fw/stlink]
/
src
/
stlink-common.c
diff --git
a/src/stlink-common.c
b/src/stlink-common.c
index a73801b169a036f428bee9792d4e94a6c4e24010..29ca794833698fd57bb874f1e0d6b10d2fd6e297 100644
(file)
--- a/
src/stlink-common.c
+++ b/
src/stlink-common.c
@@
-841,7
+841,7
@@
on_error:
return 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 */
int stlink_fread(stlink_t* sl, const char* path, stm32_addr_t addr, size_t size) {
/* read size bytes from addr to file */