thanks for your awesome library. I'm already doing some cool things with it.
You're welcome, I'm always glad to hear how it is used.
Those two "menuSave" will then clash when compiling.
Have you tried setting the use fully qualified names option, in the app store version, it's on the ROOT menu, on the Java version it's on the Generator page.
This gives fully qualified variable names. EG: menuEthernetSave and menuWiFiSave
But noted, in the future I'll see if it's possible to actually provide manual names, in case that is not enough.
It would be good to be able to either generate the enum-values OR add a name which references an already existing array.
For enums, we are introducing a new type at the moment called ScrollChoiceMenuItem, that will compliment rather than replace the current support for more complex cases, with this you'll have far more flexibility on how to provide the values. It can change size and values at runtime. It will be able to read values from:
* A fixed array in memory
* EEPROM storage in a fixed array (optionally cached)
* Delegate Callback function that will be asked for a string equivalent for each value.
This will give far more flexibility for enumerations, and allow for pretty much every case.