I just got the hang the last days to write a new firmware based on help classes (wrappers, etc) that I am using myself. The flow is allot of inspiration from the original one as some of the code even if one does not see it.
But it comes with a swist, it has model-view-controller thinking and allot of callbacks, some template and the fist version is not done yet. It is not the normal arduino stuff (I think I am breaking allot of arduino code guidance on purpose). I don’t follow code convension from Arduino, just my own guts and experiments.
And it is not a finish firmware, it is a “work in progress”/vanilla.
Stucturewice I try to keep the code as flexible as possible.
My only guidens it that its orginial features chould not go over more then 37% of program storage and 30% dynamic memory right now. After that I try to focus on performance.