- Use CONFIG_USB_DEVICE_STACK_NEXT (new USB stack) - Replace CONFIG_USB_CDC_ACM with CONFIG_USBD_CDC_ACM_CLASS - Remove deprecated CONFIG_USB_DEVICE_COMPOSITE - Add CONFIG_HAS_STM32CUBE=y to defconfig (required for USB) - Remove networking configs (not needed for basic USB CDC) - Based on actual Zephyr 4.2.0 samples
10 lines
143 B
Plaintext
10 lines
143 B
Plaintext
# EWS Board Configuration
|
|
|
|
# Enable STM32Cube (required for USB)
|
|
CONFIG_HAS_STM32CUBE=y
|
|
|
|
# Enable GPIO
|
|
CONFIG_GPIO=y
|
|
|
|
# Enable CAN
|
|
CONFIG_CAN=y |