Skip to content

Large Menus #410

Open
Open
@TGYK

Description

@TGYK

I am working on a project which is basically just a configuration interface for an SPI-driven peripheral. I am running into space issues when attempting to implement large choose menus within my code - I understand the limitation of 16 items with the use of macros. So, I followed the dynamic example as a guide to manually implement larger menus, implementing it using constMEM and MEMMODE where applicable but am running into issues with both program space and RAM usage.

Is there any way to make larger menus work using this library?

A basic skeleton of the menu is shown below:

  • Root
    • Choose (8 options)
    • Choose (2 options)
    • Choose (2 options)
    • Choose (5 options) (These 5 submenus use the same prompts)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
    • Choose (5 options) (These 5 submenus use the same prompts)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
        1. Choose (64 options)
    • Choose (5 options) (These 5 submenus use the same prompts)
        1. Choose (32 options)
        1. Choose (32 options)
        1. Choose (32 options)
        1. Choose (32 options)
        1. Choose (32 options)
    • Choose (5 options) (These 5 submenus use the same prompts)
        1. Choose (120 options)
        1. Choose (120 options)
        1. Choose (120 options)
        1. Choose (120 options)
        1. Choose (120 options)
    • Choose (5 options) (These 5 submenus use the same prompts)
        1. Choose (127 options)
        1. Choose (127 options)
        1. Choose (127 options)
        1. Choose (127 options)
        1. Choose (127 options)
    • Exit

Activity

neu-rah

neu-rah commented on Mar 26, 2023

@neu-rah
Owner

Focusing on that on version 5, for now the SD example uses long lists of files, provided that they are treated all the same with the same handler, differentiate later by index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @TGYK@neu-rah

        Issue actions

          Large Menus · Issue #410 · neu-rah/ArduinoMenu