From 60b30c036397cb5627fa374bb930794b225daa29 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 7 Jul 2017 11:55:23 -0400 Subject: Squashed 'lib/lufa/' content from commit 385d40300 git-subtree-dir: lib/lufa git-subtree-split: 385d4030035dbaf41591309dbde47653bd03841b --- LUFA/StudioIntegration/Docbook/mshelp/README.txt | 13 + LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl | 58 ++ .../Docbook/mshelp/hv1-common.xsl | 664 ++++++++++++++++ LUFA/StudioIntegration/Docbook/placeholder.txt | 1 + LUFA/StudioIntegration/HV1/helpcontentsetup.msha | 27 + .../HV1/lufa_docbook_transform.xslt | 806 +++++++++++++++++++ .../HV1/lufa_helpcontentsetup_transform.xslt | 47 ++ LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt | 45 ++ .../HV1/lufa_studio_help_styling.css | 53 ++ LUFA/StudioIntegration/VSIX/LUFA.dll | Bin 0 -> 785920 bytes LUFA/StudioIntegration/VSIX/LUFA.pkgdef | Bin 0 -> 2242 bytes LUFA/StudioIntegration/VSIX/[Content_Types].xml | 13 + LUFA/StudioIntegration/VSIX/asf-manifest.xml | 18 + LUFA/StudioIntegration/VSIX/extension.vsixmanifest | 32 + LUFA/StudioIntegration/VSIX/generate_caches.py | 38 + .../VSIX/lufa_asfmanifest_transform.xslt | 36 + .../VSIX/lufa_vsmanifest_transform.xslt | 33 + .../XDK/lufa_extension_transform.xslt | 68 ++ .../XDK/lufa_filelist_transform.xslt | 35 + .../XDK/lufa_indent_transform.xslt | 23 + .../XDK/lufa_module_transform.xslt | 66 ++ LUFA/StudioIntegration/lufa.xml | 96 +++ LUFA/StudioIntegration/lufa_common.xml | 34 + LUFA/StudioIntegration/lufa_drivers_board.xml | 114 +++ .../StudioIntegration/lufa_drivers_board_names.xml | 853 +++++++++++++++++++++ LUFA/StudioIntegration/lufa_drivers_misc.xml | 57 ++ LUFA/StudioIntegration/lufa_drivers_peripheral.xml | 198 +++++ LUFA/StudioIntegration/lufa_drivers_usb.xml | 32 + LUFA/StudioIntegration/lufa_drivers_usb_class.xml | 32 + .../lufa_drivers_usb_class_android.xml | 54 ++ .../lufa_drivers_usb_class_audio.xml | 109 +++ .../lufa_drivers_usb_class_cdc.xml | 99 +++ .../lufa_drivers_usb_class_hid.xml | 99 +++ .../lufa_drivers_usb_class_midi.xml | 99 +++ .../lufa_drivers_usb_class_ms.xml | 99 +++ .../lufa_drivers_usb_class_printer.xml | 99 +++ .../lufa_drivers_usb_class_rndis.xml | 99 +++ .../lufa_drivers_usb_class_si.xml | 56 ++ LUFA/StudioIntegration/lufa_drivers_usb_core.xml | 85 ++ .../lufa_drivers_usb_core_avr8.xml | 43 ++ .../lufa_drivers_usb_core_uc3.xml | 42 + .../lufa_drivers_usb_core_xmega.xml | 36 + LUFA/StudioIntegration/lufa_platform.xml | 60 ++ LUFA/StudioIntegration/lufa_platform_uc3.xml | 26 + LUFA/StudioIntegration/lufa_platform_xmega.xml | 23 + LUFA/StudioIntegration/lufa_toolchain.xml | 45 ++ LUFA/StudioIntegration/makefile | 142 ++++ 47 files changed, 4807 insertions(+) create mode 100644 LUFA/StudioIntegration/Docbook/mshelp/README.txt create mode 100644 LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl create mode 100644 LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl create mode 100644 LUFA/StudioIntegration/Docbook/placeholder.txt create mode 100644 LUFA/StudioIntegration/HV1/helpcontentsetup.msha create mode 100644 LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt create mode 100644 LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt create mode 100644 LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt create mode 100644 LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css create mode 100644 LUFA/StudioIntegration/VSIX/LUFA.dll create mode 100644 LUFA/StudioIntegration/VSIX/LUFA.pkgdef create mode 100644 LUFA/StudioIntegration/VSIX/[Content_Types].xml create mode 100644 LUFA/StudioIntegration/VSIX/asf-manifest.xml create mode 100644 LUFA/StudioIntegration/VSIX/extension.vsixmanifest create mode 100644 LUFA/StudioIntegration/VSIX/generate_caches.py create mode 100644 LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt create mode 100644 LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt create mode 100644 LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt create mode 100644 LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt create mode 100644 LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt create mode 100644 LUFA/StudioIntegration/XDK/lufa_module_transform.xslt create mode 100644 LUFA/StudioIntegration/lufa.xml create mode 100644 LUFA/StudioIntegration/lufa_common.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_board.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_board_names.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_misc.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_peripheral.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_core.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml create mode 100644 LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml create mode 100644 LUFA/StudioIntegration/lufa_platform.xml create mode 100644 LUFA/StudioIntegration/lufa_platform_uc3.xml create mode 100644 LUFA/StudioIntegration/lufa_platform_xmega.xml create mode 100644 LUFA/StudioIntegration/lufa_toolchain.xml create mode 100644 LUFA/StudioIntegration/makefile (limited to 'LUFA/StudioIntegration') diff --git a/LUFA/StudioIntegration/Docbook/mshelp/README.txt b/LUFA/StudioIntegration/Docbook/mshelp/README.txt new file mode 100644 index 000000000..4f251cc0b --- /dev/null +++ b/LUFA/StudioIntegration/Docbook/mshelp/README.txt @@ -0,0 +1,13 @@ +This is a modified/updated version of the Microsoft HV1 Docbook transform, written by Morten Engelhardt Olsen, + +Originally posted at http://sourceforge.net/p/docbook/feature-requests/461/, this has been further updated by Morten to make it compatible with more recent DocBook versions. + + --------------------------- +/ This documentation system \ +\ is udderly ridiculous! / + --------------------------- + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || diff --git a/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl b/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl new file mode 100644 index 000000000..03b81feaf --- /dev/null +++ b/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl b/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl new file mode 100644 index 000000000..b6f261068 --- /dev/null +++ b/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl @@ -0,0 +1,664 @@ + + + + + + + + + + + + + + + + + + + + + + en-US + + + + + + + + + + + + + + + + + en-US + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ + + + + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bk + + + + + + + + + + + + ar + + + + + + + + + + + + pr + + + + + + + + + + + + ch + + + + + + + + + + + + ap + + + + + + + + + + + + + + + + pt + + + + + + + + + + + + + + + + rn + + + + + + + + + + + + + + + re + + + + + + + + + + + + + + + + co + + + + + + + + s + + + + + + + + + + + + + + + + bi + + + + + + + + + + + + + + + + go + + + + + + + + + + + + + + + + ix + + + + + si + + + + + chunk-filename-error- + + + + + + + + + + + + + + + + + + + + + + + + + $product.name needs to be set to generate ms.help style links + + + + + $product.version needs to be set to generate ms.help style links + + + + + $product.locale needs to be set to generate ms.help style links + + + + ms.help?method=page&id= + + &product= + + &productVersion= + + &locale= + + + + # + + + + + + ms-xhelp:///?Id= + + + + + + + + + + + + + + preserve + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + : + + , + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/LUFA/StudioIntegration/Docbook/placeholder.txt b/LUFA/StudioIntegration/Docbook/placeholder.txt new file mode 100644 index 000000000..c017acfd7 --- /dev/null +++ b/LUFA/StudioIntegration/Docbook/placeholder.txt @@ -0,0 +1 @@ +Copy the Docbook XSLT docbook-xsl-1.78.1 release contents into this directory (i.e. with the root Docbook files in the current folder). The Docbook releases can be found at http://sourceforge.net/projects/docbook/files/docbook-xsl/ . diff --git a/LUFA/StudioIntegration/HV1/helpcontentsetup.msha b/LUFA/StudioIntegration/HV1/helpcontentsetup.msha new file mode 100644 index 000000000..bd1d7ee21 --- /dev/null +++ b/LUFA/StudioIntegration/HV1/helpcontentsetup.msha @@ -0,0 +1,27 @@ + + + + + LUFA Help + + +
+ FourWalledCubicle + LUFA + LUFA Help + en-us +
+
+
+ lufa_studio_help.mshc + lufa_studio_help.mshc +
+
+ + diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt new file mode 100644 index 000000000..26c1d378e --- /dev/null +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt @@ -0,0 +1,806 @@ + + + + + + + + LUFA Library + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$book.title"/> + + + + + + + + + + + + + + + + Modules + + + + + + + + + + + + + + + + LUFA. + + + + + + + + + <xsl:value-of select="$page.title"/> + + + + + + + Subsections: + + + + + + + + + + + + + + + + + + + +
+ + <xsl:value-of select="title"/> + + + + LUFA. + + + + + + + + + + + + Subgroups: + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+ + <xsl:choose> + <xsl:when test="@kind = 'struct'"> + <xsl:text>Struct </xsl:text> + </xsl:when> + + <xsl:when test="@kind = 'union'"> + <xsl:text>Union </xsl:text> + </xsl:when> + </xsl:choose> + + <xsl:value-of select="$name"/> + + + + + + + + + + + + <xsl:value-of select="$name"/> + + + + + + Type + Name + Description + + + + + + + + + + + + + [] + + + + + . + + + + + + + + + + + + + + +
+
+
+
+ + +
+ + <xsl:text>Function </xsl:text> + <xsl:value-of select="name"/> + <xsl:text>()</xsl:text> + + + + + + + + + + + + + + + + + + + ( + + + + void + + + + + + , + + + + + + + + + + + + ) + + + +
+
+ + +
+ + <xsl:text>Enum </xsl:text> + <xsl:value-of select="name"/> + + + + + + + + + + Members + + + + Enum Value + Description + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ + <xsl:text>Macro </xsl:text> + <xsl:value-of select="name"/> + + + + + + + + + #define + + + ( + + + , + + + + ) + + + + + + \ + + + + + + + + +
+
+ + +
+ + <xsl:text>Type </xsl:text> + <xsl:value-of select="name"/> + + + + + + + + + typedef + + + + + + + + + +
+
+ + + +
+ + <xsl:text>Variable </xsl:text> + <xsl:value-of select="name"/> + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="title"/> + + + + + + + + Returns + + + + + + + Warning + + + + + + + Precondition + + + + + + + See also + + + + + + + Note + + + + + + + + + + Parameters + + + + Data Direction + Parameter Name + Description + + + + + + + + + + +
+
+ + + + Return Values + + + + Return Value + Description + + + + + + + + + + +
+
+ + + + + + + + ? + + + + + [] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="caption"/> + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + images/ + + + + + + + + + + + + +
+ + + + + + + + <xsl:value-of select="title"/> + + + +
+
+ + + + + + + + + + + + + NO XSL TEMPLATE MATCH: + + +
diff --git a/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt new file mode 100644 index 000000000..c9ff58f59 --- /dev/null +++ b/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt new file mode 100644 index 000000000..e7e230166 --- /dev/null +++ b/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css new file mode 100644 index 000000000..a4a025cc8 --- /dev/null +++ b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css @@ -0,0 +1,53 @@ +/* + LUFA Library + Copyright (C) Dean Camera, 2017. + + dean [at] fourwalledcubicle [dot] com + www.lufa-lib.org +*/ + +.programlisting { + display: block; + margin-left: 15px; + padding: 10px; + background-color: #f4f4f4; + border: 1px solid #aaaaaa; + font-family: "Consolas", "Courier New", sans-serif; + } + + code { + background-color: #f4f4f4; + font-family: "Consolas", "Courier New", sans-serif; + } + +.note, .warning, .tip { + display: block; + margin-left: 15px; + padding-left: 10px; + padding-bottom: 5px; + background-color: #f4f4f4; + border: 1px solid #aaaaaa; +} + +table { + border: 1px solid #aaaaaa; + border-collapse: collapse; + margin-left: 15px; + font-size: 10pt; +} + +table thead { + background-color: #f4f4f4; +} + +table thead th { + padding: 5px; +} + +table tbody td { + padding: 5px; +} + +ul { + padding-left: 20px; +} diff --git a/LUFA/StudioIntegration/VSIX/LUFA.dll b/LUFA/StudioIntegration/VSIX/LUFA.dll new file mode 100644 index 000000000..369c78178 Binary files /dev/null and b/LUFA/StudioIntegration/VSIX/LUFA.dll differ diff --git a/LUFA/StudioIntegration/VSIX/LUFA.pkgdef b/LUFA/StudioIntegration/VSIX/LUFA.pkgdef new file mode 100644 index 000000000..b1b2f943b Binary files /dev/null and b/LUFA/StudioIntegration/VSIX/LUFA.pkgdef differ diff --git a/LUFA/StudioIntegration/VSIX/[Content_Types].xml b/LUFA/StudioIntegration/VSIX/[Content_Types].xml new file mode 100644 index 000000000..05ef8b6ba --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/[Content_Types].xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/VSIX/asf-manifest.xml b/LUFA/StudioIntegration/VSIX/asf-manifest.xml new file mode 100644 index 000000000..794fd689e --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/asf-manifest.xml @@ -0,0 +1,18 @@ + + + FourWalledCubicle + LUFA + Dean Camera + + True + + + + 0 + + + content.xml.cache + + + + diff --git a/LUFA/StudioIntegration/VSIX/extension.vsixmanifest b/LUFA/StudioIntegration/VSIX/extension.vsixmanifest new file mode 100644 index 000000000..f155618b7 --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/extension.vsixmanifest @@ -0,0 +1,32 @@ + + + + + LUFA Library + Dean Camera + 0 + http://www.lufa-lib.org + LUFA, the Lightweight USB Framework for AVRs. + + License.txt + LUFA_thumb.png + LUFA.png + + + AtmelStudio + + + + 1033 + + false + + + + + + LUFA.pkgdef + helpcontentsetup.msha + asf-manifest.xml + + diff --git a/LUFA/StudioIntegration/VSIX/generate_caches.py b/LUFA/StudioIntegration/VSIX/generate_caches.py new file mode 100644 index 000000000..ab787e8ec --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/generate_caches.py @@ -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])) diff --git a/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt b/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt new file mode 100644 index 000000000..00f552c9c --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + . + + . + + + + diff --git a/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt b/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt new file mode 100644 index 000000000..1198dd9dd --- /dev/null +++ b/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt new file mode 100644 index 000000000..c3fb82294 --- /dev/null +++ b/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + This file has been automatically generated from the LUFA Atmel Studio integration XML files. + + + + + + + + + + + + + + + + + + + + . + + . + + + + + + + + + + /html/ + + + + + + + + /html/ + + + + diff --git a/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt new file mode 100644 index 000000000..2998b879f --- /dev/null +++ b/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt @@ -0,0 +1,35 @@ + + + + + + + + + + + + Sourced from + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt new file mode 100644 index 000000000..6c22ff94c --- /dev/null +++ b/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt b/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt new file mode 100644 index 000000000..0ab44e7a1 --- /dev/null +++ b/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + This file has been automatically generated from the LUFA Atmel Studio integration XML files. + + + + Sourced from + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa.xml b/LUFA/StudioIntegration/lufa.xml new file mode 100644 index 000000000..c83894986 --- /dev/null +++ b/LUFA/StudioIntegration/lufa.xml @@ -0,0 +1,96 @@ + + + + + + + + + Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_common.xml b/LUFA/StudioIntegration/lufa_common.xml new file mode 100644 index 000000000..b72f84cd9 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_common.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_board.xml b/LUFA/StudioIntegration/lufa_drivers_board.xml new file mode 100644 index 000000000..bd0359f68 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_board.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_board_names.xml b/LUFA/StudioIntegration/lufa_drivers_board_names.xml new file mode 100644 index 000000000..69a38c5f7 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_board_names.xml @@ -0,0 +1,853 @@ + + + + + + + + + Board hardware (LEDs, Buttons, etc.) drivers for the preconfigured LUFA boards. Note that only the boards + compatible with the currently selected device will be shown. + + To disable all hardware drivers silently, use NONE. To supply customer drivers, use USER (see manual). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_misc.xml b/LUFA/StudioIntegration/lufa_drivers_misc.xml new file mode 100644 index 000000000..ee72f33db --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_misc.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_peripheral.xml b/LUFA/StudioIntegration/lufa_drivers_peripheral.xml new file mode 100644 index 000000000..b4eb8747a --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_peripheral.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb.xml b/LUFA/StudioIntegration/lufa_drivers_usb.xml new file mode 100644 index 000000000..f07aad672 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class.xml new file mode 100644 index 000000000..123d60643 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml new file mode 100644 index 000000000..3ec06ed6c --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + Common definitions and Host mode implementation of the Android Open Accessory USB class. + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the Android Open Accessory USB class. + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml new file mode 100644 index 000000000..d93925dab --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the Audio 1.0 USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the Audio 1.0 USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the Audio 1.0 USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the Audio 1.0 USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml new file mode 100644 index 000000000..6c4f678d3 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the CDC USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the CDC USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the CDC USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the CDC USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml new file mode 100644 index 000000000..d9e70a97c --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the HID USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the HID USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the HID USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the HID USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml new file mode 100644 index 000000000..c127ae2ce --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the MIDI USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the MIDI USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the MIDI USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the MIDI USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml new file mode 100644 index 000000000..1be340310 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the Mass Storage USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the Mass Storage USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the Mass Storage USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the Mass Storage USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml new file mode 100644 index 000000000..3b1fbe60a --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the Printer USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the Printer USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the Printer USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the Printer USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml new file mode 100644 index 000000000..09e86fbf0 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + Common definitions and Host/Device mode implementations of the RNDIS Ethernet USB class. + + + + + + + + + + + + + + + + + + + + + Common definitions and Host mode implementation of the RNDIS Ethernet USB class. + + + + + + + + + + + + + + + + + + + + Common definitions and Device mode implementation of the RNDIS Ethernet USB class. + + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the RNDIS Ethernet USB class. + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml b/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml new file mode 100644 index 000000000..eb0786cea --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + Common definitions and Host mode implementation of the Still Image USB class. + + + + + + + + + + + + + + + + + + + Common definitions only (no implementations) of the Still Image USB class. + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_core.xml b/LUFA/StudioIntegration/lufa_drivers_usb_core.xml new file mode 100644 index 000000000..095bcd279 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_core.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml b/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml new file mode 100644 index 000000000..b2792cb2f --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml b/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml new file mode 100644 index 000000000..d815fca44 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml b/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml new file mode 100644 index 000000000..364a0f3ed --- /dev/null +++ b/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_platform.xml b/LUFA/StudioIntegration/lufa_platform.xml new file mode 100644 index 000000000..e20b718fb --- /dev/null +++ b/LUFA/StudioIntegration/lufa_platform.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_platform_uc3.xml b/LUFA/StudioIntegration/lufa_platform_uc3.xml new file mode 100644 index 000000000..8c26d2304 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_platform_uc3.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_platform_xmega.xml b/LUFA/StudioIntegration/lufa_platform_xmega.xml new file mode 100644 index 000000000..299c85966 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_platform_xmega.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/lufa_toolchain.xml b/LUFA/StudioIntegration/lufa_toolchain.xml new file mode 100644 index 000000000..66b416e28 --- /dev/null +++ b/LUFA/StudioIntegration/lufa_toolchain.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile new file mode 100644 index 000000000..30483e9cb --- /dev/null +++ b/LUFA/StudioIntegration/makefile @@ -0,0 +1,142 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2017. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# +# --------------------------------------- +# Makefile for the LUFA Atmel Studio Integration. +# --------------------------------------- + +LUFA_ROOT := .. +LUFA_VERSION_NUM := $(shell grep -e "\#define *LUFA_VERSION_STRING " $(LUFA_ROOT)/Version.h | cut -d'"' -f2) +LUFA_VERSION_TYPE := $(shell grep -e "\#define *LUFA_VERSION_RELEASE_TYPE " $(LUFA_ROOT)/Version.h) + +ifneq ($(findstring LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT, $(LUFA_VERSION_TYPE)),LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT) + EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM) + EXT_VSIX_NAME := LUFA-RELEASE-$(LUFA_VERSION_NUM).vsix +else + EXT_VERSION_NUM := 0.$(shell date +"%y%m%d.%H%M%S") + EXT_VSIX_NAME := LUFA-TESTING-$(shell date +"%y.%m.%d-%H.%M.%S").vsix + + $(warning Development mode set - assuming a test version should be created.) +endif + +DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml +DOXYGEN_COMBINED_XML := $(LUFA_ROOT)/Documentation/xml/lufa_doc.xml +TEMP_MANIFEST_XML := manifest.xml +EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml +MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml +MSHELP_OUTPUT_XML := $(LUFA_ROOT)/../lufa_help_$(subst .,_,$(EXT_VERSION_NUM)).mshc +XML_FILES := $(filter-out $(TEMP_MANIFEST_FILE), $(shell ls *.xml)) +VSIX_ASSETS := $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png \ + $(LUFA_ROOT)/DoxygenPages/Images/LUFA.png \ + $(LUFA_ROOT)/License.txt \ + VSIX/"[Content_Types].xml" \ + VSIX/LUFA.dll \ + VSIX/LUFA.pkgdef +VSIX_GEN_PARAMS := --stringparam extension-version "$(EXT_VERSION_NUM)" \ + --stringparam lufa-version "$(LUFA_VERSION_NUM)" \ + --stringparam help-package-filename "$(notdir $(MSHELP_OUTPUT_XML))" +MSHELP_GEN_PARAMS := --stringparam generate.toc "book toc" \ + --stringparam chunk.quietly "1" \ + --stringparam chunk.section.depth "3" \ + --stringparam chunk.first.sections "1" \ + --stringparam chapter.autolabel "0" \ + --stringparam root.filename "LUFA" \ + --stringparam html.stylesheet "lufa_studio_help_styling.css" + +all: clear_project_dirs generate_xml check_filenames generate_vsix + +clear_project_dirs: + @make -s -C $(LUFA_ROOT)/.. clean + +clean: + @rm -f $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) $(MSHELP_OUTPUT_XML) + @rm -rf mshelp + @cd $(LUFA_ROOT)/.. && rm -f contents.zip exampleProjects.xml content.xml.cache extension.vsixmanifest asf-manifest.xml extension.xml helpcontentsetup.msha $(notdir $(VSIX_ASSETS)) *.vsix *.mshc + +$(DOXYGEN_TAG_FILE_XML): + @make -C ../ doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_TAGFILE=Documentation/lufa_doc_tags.xml GENERATE_HTML=no GENERATE_XML=yes" + +$(DOXYGEN_COMBINED_XML): $(DOXYGEN_TAG_FILE_XML) + @xsltproc $(dir $@)/combine.xslt $(dir $@)/index.xml > $(DOXYGEN_COMBINED_XML) + +$(TEMP_MANIFEST_XML): $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) + @echo Generating temporary module manifest XML... + + @printf "\n" $(LUFA_VERSION_NUM) $(DOXYGEN_TAG_FILE_XML) $(DOXYGEN_COMBINED_XML) > $@ + @for i in $(XML_FILES); do \ + printf "\t\n" $$i >> $@; \ + done; + @echo '' >> $@ + +$(MODULE_OUTPUT_XML): $(TEMP_MANIFEST_XML) + @echo Generating library core XDK module manifest file... + @xsltproc XDK/lufa_module_transform.xslt $< | xsltproc XDK/lufa_indent_transform.xslt - > $(MODULE_OUTPUT_XML) + +$(EXTENSION_OUTPUT_XML): $(TEMP_MANIFEST_XML) + @echo Generating library XDK extension manifest file... + @xsltproc XDK/lufa_extension_transform.xslt $< | xsltproc XDK/lufa_indent_transform.xslt - > $(EXTENSION_OUTPUT_XML) + +$(MSHELP_OUTPUT_XML): $(DOXYGEN_COMBINED_XML) + @echo Converting Doxygen XML to DocBook... + @-mkdir mshelp 2> /dev/null + @xsltproc HV1/lufa_docbook_transform.xslt $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml + + @echo Converting DocBook XML to Microsoft Help 1.0... + @cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../HV1/lufa_hv1_transform.xslt lufa_docbook.xml + + @echo Copying help assets... + @cp HV1/lufa_studio_help_styling.css mshelp + @-mkdir mshelp/images 2> /dev/null + @cp `find $(LUFA_ROOT)/DoxygenPages/Images -type f` mshelp/images + + @echo Archiving help content... + @cd mshelp && zip ../$(MSHELP_OUTPUT_XML) -q -0 -r *.html *.css images + + @echo Generating HV1 manifest... + @xsltproc $(VSIX_GEN_PARAMS) HV1/lufa_helpcontentsetup_transform.xslt HV1/helpcontentsetup.msha > $(LUFA_ROOT)/../helpcontentsetup.msha + +generate_help: $(MSHELP_OUTPUT_XML) + +generate_xml: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML) + +generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML) $(MSHELP_OUTPUT_XML) + @echo Generating XDK cache files... + @rm -f $(LUFA_ROOT)/../content.xml.cache + @rm -f $(LUFA_ROOT)/../ExampleProjects.xml + @python VSIX/generate_caches.py $(LUFA_ROOT)/../ + + @echo Archiving XDK content... + @rm -f contents.zip + @cd $(LUFA_ROOT)/../ && zip contents.zip -q -0 -r --exclude=*Documentation* --exclude=*StudioIntegration* LUFA Bootloaders Demos Projects README.txt + + @echo Creating VSIX dependencies... + @cp $(VSIX_ASSETS) $(LUFA_ROOT)/.. + @xsltproc $(VSIX_GEN_PARAMS) VSIX/lufa_vsmanifest_transform.xslt VSIX/extension.vsixmanifest > $(LUFA_ROOT)/../extension.vsixmanifest + @xsltproc $(VSIX_GEN_PARAMS) VSIX/lufa_asfmanifest_transform.xslt VSIX/asf-manifest.xml > $(LUFA_ROOT)/../asf-manifest.xml + + @echo Generating Atmel Studio VSIX file... + cd $(LUFA_ROOT)/../ && zip $(EXT_VSIX_NAME) -q -9 contents.zip exampleProjects.xml content.xml.cache extension.vsixmanifest asf-manifest.xml extension.xml helpcontentsetup.msha $(notdir $(MSHELP_OUTPUT_XML)) $(notdir $(VSIX_ASSETS)) + + @echo "Atmel Studio VSIX extension file generated." + +check_filenames: $(MODULE_OUTPUT_XML) + @echo Verifying referenced filenames of XDK modules... + @for f in `find $(LUFA_ROOT)/../ -name "asf.xml"`; do \ + echo "Checking $$f..."; \ + asf_file_dir=`dirname $$f`; \ + xsltproc XDK/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \ + if ( ( ! test -f "$$asf_file_dir/$$i" ) && ( ! test -d "$$asf_file_dir/$$i" ) ); then \ + echo "Source file \"$$i\" referenced in $$f does not exist!"; \ + exit 1; \ + fi; \ + done || exit 1; \ + done; + +check_database: + python ProjectGenerator/project_generator.py -b $(LUFA_ROOT)/../ --main-ext-uuid=0e160d5c-e331-48d9-850b-e0387912171b CHECK + +.PHONY: all clean generate_help generate_xml generate_vsix check_filenames check_database -- cgit v1.2.3