Skip to content

Commit beafbc7

Browse files
committed
enable RTC for all STM32 devices
1 parent 6ee8e00 commit beafbc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ports/stm/mpconfigport.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ifeq ($(MCU_SERIES),F4)
2424
CIRCUITPY_I2CPERIPHERAL ?= 0
2525
CIRCUITPY_NVM ?= 0
2626
CIRCUITPY_ROTARYIO ?= 0
27-
CIRCUITPY_RTC ?= 0
27+
CIRCUITPY_RTC ?= 1
2828
USB_NUM_ENDPOINT_PAIRS = 4
2929
UF2_FAMILY_ID ?= 0x57755a57
3030
endif
@@ -42,7 +42,7 @@ ifeq ($(MCU_SERIES),H7)
4242
CIRCUITPY_PULSEIO ?= 0
4343
CIRCUITPY_PWMIO ?= 0
4444
CIRCUITPY_ROTARYIO ?= 0
45-
CIRCUITPY_RTC ?= 0
45+
CIRCUITPY_RTC ?= 1
4646

4747
USB_NUM_ENDPOINT_PAIRS = 9
4848
UF2_FAMILY_ID ?= 0x6db66082
@@ -59,7 +59,7 @@ ifeq ($(MCU_SERIES),F7)
5959
CIRCUITPY_NEOPIXEL_WRITE ?= 0
6060
CIRCUITPY_NVM ?= 0
6161
CIRCUITPY_ROTARYIO ?= 0
62-
CIRCUITPY_RTC ?= 0
62+
CIRCUITPY_RTC ?= 1
6363

6464
USB_NUM_ENDPOINT_PAIRS = 6
6565
UF2_FAMILY_ID ?= 0x53b80f00
@@ -76,7 +76,7 @@ ifeq ($(MCU_SERIES),L4)
7676
CIRCUITPY_NEOPIXEL_WRITE ?= 0
7777
CIRCUITPY_NVM ?= 0
7878
CIRCUITPY_ROTARYIO ?= 0
79-
CIRCUITPY_RTC ?= 0
79+
CIRCUITPY_RTC ?= 1
8080
# todo - this varies between devices in the series
8181
# This slide deck https://www.st.com/content/ccc/resource/training/technical/product_training/98/89/c8/6c/3e/e9/49/79/STM32L4_Peripheral_USB.pdf/files/STM32L4_Peripheral_USB.pdf/jcr:content/translations/en.STM32L4_Peripheral_USB.pdf
8282
# cites 16 endpoints, 8 endpoint pairs, while section 3.39 of the L4R5 datasheet states 6 endpoint pairs.

0 commit comments

Comments
 (0)