Skip to content

Commit 313458b

Browse files
committed
STM32F407VG: Fix RTC
1 parent 6720bfd commit 313458b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/targets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@
14941494
"core": "Cortex-M4F",
14951495
"extra_labels_add": ["STM32F4", "STM32F407", "STM32F407xG", "STM32F407VG"],
14961496
"supported_toolchains": ["ARM", "uARM", "GCC_ARM"],
1497-
"macros_add": ["USB_STM_HAL"],
1497+
"macros_add": ["RTC_LSI=1", "USB_STM_HAL"],
14981498
"device_has_add": ["ANALOGOUT"],
14991499
"device_name": "STM32F407VG"
15001500
},
@@ -3181,7 +3181,7 @@
31813181
"inherits": ["Target"],
31823182
"core": "Cortex-M4F",
31833183
"macros": ["TARGET_NRF52840", "BLE_STACK_SUPPORT_REQD", "SOFTDEVICE_PRESENT", "S140", "NRF_SD_BLE_API_VERSION=5", "NRF52840_XXAA", "NRF_DFU_SETTINGS_VERSION=1", "NRF_SD_BLE_API_VERSION=5", "CMSIS_VECTAB_VIRTUAL", "CMSIS_VECTAB_VIRTUAL_HEADER_FILE=\"cmsis_nvic.h\""],
3184-
"device_has": ["STCLK_OFF_DURING_SLEEP"],
3184+
"device_has": ["STCLK_OFF_DURING_SLEEP"],
31853185
"extra_labels": ["NORDIC", "MCU_NRF52840", "NRF5", "SDK13", "NRF52_COMMON"],
31863186
"OUTPUT_EXT": "hex",
31873187
"is_disk_virtual": true,

0 commit comments

Comments
 (0)