Merge commit '60b30c0363
' as 'lib/lufa'
This commit is contained in:
commit
8655d4f494
1455 changed files with 394541 additions and 0 deletions
BIN
lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll
Normal file
BIN
lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll
Normal file
Binary file not shown.
BIN
lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef
Normal file
BIN
lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef
Normal file
Binary file not shown.
13
lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml
Normal file
13
lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml
Normal file
|
@ -0,0 +1,13 @@
|
|||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="vsixmanifest" ContentType="text/xml"/>
|
||||
<Default Extension="cache" ContentType="text/xml"/>
|
||||
<Default Extension="png" ContentType="application/octet-stream"/>
|
||||
<Default Extension="txt" ContentType="text/plain"/>
|
||||
<Default Extension="xml" ContentType="text/xml"/>
|
||||
<Default Extension="zip" ContentType="application/octet-stream"/>
|
||||
<Default Extension="dll" ContentType="application/octet-stream" />
|
||||
<Default Extension="pkgdef" ContentType="text/plain" />
|
||||
<Default Extension="htm" ContentType="text/html" />
|
||||
<Default Extension="msha" ContentType="text/html" />
|
||||
<Default Extension="mshc" ContentType="application/octet-stream"/>
|
||||
</Types>
|
18
lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml
Normal file
18
lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<AsfContentProvider Version="1.0.0">
|
||||
<Identifier Id="0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Org>FourWalledCubicle</Org>
|
||||
<ShortName>LUFA</ShortName>
|
||||
<Author>Dean Camera</Author>
|
||||
<Description/>
|
||||
<FollowFolderStructure>True</FollowFolderStructure>
|
||||
</Identifier>
|
||||
<AsfContent Type="zip" Path="contents.zip">
|
||||
<Content>
|
||||
<Version>0</Version>
|
||||
<HelpURL/>
|
||||
<Locator/>
|
||||
<DbXMLPath>content.xml.cache</DbXMLPath>
|
||||
<Description/>
|
||||
</Content>
|
||||
</AsfContent>
|
||||
</AsfContentProvider>
|
32
lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest
Normal file
32
lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
|
||||
<Identifier Id="FourWalledCubicle.LUFA.0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Name>LUFA Library</Name>
|
||||
<Author>Dean Camera</Author>
|
||||
<Version>0</Version>
|
||||
<MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl>
|
||||
<Description xml:space="preserve">LUFA, the Lightweight USB Framework for AVRs.</Description>
|
||||
|
||||
<License>License.txt</License>
|
||||
<Icon>LUFA_thumb.png</Icon>
|
||||
<PreviewImage>LUFA.png</PreviewImage>
|
||||
|
||||
<SupportedProducts>
|
||||
<IsolatedShell Version="7.0">AtmelStudio</IsolatedShell>
|
||||
</SupportedProducts>
|
||||
|
||||
<SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.5"/>
|
||||
<Locale>1033</Locale>
|
||||
|
||||
<AllUsers>false</AllUsers>
|
||||
</Identifier>
|
||||
|
||||
<References/>
|
||||
|
||||
<Content>
|
||||
<VsPackage>LUFA.pkgdef</VsPackage>
|
||||
<CustomExtension Type="MSHelp">helpcontentsetup.msha</CustomExtension>
|
||||
<CustomExtension Type="asf-manifest">asf-manifest.xml</CustomExtension>
|
||||
</Content>
|
||||
</Vsix>
|
38
lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
Normal file
38
lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py
Normal file
|
@ -0,0 +1,38 @@
|
|||
"""
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2017.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
"""
|
||||
|
||||
import sys
|
||||
sys.path.append("ProjectGenerator")
|
||||
|
||||
|
||||
def show_message(message):
|
||||
print("[Project Generator] %s" % message)
|
||||
sys.stdout.flush()
|
||||
|
||||
|
||||
def main(lufa_root_path):
|
||||
try:
|
||||
from asf_avrstudio5_interface import PythonFacade
|
||||
except ImportError:
|
||||
print("Fatal Error: The ASF project generator is missing.")
|
||||
return 1
|
||||
|
||||
p = PythonFacade(lufa_root_path)
|
||||
|
||||
show_message("Checking database sanity...")
|
||||
p.check_extension_database_sanity(lufa_root_path)
|
||||
|
||||
show_message("Building cache files...")
|
||||
p.generate_extension_cache_files(lufa_root_path)
|
||||
|
||||
show_message("Cache files created.")
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main(sys.argv[1]))
|
|
@ -0,0 +1,36 @@
|
|||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2017.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework VSIX XML transform file -->
|
||||
|
||||
<!-- Updates an asf-manifest.xml document to add appropriate version
|
||||
information. -->
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<xsl:output method="xml" omit-xml-declaration="yes"/>
|
||||
|
||||
<!-- Need to input the LUFA version for later use -->
|
||||
<xsl:param name="lufa-version"/>
|
||||
|
||||
<!-- Recursively match and copy/process all nodes/attributes -->
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Update the LUFA version to the version passed as a parameter -->
|
||||
<xsl:template match="Version">
|
||||
<xsl:copy>
|
||||
<xsl:value-of select="substring($lufa-version, 1, 2)"/>
|
||||
<xsl:text>.</xsl:text>
|
||||
<xsl:value-of select="substring($lufa-version, 3, 2)"/>
|
||||
<xsl:text>.</xsl:text>
|
||||
<xsl:value-of select="substring($lufa-version, 5, 2)"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
|
@ -0,0 +1,33 @@
|
|||
<!--
|
||||
LUFA Library
|
||||
Copyright (C) Dean Camera, 2017.
|
||||
|
||||
dean [at] fourwalledcubicle [dot] com
|
||||
www.lufa-lib.org
|
||||
-->
|
||||
|
||||
<!-- Atmel Studio framework VSIX XML transform file -->
|
||||
|
||||
<!-- Updates the version element of a Visual Studio VSIX manifest file to the
|
||||
value passed as a parameter to the stylesheet transform -->
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vs="http://schemas.microsoft.com/developer/vsx-schema/2010" version="1.0">
|
||||
<xsl:output method="xml" omit-xml-declaration="yes"/>
|
||||
|
||||
<!-- Need to input the extension version for later use -->
|
||||
<xsl:param name="extension-version"/>
|
||||
|
||||
<!-- Recursively match and copy/process all nodes/attributes -->
|
||||
<xsl:template match="@*|node()">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Update the extension version to the version passed as a parameter -->
|
||||
<xsl:template match="vs:Version">
|
||||
<xsl:copy>
|
||||
<xsl:value-of select="$extension-version"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
Loading…
Add table
Add a link
Reference in a new issue