I'm working on a driver for a Gadgeteer module, and I noticed that with the new builder templates, it's easy to restrict the use of a module to a specific mainboard by adding the mainboard's driver to the <ExtraLibrariesREquired> element in GadgeteerHardware.xml.
My question is, can you support more than one mainboard in the same driver? That is, could one add two different mainboards to this section and still have the driver work?
In my case, the driver relies on the presence of the GHI premium functions OutputCompare (for 4.1) or SignalGenerator (for 4.2), which are only available on FEZ Spider currently, but will likely be available on FEZ Cobra II, and a member of the community is working on custom firmware for the FEZ Hydra to support SignalGenerator, so I'd like to be able to support that mainboard as well, though I'd also need to figure out how to require the managed assembly used by the custom firmware.
Am I trying to do more than is currently possible with this template?
Blog:
http://devhammer.net Twitter: devhammer
Boards owned: FEZ Spider; FEZ Hydra; FEZ Cerberus, FEZ Cerbuino Bee, Netduino