- Rename board directory: ews_board -> ews - Rename board files: ews_board.dts -> ews.dts, ews_board_defconfig -> ews_defconfig - Update board identifier and compatible strings - Add board.cmake for runner configuration - Set BOARD_ROOT in CMakeLists.txt to enable custom board discovery - Update all documentation with new board name: west build -b ews
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 |