Fix USB configuration for Zephyr 4.2.0

- 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
This commit is contained in:
2025-12-08 12:01:41 +01:00
parent 05a25c3900
commit 8051f18b9b
2 changed files with 10 additions and 13 deletions

View File

@@ -1,5 +1,8 @@
# EWS Board Configuration
# Enable STM32Cube (required for USB)
CONFIG_HAS_STM32CUBE=y
# Enable GPIO
CONFIG_GPIO=y