Skip to content

Commit d89c06e

Browse files
committed
[stm32] Rcc: Fix PllSource for some STM32F3 devices
1 parent ceef55d commit d89c06e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modm/platform/clock/stm32/rcc.hpp.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public:
5454
Hsi = RCC_CFGR_PLLSRC_HSI_PREDIV,
5555
InternalClock = Hsi,
5656
%% endif
57-
%% if (target["family"] == "f0") or (target["family"] == "f3" and target["size"] in ["8", "c"])
57+
%% if (target["family"] == "f0") or (target["family"] == "f3" and target["name"] in ["18", "28", "58", "73", "78"]) or (target["family"] == "f3" and target["size"] in ["8", "c"])
5858
HsiDiv2 = RCC_CFGR_PLLSRC_HSI_DIV2,
5959
%% endif
6060
/// High speed external clock (see HseConfig)

0 commit comments

Comments
 (0)