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 <Zephyr>/drivers/display/Kconfig.microbit:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:72<Zephyr>/drivers/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.)