Skip to content

Commit

Permalink
Merge pull request #1414 from salyzyn/testing
Browse files Browse the repository at this point in the history
Restored support for STM32G4 Cat4 device STM32G491
  • Loading branch information
Nightwalker-87 authored Aug 2, 2024
2 parents d7103ff + 96e1da6 commit 35e6e9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stlink-lib/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,7 @@ int32_t stlink_load_device_params(stlink_t *sl) {
sl->sram_size = 0x1000;
}

if (sl->chip_id == STM32_CHIPID_G4_CAT3 ||
sl->chip_id == STM32_CHIPID_G4_CAT4) {
if (sl->chip_id == STM32_CHIPID_G4_CAT3) {
uint32_t flash_optr;
stlink_read_debug32(sl, FLASH_Gx_OPTR, &flash_optr);

Expand Down

0 comments on commit 35e6e9a

Please sign in to comment.