Fixed STM32G43x/G44x option bytes support
Previously took L4 values so FLASH_SEC1R was not applied
This commit is contained in:
parent
99f9557cc0
commit
d6b24c00c8
|
@ -648,7 +648,8 @@ static bool stm32l4_cmd_option(target *t, int argc, char *argv[])
|
|||
len = 11;
|
||||
for (int i = 0; i < len; i++)
|
||||
values[i] = g4_values[i];
|
||||
} else if (t->idcode == ID_STM32G49) { /* G4 cat 4*/
|
||||
} else if ((t->idcode == ID_STM32G43) || (t->idcode == ID_STM32G49)) {
|
||||
/* G4 cat 2 and 4 (single bank) */
|
||||
i2offset = g4_i2offset;
|
||||
len = 6;
|
||||
for (int i = 0; i < len; i++)
|
||||
|
|
Loading…
Reference in New Issue