Relative to my question in post #272, if the dwell tables can't be dynamically generated by precompiler directives - the idea crossed my mind of creating another conditional mode of operation to generate the initializers could be a better solution. That way the user could set the compiler directive and customize their dwell targets. Then when the mcu boots in this config mode the populate functions would spit out their customized tables to the uart as static initializers to be pasted directly into the source. That would eliminate the populate functions from being run at bootup in normal mode, shortening start time by 10ms or so, as well as alleviating the need to create yet another external spreadsheet tool to generate the tables.
If I don't hear from you I'm going to code toward that goal as it's a very simple change.
Bookmarks