Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/target/stm32l0.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ bool stm32l1_probe(target_s *const target)
if (ap->partno != ID_STM32L1xxxB && ap->partno != ID_STM32L1xxxBxA && ap->partno != ID_STM32L1xxxC &&
ap->partno != ID_STM32L1xxxD && ap->partno != ID_STM32L1xxxE)
return false;
target->part_id = ap->partno;
target->part_id = target_mem32_read32(target, STM32L1_DBGMCU_IDCODE) & 0xfffU;

/* Now we have a stable debug environment, make sure the WDTs + WFI and WFE instructions can't cause problems */
stm32l1_configure_dbgmcu(target);
Expand Down