Module Driver - Mainboard Restriction
#1 Posted : Friday, December 28, 2012 9:51:32 PM(UTC)

Rank: Gadgeteer

Joined: 12/16/2011(UTC)
Posts: 10

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?

Twitter: devhammer
Boards owned: FEZ Spider; FEZ Hydra; FEZ Cerberus, FEZ Cerbuino Bee, Netduino
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.035 seconds.