Skip to content

Commit

Permalink
Merged PR #825
Browse files Browse the repository at this point in the history
Added support for G031/G041 chips.
Closes #825.
  • Loading branch information
Nightwalker-87 committed Mar 16, 2020
1 parent b40c243 commit 01ab4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2637,7 +2637,7 @@ static int stlink_write_option_bytes_g0x(stlink_t *sl, uint8_t* base, uint32_t l

/* Check if chip is supported and for correct address */
if(sl->chip_id != STLINK_CHIPID_STM32_G0_CAT1 &&
sl->chip_id != STLINK_CHIPID_STM32_G0_CAT2) {
sl->chip_id != STLINK_CHIPID_STM32_G0_CAT2) {
ELOG("Option bytes writing is currently only supported for the STM32G0\n");
return -1;
}
Expand Down

0 comments on commit 01ab4a9

Please sign in to comment.