|
From: | ThomasK |
Subject: | Re: [Simulavr-devel] atmega168 |
Date: | Sat, 11 Jul 2009 09:17:55 +0200 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
Hi Michael,
Also, I have a pretty good idea how to fuel the factory, but that should be a separate patch.
If you mean, how to set AVRFactory with the different AVRDevices, then take a look at Onno's repo. He has solved it by using a structure with a Constructor and a macro. So you have to declare such structure once (in the atmega128.cpp for example) and then it will be automaticly registered in AVRFactory.
cu, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |