In the voice of prof. Farnsworth: Good news everybody!
Ok, I've started a new thread
here.
Also, I have been working long nights this week on the STC-1000+ firmware. I have cleaned up the project file structure, moved the user manual to markdown (from pdf) so it can be directly viewed on github, but mainly I have done a whole lot of refactoring. I've been reluctant to do any major changes since the firmware has reached a stage where is seems pretty stable, but now I though screw that, I'm not playing it safe, I'm in it to win it.
So, I have rewritten the handling of the Set menu (which was pretty ugly, but worked). I have also done a lot of other code size optimizations. The result should be code that is (mostly) more readable, and more maintainable. None of this should be noticeable to the user (i.e. it should not change functionality). But this has saved a lot of code space.
I may have introduced new bugs, but hopefully nothing major. On the other hand, now there is actually code space left to fix any bugs if they arise.
The biggest win is not for this firmware however. I've merged the changes to the mash control firmware, and now had space to implement the regulator in 32 bits instead of 16. That is a major win.
So, please check it out (in the work branch of each project) and report any bugs! The mash control firmware is just getting started, I need you help in improving it!
Cheers!
//mats