Skip to content

Commit

Permalink
boards: arm: Add RTC clock source for mikroe_mini_m4_for_stm32
Browse files Browse the repository at this point in the history
The `mikroe_mini_m4_for_stm32` board doesn't have its RTC node
enabled, and is failing the following test:

`tests/benchmarks/footprints/benchmark.kernel.footprints.pm`

This board seems to have been missed out from 44b8370, let's
enable the rtc & clk_lsi here.

Signed-off-by: Yong Cong Sin <[email protected]>
(cherry picked from commit 54573e7)
  • Loading branch information
ycsin authored and github-actions[bot] committed Dec 11, 2023
1 parent 15ada15 commit 2d7639c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions boards/arm/mikroe_mini_m4_for_stm32/mikroe_mini_m4_for_stm32.dts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
};
};

&clk_lsi {
status = "okay";
};

&clk_hse {
clock-frequency = <DT_FREQ_M(16)>;
status = "okay";
Expand Down Expand Up @@ -99,3 +103,9 @@ zephyr_udc0: &usbotg_fs {
&cryp {
status = "okay";
};

&rtc {
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>,
<&rcc STM32_SRC_LSI RTC_SEL(2)>;
status = "okay";
};

0 comments on commit 2d7639c

Please sign in to comment.