diff options
author | tmk <hasu@tmk-kbd.com> | 2015-05-13 11:13:10 +0900 |
---|---|---|
committer | tmk <hasu@tmk-kbd.com> | 2015-05-13 11:13:10 +0900 |
commit | f6d56675f9f981c5464f0ca7a1fbb0162154e8c5 (patch) | |
tree | 57c9d4b3808a26116ae0ee7956fc00b84841aa2b /protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX | |
parent | 4d116a04e94cf0d19317d5b44e4fa9f34a3e5594 (diff) |
Squashed 'tmk_core/' changes from caca2c0..dc0e46e
dc0e46e Rename LUFA to LUFA-git
3bfa7fa Remove LUFA-120730
215b764 Merge commit 'afa0f22a9299686fd88f58ce09c5b521ac917e8f' as 'protocol/lufa/LUFA'
afa0f22 Squashed 'protocol/lufa/LUFA/' content from commit def7fca
c0c42fa Remove submodule of LUFA
30f897d Merge commit '87ced33feb74e79c3281dda36eb6d6d153399b41' as 'protocol/usb_hid/USB_Host_Shield_2.0'
87ced33 Squashed 'protocol/usb_hid/USB_Host_Shield_2.0/' content from commit aab4a69
14f6d49 Remove submodule of USB_Host_Shield_2.0
git-subtree-dir: tmk_core
git-subtree-split: dc0e46eaa4367d4e218f8816e3c117895820f07c
Diffstat (limited to 'protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX')
m--------- | protocol/lufa/LUFA-git | 0 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.dll | bin | 0 -> 749056 bytes | |||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.pkgdef | bin | 0 -> 2242 bytes | |||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/[Content_Types].xml | 13 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/asf-manifest.xml | 18 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/extension.vsixmanifest | 33 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/generate_caches.py | 38 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt | 36 | ||||
-rw-r--r-- | protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt | 33 |
9 files changed, 171 insertions, 0 deletions
diff --git a/protocol/lufa/LUFA-git b/protocol/lufa/LUFA-git deleted file mode 160000 -Subproject b6c18b2a7c544653efbe12a1d4e8ba65e7d83c3 diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.dll b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.dll Binary files differnew file mode 100644 index 0000000000..665b8029f0 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.dll diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.pkgdef b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.pkgdef Binary files differnew file mode 100644 index 0000000000..b1b2f943b8 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/LUFA.pkgdef diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/[Content_Types].xml b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/[Content_Types].xml new file mode 100644 index 0000000000..05ef8b6ba4 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/[Content_Types].xml @@ -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>
diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/asf-manifest.xml b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/asf-manifest.xml new file mode 100644 index 0000000000..794fd689e1 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/asf-manifest.xml @@ -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>
diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/extension.vsixmanifest b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/extension.vsixmanifest new file mode 100644 index 0000000000..ea6edeb258 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/extension.vsixmanifest @@ -0,0 +1,33 @@ +<?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="6.1">AtmelStudio</IsolatedShell>
+ <IsolatedShell Version="6.2">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>
diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/generate_caches.py b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/generate_caches.py new file mode 100644 index 0000000000..c51cff400d --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/generate_caches.py @@ -0,0 +1,38 @@ +"""
+ LUFA Library
+ Copyright (C) Dean Camera, 2013.
+
+ 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]))
diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt new file mode 100644 index 0000000000..8fc98412fe --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt @@ -0,0 +1,36 @@ +<!-- + LUFA Library + Copyright (C) Dean Camera, 2013. + + 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> diff --git a/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt new file mode 100644 index 0000000000..db12d9ea26 --- /dev/null +++ b/protocol/lufa/LUFA-git/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt @@ -0,0 +1,33 @@ +<!-- + LUFA Library + Copyright (C) Dean Camera, 2013. + + 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> |