davetcc / tcMenu

Menu library for Arduino, mbed and ESP with designer UI and remote control capabilities.
https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/
Apache License 2.0
271 stars 25 forks source link

Ensure setting up a completely custom display works on latest code #410

Closed davetcc closed 8 months ago

davetcc commented 8 months ago

Describe the bug https://github.com/davetcc/tcMenu/discussions/368 see the end of the above discussion, it appears that the custom display option generates code that does not compile. This needs to be fixed as it should actually at least compile as a starting point.

To Reproduce From designer create a new project for ESP32 and then choose the various custom / no display options.

Expected behavior The code should at least compile, as a starting point for building your own display logic.

Desktop UI issue (please complete the following information): Any OS, latest designer.

Embedded environment - if applicable ESP32, but effectively all.

davetcc commented 8 months ago

There's a second point here, with the release of Embed Control mobile very close by, we should probably make it easier to generate menu structures that are purely for control and monitor purposes, and either use a different (or even no) UI. This is already supported with the no display and no input plugin, but it should be tested to make sure it includes the least code possible.