From cf4575b94a3c65e6535a159fc71fc885aebc2620 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Fri, 2 Aug 2019 14:02:40 -0700 Subject: Fix the LUFA lib to use a submodule instead of just files (#6245) * Remove LUFA files * Update descriptions for newer version of LUFA * Create PR6245.md * Fix CDC(Serial) type errors * Fix missed merge conflict for AUDIO_DTYPE_CSInterface --- .../StudioIntegration/Docbook/mshelp/README.txt | 13 - .../StudioIntegration/Docbook/mshelp/docbook.xsl | 58 -- .../Docbook/mshelp/hv1-common.xsl | 664 ---------------- .../LUFA/StudioIntegration/Docbook/placeholder.txt | 1 - .../StudioIntegration/HV1/helpcontentsetup.msha | 27 - .../HV1/lufa_docbook_transform.xslt | 806 ------------------- .../HV1/lufa_helpcontentsetup_transform.xslt | 47 -- .../StudioIntegration/HV1/lufa_hv1_transform.xslt | 45 -- .../HV1/lufa_studio_help_styling.css | 53 -- lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll | Bin 785920 -> 0 bytes lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef | Bin 2242 -> 0 bytes .../StudioIntegration/VSIX/[Content_Types].xml | 13 - .../LUFA/StudioIntegration/VSIX/asf-manifest.xml | 18 - .../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 -- lib/lufa/LUFA/StudioIntegration/lufa.xml | 96 --- lib/lufa/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 -- .../StudioIntegration/lufa_drivers_peripheral.xml | 198 ----- .../LUFA/StudioIntegration/lufa_drivers_usb.xml | 32 - .../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 -- .../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 - lib/lufa/LUFA/StudioIntegration/lufa_platform.xml | 60 -- .../LUFA/StudioIntegration/lufa_platform_uc3.xml | 26 - .../LUFA/StudioIntegration/lufa_platform_xmega.xml | 23 - lib/lufa/LUFA/StudioIntegration/lufa_toolchain.xml | 45 -- lib/lufa/LUFA/StudioIntegration/makefile | 142 ---- 47 files changed, 4807 deletions(-) delete mode 100644 lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/README.txt delete mode 100644 lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl delete mode 100644 lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl delete mode 100644 lib/lufa/LUFA/StudioIntegration/Docbook/placeholder.txt delete mode 100644 lib/lufa/LUFA/StudioIntegration/HV1/helpcontentsetup.msha delete mode 100644 lib/lufa/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_common.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_board.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_board_names.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_misc.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_peripheral.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_platform.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_platform_uc3.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_platform_xmega.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/lufa_toolchain.xml delete mode 100644 lib/lufa/LUFA/StudioIntegration/makefile (limited to 'lib/lufa/LUFA/StudioIntegration') diff --git a/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/README.txt b/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/README.txt deleted file mode 100644 index 4f251cc0b8..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/README.txt +++ /dev/null @@ -1,13 +0,0 @@ -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/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl b/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl deleted file mode 100644 index 03b81feafc..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/docbook.xsl +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl b/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl deleted file mode 100644 index b6f2610680..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/Docbook/mshelp/hv1-common.xsl +++ /dev/null @@ -1,664 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/Docbook/placeholder.txt b/lib/lufa/LUFA/StudioIntegration/Docbook/placeholder.txt deleted file mode 100644 index dd69b7e0bd..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/Docbook/placeholder.txt +++ /dev/null @@ -1 +0,0 @@ -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/lib/lufa/LUFA/StudioIntegration/HV1/helpcontentsetup.msha b/lib/lufa/LUFA/StudioIntegration/HV1/helpcontentsetup.msha deleted file mode 100644 index bd1d7ee219..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/HV1/helpcontentsetup.msha +++ /dev/null @@ -1,27 +0,0 @@ - - - - - LUFA Help - - -
- FourWalledCubicle - LUFA - LUFA Help - en-us -
-
-
- lufa_studio_help.mshc - lufa_studio_help.mshc -
-
- - diff --git a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/lib/lufa/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt deleted file mode 100644 index 26c1d378e2..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ /dev/null @@ -1,806 +0,0 @@ - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt b/lib/lufa/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt deleted file mode 100644 index c9ff58f597..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_helpcontentsetup_transform.xslt +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt b/lib/lufa/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt deleted file mode 100644 index e7b57ab641..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_hv1_transform.xslt +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/lib/lufa/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css deleted file mode 100644 index b1b9cafd19..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css +++ /dev/null @@ -1,53 +0,0 @@ -/* - 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/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll b/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll deleted file mode 100644 index 369c78178b..0000000000 Binary files a/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.dll and /dev/null differ diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef b/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef deleted file mode 100644 index b1b2f943b8..0000000000 Binary files a/lib/lufa/LUFA/StudioIntegration/VSIX/LUFA.pkgdef and /dev/null differ diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml b/lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml deleted file mode 100644 index 112d169942..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/[Content_Types].xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml b/lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml deleted file mode 100644 index bd969518a1..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/asf-manifest.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - FourWalledCubicle - LUFA - Dean Camera - - True - - - - 0 - - - content.xml.cache - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest b/lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest deleted file mode 100644 index a1901cb567..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/extension.vsixmanifest +++ /dev/null @@ -1,32 +0,0 @@ - - - - - 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/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py b/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py deleted file mode 100644 index 671bed9d56..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/generate_caches.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - 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/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt b/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt deleted file mode 100644 index 00f552c9c9..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_asfmanifest_transform.xslt +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - . - - . - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt b/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt deleted file mode 100644 index 1198dd9dd6..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/VSIX/lufa_vsmanifest_transform.xslt +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt b/lib/lufa/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt deleted file mode 100644 index c3fb82294a..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_extension_transform.xslt +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - This file has been automatically generated from the LUFA Atmel Studio integration XML files. - - - - - - - - - - - - - - - - - - - - . - - . - - - - - - - - - - /html/ - - - - - - - - /html/ - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt b/lib/lufa/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt deleted file mode 100644 index 2998b879f0..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_filelist_transform.xslt +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - Sourced from - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt b/lib/lufa/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt deleted file mode 100644 index 6c22ff94cc..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_indent_transform.xslt +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt b/lib/lufa/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt deleted file mode 100644 index 0ab44e7a18..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/XDK/lufa_module_transform.xslt +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - This file has been automatically generated from the LUFA Atmel Studio integration XML files. - - - - Sourced from - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa.xml b/lib/lufa/LUFA/StudioIntegration/lufa.xml deleted file mode 100644 index d7ac1ca859..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_common.xml b/lib/lufa/LUFA/StudioIntegration/lufa_common.xml deleted file mode 100644 index e5e1074348..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_common.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board.xml deleted file mode 100644 index faaf56bfc1..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board_names.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board_names.xml deleted file mode 100644 index bd1d4bdfd1..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_board_names.xml +++ /dev/null @@ -1,853 +0,0 @@ - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_misc.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_misc.xml deleted file mode 100644 index 4585887742..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_misc.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_peripheral.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_peripheral.xml deleted file mode 100644 index 55cf3fa889..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_peripheral.xml +++ /dev/null @@ -1,198 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb.xml deleted file mode 100644 index 15c65bf861..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class.xml deleted file mode 100644 index 5d07af05ea..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml deleted file mode 100644 index 3ec06ed6cb..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_android.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml deleted file mode 100644 index d93925dab1..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_audio.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml deleted file mode 100644 index 6c4f678d3e..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_cdc.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml deleted file mode 100644 index d9e70a97c4..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_hid.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml deleted file mode 100644 index c127ae2cea..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_midi.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml deleted file mode 100644 index 1be340310d..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_ms.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml deleted file mode 100644 index 3b1fbe60ad..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_printer.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml deleted file mode 100644 index 09e86fbf0e..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_rndis.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml deleted file mode 100644 index eb0786ceae..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_class_si.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - 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/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core.xml deleted file mode 100644 index bfcd0f1e8d..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml deleted file mode 100644 index 51493b460a..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_avr8.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml deleted file mode 100644 index 055ebde23f..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_uc3.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml b/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml deleted file mode 100644 index 085fe85e82..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_drivers_usb_core_xmega.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_platform.xml b/lib/lufa/LUFA/StudioIntegration/lufa_platform.xml deleted file mode 100644 index d33f435c6a..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_platform.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_platform_uc3.xml b/lib/lufa/LUFA/StudioIntegration/lufa_platform_uc3.xml deleted file mode 100644 index 3e875699ae..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_platform_uc3.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_platform_xmega.xml b/lib/lufa/LUFA/StudioIntegration/lufa_platform_xmega.xml deleted file mode 100644 index 2704bcf005..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_platform_xmega.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/lufa_toolchain.xml b/lib/lufa/LUFA/StudioIntegration/lufa_toolchain.xml deleted file mode 100644 index b1f4062d55..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/lufa_toolchain.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/lufa/LUFA/StudioIntegration/makefile b/lib/lufa/LUFA/StudioIntegration/makefile deleted file mode 100644 index 30483e9cb5..0000000000 --- a/lib/lufa/LUFA/StudioIntegration/makefile +++ /dev/null @@ -1,142 +0,0 @@ -# -# 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