Skip to content

Commit

Permalink
Add support for CS32F103C8T6 (#805)
Browse files Browse the repository at this point in the history
CS32F103C8T6 is clone of STM32F103C8T6 but with incorrect core_id number.
  • Loading branch information
vzasukhin authored and xor-gate committed Jun 6, 2019
1 parent df3c2b0 commit 84f63d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flash_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ int stlink_flash_loader_write_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t*
loader_code = loader_code_stm32l;
loader_size = sizeof(loader_code_stm32l);
} else if (sl->core_id == STM32VL_CORE_ID
|| sl->chip_id == STLINK_CHIPID_STM32_F1_MEDIUM
|| sl->chip_id == STLINK_CHIPID_STM32_F3
|| sl->chip_id == STLINK_CHIPID_STM32_F3_SMALL
|| sl->chip_id == STLINK_CHIPID_STM32_F303_HIGH
Expand Down

0 comments on commit 84f63d2

Please sign in to comment.