1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

cpu/stm32: fix missing clock configuration defines for g0

This commit is contained in:
Alexandre Abadie 2021-11-29 14:12:18 +01:00
parent d09f2e99e3
commit 16db45f77e
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -71,6 +71,10 @@
#define RCC_CFGR_SW_HSE (RCC_CFGR_SW_0)
#define RCC_CFGR_SW_PLL (RCC_CFGR_SW_1)
#define RCC_CFGR_SWS_HSI (0)
#define RCC_CFGR_SWS_HSE (RCC_CFGR_SWS_0)
#define RCC_CFGR_SWS_PLL (RCC_CFGR_SWS_1)
#if CONFIG_CLOCK_HSISYS_DIV == 1
#define CLOCK_HSI_DIV (0)
#elif CONFIG_CLOCK_HSISYS_DIV == 2