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:17

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:66drivers/display/Kconfig:19

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.)