Skip to content

Commit b16f971

Browse files
committed
[NUCLEO_F746ZG] Enable LowPowerTimer
We need to enable the LSI clock to be able to start the RTC periodic unit. Change-Id: Ic7518dfcf5153f925c7c030f8de0259e19aab963
1 parent d923a18 commit b16f971

File tree

1 file changed

+3
-1
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG

1 file changed

+3
-1
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F746ZG/device.h

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

5151
#define DEVICE_RTC 1
52-
#define DEVICE_RTC_LSI 0
52+
#define DEVICE_RTC_LSI 1
5353

5454
#define DEVICE_PWMOUT 1
5555

5656
#define DEVICE_SLEEP 1
5757

58+
#define DEVICE_LOWPOWERTIMER 1
59+
5860
//=======================================
5961

6062
#define DEVICE_SEMIHOST 0

0 commit comments

Comments
 (0)