The latest development version of this page may be more current than this released 2.7.5 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 ifs and menus.)

Default

  • 40

Kconfig definition

At drivers/display/Kconfig.microbit:15

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:74drivers/display/Kconfig:25

Menu path: (Top) → Device Drivers → Display Drivers → BBC micro:bit 5x5 LED Display support

config MICROBIT_DISPLAY_STR_MAX
    int "Maximum length of strings that can be shown on the display"
    range 3 255
    default 40
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)