- Remove CONFIG_BOARD_EWS from defconfig (auto-generated in new Zephyr) - Replace deprecated 'bus-speed' with 'bit-rate' properties for FDCAN - Replace deprecated 'bus-speed-data' with 'bit-rate-data' properties
22 lines
478 B
Plaintext
22 lines
478 B
Plaintext
# EWS Board Configuration
|
|
|
|
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 |