kopia lustrzana https://github.com/stlink-org/stlink
Merge pull request #1414 from salyzyn/testing
Restored support for STM32G4 Cat4 device STM32G491pull/1419/head
commit
35e6e9a5e5
|
@ -299,8 +299,7 @@ int32_t stlink_load_device_params(stlink_t *sl) {
|
||||||
sl->sram_size = 0x1000;
|
sl->sram_size = 0x1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sl->chip_id == STM32_CHIPID_G4_CAT3 ||
|
if (sl->chip_id == STM32_CHIPID_G4_CAT3) {
|
||||||
sl->chip_id == STM32_CHIPID_G4_CAT4) {
|
|
||||||
uint32_t flash_optr;
|
uint32_t flash_optr;
|
||||||
stlink_read_debug32(sl, FLASH_Gx_OPTR, &flash_optr);
|
stlink_read_debug32(sl, FLASH_Gx_OPTR, &flash_optr);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue