Hello On 19 October 2010 01:49, [email protected] <[email protected]> wrote: > On Mon Oct 18 18:02 , 'Petr Hluzín' <[email protected]> sent: >>Simulavr is running on desktop. Users can afford waste few KB if it >>makes their or our lives easier. Such optimization does not make a >>sense. >> >>Was it a joke? > > No. > For some reason, I was envisioning the possibility of a *lot* of devices. > That said, even if there were that many, > templating is no worse than separate code for each.
In distant future there is a plan for a script to process Atmel's XML file with processor definitions and generate CPP files for all devices automatically. When it happens we will not need these aids workarounding human weakness. It would also probably make the script more complicated and more difficult to verify/understand the generated code. Onno Kortmann wrote a preliminary version: http://git.savannah.gnu.org/cgit/simulavr.git/tree/src/fab/avr-fab.py -- Petr Hluzin _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
