Skip to content

Commit

Permalink
Fix missing flash_loader for L011 (#675)
Browse files Browse the repository at this point in the history
Fixes #654 flash loader on L011
  • Loading branch information
szechyjs authored and xor-gate committed Feb 28, 2018
1 parent af4d2eb commit 4e27060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flash_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ int stlink_flash_loader_write_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t*

if (sl->chip_id == STLINK_CHIPID_STM32_L1_MEDIUM || sl->chip_id == STLINK_CHIPID_STM32_L1_CAT2
|| sl->chip_id == STLINK_CHIPID_STM32_L1_MEDIUM_PLUS || sl->chip_id == STLINK_CHIPID_STM32_L1_HIGH
|| sl->chip_id == STLINK_CHIPID_STM32_L152_RE
|| sl->chip_id == STLINK_CHIPID_STM32_L152_RE || sl->chip_id == STLINK_CHIPID_STM32_L011
|| sl->chip_id == STLINK_CHIPID_STM32_L0 || sl->chip_id == STLINK_CHIPID_STM32_L0_CAT5 || sl->chip_id == STLINK_CHIPID_STM32_L0_CAT2) { /* stm32l */
loader_code = loader_code_stm32l;
loader_size = sizeof(loader_code_stm32l);
Expand Down

0 comments on commit 4e27060

Please sign in to comment.