The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_MICROBIT_DISPLAY_STR_MAX

Maximum length of strings that can be shown on the display

Type: int

Help

This value specifies the maximum length of strings that can be displayed using the mb_display_string() and mb_display_print() APIs.

Direct dependencies

MICROBIT_DISPLAY && DISPLAY

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/display/Kconfig.microbit:20

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:72drivers/display/Kconfig:22

Menu path: (top menu) → Device Drivers → Display Drivers

config MICROBIT_DISPLAY_STR_MAX
    int
    prompt "Maximum length of strings that can be shown on the display" if MICROBIT_DISPLAY && DISPLAY
    range 3 255 if MICROBIT_DISPLAY && DISPLAY
    default 40 if MICROBIT_DISPLAY && DISPLAY
    depends on MICROBIT_DISPLAY && DISPLAY
    help
      This value specifies the maximum length of strings that can
      be displayed using the mb_display_string() and mb_display_print()
      APIs.

(Definitions include propagated dependencies, including from if’s and menus.)