Skip to content

Commit fc1c071

Browse files
committed
[DISCO_L053C8] Enable LowPowerTimer
We need to enable the LSI clock to be able to start the RTC periodic unit. Change-Id: I2e3ff6c7dfbe709cc39bf6ebe86266031532f90b
1 parent d050743 commit fc1c071

File tree

1 file changed

+3
-1
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8

1 file changed

+3
-1
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32L0/TARGET_DISCO_L053C8/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)