35 lines
679 B
Plaintext
35 lines
679 B
Plaintext
# USB Device Stack for gs_usb (keep legacy for compatibility)
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
CONFIG_USB_DEVICE_PRODUCT="EWS gs_usb CAN-FD"
|
|
CONFIG_USB_DEVICE_VID=0x1d50
|
|
CONFIG_USB_DEVICE_PID=0x606f
|
|
CONFIG_USB_DEVICE_MANUFACTURER="EWS"
|
|
|
|
# Ring buffer for USB communication
|
|
CONFIG_RING_BUFFER=y
|
|
|
|
# Serial and UART
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_LINE_CTRL=y
|
|
|
|
# CAN configuration
|
|
CONFIG_CAN=y
|
|
CONFIG_CAN_FD_MODE=y
|
|
|
|
# GPIO for PFET control
|
|
CONFIG_GPIO=y
|
|
|
|
# Console and Shell
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# Logging
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_DEFAULT_LEVEL=3
|
|
|
|
# System configuration
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
CONFIG_HEAP_MEM_POOL_SIZE=8192
|
|
|
|
# Device tree and drivers
|
|
CONFIG_PINCTRL=y |