Skip to content

Commit

Permalink
drivers: console: remove unused CONSOLE selection
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tejlmand authored and github-actions[bot] committed Sep 28, 2021
1 parent 40e641d commit d12331e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion boards/arm/lpcxpresso54114/lpcxpresso54114_m0_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpunet_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ CONFIG_HW_STACK_PROTECTION=y

# Enable GPIO
CONFIG_GPIO=y

# Enable console
CONFIG_CONSOLE=y

0 comments on commit d12331e

Please sign in to comment.