Deprecate BT_CTLR, and add a new HAS_BT_CTLR as a virtual option which specific users (like BT_LL_SW_SPLIT) select. This also means that we can remove all places that were forcefully enabling the BT_CTLR option, and instead we now depend on devicetree to get some local LL HCI driver enabled which in turn also enables the HAS_BT_CTLR option. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
55 lines
915 B
Text
55 lines
915 B
Text
# CTHINGS.CO Connectivity Card board configuration
|
|
|
|
# Copyright (c) 2024 CTHINGS.CO
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_CTCC_NRF52840
|
|
|
|
if BOARD_SERIAL_BACKEND_CDC_ACM
|
|
|
|
config USB_DEVICE_STACK
|
|
default y
|
|
|
|
config USB_CDC_ACM
|
|
default SERIAL
|
|
|
|
config CONSOLE
|
|
default y
|
|
|
|
config UART_CONSOLE
|
|
default CONSOLE
|
|
|
|
config USB_DEVICE_INITIALIZE_AT_BOOT
|
|
default y if !MCUBOOT && CONSOLE
|
|
|
|
config USB_DEVICE_REMOTE_WAKEUP
|
|
default n
|
|
|
|
if LOG
|
|
|
|
# Turn off logging for USB CDC ACM
|
|
choice USB_CDC_ACM_LOG_LEVEL_CHOICE
|
|
default USB_CDC_ACM_LOG_LEVEL_OFF
|
|
endchoice
|
|
|
|
# Turn off logging for USB Device
|
|
choice USB_DEVICE_LOG_LEVEL_CHOICE
|
|
default USB_DEVICE_LOG_LEVEL_OFF
|
|
endchoice
|
|
|
|
# Wait 5s at startup for logging
|
|
config LOG_PROCESS_THREAD_STARTUP_DELAY_MS
|
|
default 5000
|
|
|
|
endif # LOG
|
|
|
|
if USB_DEVICE_STACK
|
|
|
|
config SERIAL
|
|
default y
|
|
|
|
endif # USB_DEVICE_STACK
|
|
|
|
endif # BOARD_SERIAL_BACKEND_CDC_ACM
|
|
|
|
endif # BOARD_CTCC_NRF52840
|