Skip to content

Commit ed11c88

Browse files
committed
[NUCLEO_F303K8] Enable LowPowerTimer
We need to enable the LSI clock to be able to start the RTC periodic unit. Change-Id: I4543b0f9d6995b1c90b766f4909e3a324db98022
1 parent 3b041c9 commit ed11c88

File tree

1 file changed

+3
-1
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8

1 file changed

+3
-1
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F303K8/device.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@
4848
#define DEVICE_SPISLAVE 1
4949

5050
#define DEVICE_RTC 1
51-
#define DEVICE_RTC_LSI 0
51+
#define DEVICE_RTC_LSI 1
5252

5353
#define DEVICE_PWMOUT 1
5454

5555
#define DEVICE_SLEEP 1
5656

57+
#define DEVICE_LOWPOWERTIMER 1
58+
5759
//=======================================
5860

5961
#define DEVICE_SEMIHOST 0

0 commit comments

Comments
 (0)