Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8" ?>
- <GadgeteerDefinitions xmlns="http://schemas.microsoft.com/Gadgeteer/2011/Hardware">
- <ModuleDefinitions>
- <!-- This module definition should be filled in. Mouse over any attribute name to get more help about that attribute. -->
- <!-- The Unique ID is auto-generated and does not usually need to be modified. -->
- <ModuleDefinition Name="UsbHost"
- UniqueId="7ed5f02c-67e1-4cc9-8730-c11e3f5877c0"
- Manufacturer="GHI Electronics"
- Description="A UsbHost module"
- InstanceName="usbHost"
- Type="Gadgeteer.Modules.GHIElectronics.UsbHost"
- ModuleSuppliesPower="false"
- HardwareVersion="1.0"
- Image="Resources\Image.jpg"
- BoardHeight="22"
- BoardWidth="32"
- MinimumGadgeteerCoreVersion="2.42.500"
- HelpUrl="tinyclr.com"
- >
- <!-- Assemblies listed here are added to the project as references by the designer whenever this module is instantiated. -->
- <!-- This functionality is used to -->
- <!-- (1) include the output assemblies of this template -->
- <!-- (2) include other custom assemblies that the module relies on (NB you must edit msm.wxs so these are installed too) -->
- <!-- (3) indicate a reliance on a Gadgeteer assembly other than Gadgeteer.dll (which is always referenced) -->
- <!-- Some examples are provided inline: -->
- <Assemblies>
- <!-- This lists the assemblies which provides the API to this module, i.e. the output assemblies of this template. ((1) in the list above) -->
- <!-- If you do not provide support for both NETMF 4.1 and 4.2, the relevant lines should be removed -->
- <!-- NB you should use the same name for the same assembly's NETMF 4.1 and NETMF 4.2 versions, since this will make it easier for users to change framework versions -->
- <Assembly MFVersion="4.1" Name="GTM.GHIElectronics.UsbHost"/>
- <Assembly MFVersion="4.2" Name="GTM.GHIElectronics.UsbHost"/>
- <!-- If your module relies on another assembly, then list it here (and see the msm.wxs file since you need to include it in the installer too), e.g.: -->
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.Hardware" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.IO" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.System" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.USBHost" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.Hardware" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.IO" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.System" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.USBHost" ErrorMessage="A required library could not be found."/>
- <!-- If your module either relies upon or is often used with a .NET Gadgeteer assembly other than Gadgeteer.dll, then list it here -->
- <!-- so that the designer automatically includes it when your module is included - e.g. by uncommenting the lines below -->
- <!-- These .NET Gadgeteer assemblies were separated out for NETMF 4.2, so don't need to be listed for NETMF 4.1 as separate -->
- <!-- Uncomment any of the below that you require for this module. -->
- <!--
- <Assembly MFVersion="4.2" Name="Gadgeteer.SPI" />
- <Assembly MFVersion="4.2" Name="Gadgeteer.Serial" />
- <Assembly MFVersion="4.2" Name="Gadgeteer.DaisyLink" />
- -->
- <!-- If this is a networking module, then uncomment all four lines below to include Gadgeteer's web client/web server libraries -->
- <!--
- <Assembly MFVersion="4.1" Name="Gadgeteer.WebClient" />
- <Assembly MFVersion="4.1" Name="Gadgeteer.WebServer" />
- <Assembly MFVersion="4.2" Name="Gadgeteer.WebClient" />
- <Assembly MFVersion="4.2" Name="Gadgeteer.WebServer" />
- -->
- </Assemblies>
- <!--
- This is an example socket specification with two sockets on the board.
- The socket positions are specified in mm from the top left corner of the board, with the orientation 90 indicating the socket notches are pointing upwards (0=right, 180=left, 270=down)
- -->
- <Sockets>
- <!-- This socket is compatible with socket type H which has electrical connections to pins 3,4 and 5 -->
- <Socket Left="14.41" Top="18.75" Orientation="90" ConstructorOrder="1" TypesLabel="H">
- <Types>
- <Type>H</Type>
- </Types>
- <Pins>
- <Pin Shared="false">3</Pin>
- <Pin Shared="false">4</Pin>
- <Pin Shared="false">5</Pin>
- </Pins>
- </Socket>
- </Sockets>
- <!-- Use the ExtraLibrariesRequired element if this module requires specific firmware libraries to be provided by the mainboard, and so is limited to a subset of mainboards. -->
- <ExtraLibrariesRequired>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.Hardware" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.IO" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.System" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.1" Name="GHIElectronics.NETMF.USBHost" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.Hardware" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.IO" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.System" ErrorMessage="A required library could not be found."/>
- <Assembly MFVersion="4.2" Name="GHI.Premium.USBHost" ErrorMessage="A required library could not be found."/>
- </ExtraLibrariesRequired>
- <!-- Also use the ExtraLibrariesRequired element if this module represents built-in functionality in a mainboard, listing the mainboard's driver as the required assembly. -->
- <!--
- <ExtraLibrariesRequired>
- <Assembly MFVersion="4.1" Name="GHIElectronics.Gadgeteer.MainboardName" ErrorMessage="This module is built-in to the MainboardName mainboard, so cannot be used with any other mainboard." />
- <Assembly MFVersion="4.2" Name="GHIElectronics.Gadgeteer.MainboardName" ErrorMessage="This module is built-in to the MainboardName mainboard, so cannot be used with any other mainboard." />
- </ExtraLibrariesRequired>
- -->
- <!-- Use the ProvidedSocket tag if this module provides a socket that another module can plug into -->
- <!-- The example below is for DaisyLink modules which provide a socket type "*" -->
- <!--
- <ProvidedSockets>
- <ProvidedSocket Label="*" Left="30" Top="10" Orientation="0" ConstructorParameter="DaisyLinkSocketNumber">
- <Types>
- <Type>*</Type>
- </Types>
- </ProvidedSocket>
- </ProvidedSockets>
- -->
- </ModuleDefinition>
- </ModuleDefinitions>
- </GadgeteerDefinitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement