zephyr/subsys/fb/Kconfig
Sebastian Bøe 0438657193 kconfig: Have the 'framebuffer' menu depend on it being enabled
As this was written before, a 'Framebuffer' menu entry was present,
and to see what kind of features or configuration it had, one had to
navigate into the menu to determine if anything related to
'Framebuffer' was enabled at all.

Now there is an unchecked box on the 'framebuffer' menu when it is
disabled, which clearly expresses that it is disabled without the need
to enter the menu entry.

This change only changes the menu layout, and not the dependencies of
any options.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2018-12-30 16:24:50 -05:00

44 lines
915 B
Plaintext

# Kconfig - frame buffer configuration options
#
# Copyright (c) 2018 Phytec Messtechnik GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig CHARACTER_FRAMEBUFFER
bool "Character framebuffer for dot matrix displays"
help
Character framebuffer for dot matrix displays.
if CHARACTER_FRAMEBUFFER
config CHARACTER_FRAMEBUFFER_USE_DEFAULT_FONTS
bool "Use default fonts"
default y
help
Use default fonts.
config CHARACTER_FRAMEBUFFER_SHELL
bool "Character Framebuffer shell"
depends on SHELL
help
Activate shell module that provides Framebuffer commands to the
console.
if CHARACTER_FRAMEBUFFER_SHELL
config CHARACTER_FRAMEBUFFER_SHELL_DRIVER_NAME
string
default "SSD1673" if SSD1673
default "SSD1306" if SSD1306
help
Character Framebuffer Display Driver Name
endif
module = CFB
module-str = cfb
source "subsys/logging/Kconfig.template.log_config"
endif # CHARACTER_FRAMEBUFFER