neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
929 stars 189 forks source link

Large Menus #410

Open TGYK opened 1 year ago

TGYK commented 1 year ago

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:

neu-rah commented 1 year ago

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.