Rename board from ews_board to ews and fix board discovery
- 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
This commit is contained in:
22
firmware/canfd_cdc_composite/boards/arm/ews/ews_defconfig
Normal file
22
firmware/canfd_cdc_composite/boards/arm/ews/ews_defconfig
Normal file
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user