blob: 1a89b70db5c08ac49bba48beee1a629e725dfdd2 [file] [log] [blame]
# Copyright 2024 Rahul Arasikere <arasikere.rahul@gmail.com>
# Copyright 2024 DNDG srl
# SPDX-License-Identifier: Apache-2.0
if BOARD_ARDUINO_OPTA
if NETWORKING
config NET_L2_ETHERNET
default y
endif # NETWORKING
if USB_DEVICE_STACK
config USB_DEVICE_PRODUCT
default "Arduino Opta"
config USB_DEVICE_PID
default 0x0164
config USB_DEVICE_VID
default 0x35d1
config USB_DEVICE_INITIALIZE_AT_BOOT
default y
if LOG
# Logger cannot use itself to log
choice USB_CDC_ACM_LOG_LEVEL_CHOICE
default USB_CDC_ACM_LOG_LEVEL_OFF
endchoice
# Set USB log level to error only
choice USB_DEVICE_LOG_LEVEL_CHOICE
default USB_DEVICE_LOG_LEVEL_ERR
endchoice
endif # LOG
endif # USB_DEVICE_STACK
endif # BOARD_ARDUINO_OPTA