From 736a62b4d327c39da5e82c04c135338d9c0ef1ae Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 16 Feb 2022 13:00:15 +0100 Subject: [PATCH] boards: arm: bl654_usb: move Kconfig definition to Kconfig A Kconfig option was defined in the Kconfig.defconfig file. Move it to the board Kconfig file since definitions are not allowed in defconfig files, just change default values. Signed-off-by: Gerard Marull-Paretas --- boards/arm/bl654_usb/Kconfig | 6 ++++++ boards/arm/bl654_usb/Kconfig.defconfig | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/arm/bl654_usb/Kconfig b/boards/arm/bl654_usb/Kconfig index a445fd15f5e..a5a6e500c36 100644 --- a/boards/arm/bl654_usb/Kconfig +++ b/boards/arm/bl654_usb/Kconfig @@ -8,3 +8,9 @@ config BOARD_ENABLE_DCDC select SOC_DCDC_NRF52X default y depends on BOARD_BL654_USB + +config BL654_USB_SERIAL_BACKEND_CDCACM + bool "Use CDC ACM UART as backend for BL654 USB adapter" + default y if !USB_DEVICE_BLUETOOTH + help + Use CDC ACM UART as backend for console or shell. diff --git a/boards/arm/bl654_usb/Kconfig.defconfig b/boards/arm/bl654_usb/Kconfig.defconfig index 952ada7eeab..0a5c2f5d356 100644 --- a/boards/arm/bl654_usb/Kconfig.defconfig +++ b/boards/arm/bl654_usb/Kconfig.defconfig @@ -26,12 +26,6 @@ config FLASH_LOAD_OFFSET config USB_CDC_ACM default n if USB_DEVICE_BLUETOOTH -config BL654_USB_SERIAL_BACKEND_CDCACM - bool "Use CDC ACM UART as backend for BL654 USB adapter" - default y if !USB_DEVICE_BLUETOOTH - help - Use CDC ACM UART as backend for console or shell. - if BL654_USB_SERIAL_BACKEND_CDCACM config UART_CONSOLE