1# Microbit display driver configuration options
2
3# Copyright (c) 2017 Jan Van Winkel <jan.van_winkel@dxplore.eu>
4# SPDX-License-Identifier: Apache-2.0
5
6config MICROBIT_DISPLAY
7	bool "BBC micro:bit 5x5 LED Display support"
8	depends on BOARD_BBC_MICROBIT || BOARD_BBC_MICROBIT_V2
9	depends on PRINTK
10	help
11	  Enable this to be able to display images and text on the 5x5
12	  LED matrix display on the BBC micro:bit.
13
14config MICROBIT_DISPLAY_STR_MAX
15	int "Maximum length of strings that can be shown on the display"
16	range 3 $(UINT8_MAX)
17	default 40
18	depends on MICROBIT_DISPLAY
19	help
20	  This value specifies the maximum length of strings that can
21	  be displayed using the mb_display_string() and mb_display_print()
22	  APIs.
23