EWS/firmware/canfd_cdc_composite/boards/arm/ews/ews_defconfig

23 lines
497 B
Plaintext

# EWS Board Configuration
CONFIG_BOARD_EWS=y
CONFIG_SOC_SERIES_STM32G0X=y
CONFIG_SOC_STM32G0B1XX=y
# Clock configuration - USB clock sync, no external crystal
CONFIG_CLOCK_CONTROL=y
CONFIG_CLOCK_STM32_HSI=y
CONFIG_CLOCK_STM32_PLL_SRC_HSI=y
CONFIG_CLOCK_STM32_PLL_M_DIVISOR=1
CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER=8
CONFIG_CLOCK_STM32_PLL_Q_DIVISOR=2
CONFIG_CLOCK_STM32_PLL_R_DIVISOR=2
# USB 48MHz from PLL
CONFIG_CLOCK_STM32_PLL_Q_DIVISOR=2
# Enable GPIO
CONFIG_GPIO=y
# Enable CAN
CONFIG_CAN=y