From d12331ea4b5d8660f50f1dde007e1441849bc361 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Tue, 14 Sep 2021 22:51:04 +0200 Subject: [PATCH] drivers: console: remove unused CONSOLE selection Fixes: #38403 Removing unneeded `CONFIG_CONSOLES=y` occurrences where no console driver is selected. Such selection results in an empty drivers__console zephyr library, which again results in the following warning message. > No SOURCES given to Zephyr library: drivers__console > > Excluding target from build. Signed-off-by: Torsten Rasmussen --- boards/arm/arduino_nano_33_ble/arduino_nano_33_ble_defconfig | 1 - boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig | 1 - .../nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig | 3 --- boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig | 3 --- 4 files changed, 8 deletions(-) diff --git a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble_defconfig b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble_defconfig index ba8eeee9315c..5fbe4ccdfb08 100644 --- a/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble_defconfig +++ b/boards/arm/arduino_nano_33_ble/arduino_nano_33_ble_defconfig @@ -11,7 +11,6 @@ CONFIG_HW_STACK_PROTECTION=y # enable peripherals CONFIG_GPIO=y CONFIG_SERIAL=y -CONFIG_CONSOLE=y # enable sam-ba bootloader on legacy mode CONFIG_BOOTLOADER_BOSSA=y diff --git a/boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig b/boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig index 6333c49bc3e0..8c272dc10052 100644 --- a/boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig +++ b/boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig @@ -7,7 +7,6 @@ CONFIG_SOC_LPC54114_M0=y CONFIG_SOC_SERIES_LPC54XXX=y CONFIG_BOARD_LPCXPRESSO54114_M0=y -CONFIG_CONSOLE=y CONFIG_USE_SEGGER_RTT=y CONFIG_SERIAL=n CONFIG_CORTEX_M_SYSTICK=y diff --git a/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig b/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig index 37b621689bab..1ceb2a20bce1 100644 --- a/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig +++ b/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig @@ -13,9 +13,6 @@ CONFIG_HW_STACK_PROTECTION=y # enable GPIO CONFIG_GPIO=y -# enable console -CONFIG_CONSOLE=y - # additional board options CONFIG_GPIO_AS_PINRESET=y CONFIG_NFCT_PINS_AS_GPIOS=y diff --git a/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig b/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig index aa0fb99d0a2f..33dc6fbdeddd 100644 --- a/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig +++ b/boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig @@ -12,6 +12,3 @@ CONFIG_HW_STACK_PROTECTION=y # Enable GPIO CONFIG_GPIO=y - -# Enable console -CONFIG_CONSOLE=y