Normalize line endings

This commit is contained in:
Fred Sundvik 2016-08-20 17:59:18 +03:00
parent f0fd840a57
commit fd2f957a1a
26 changed files with 2169 additions and 2169 deletions

View File

@ -1 +1 @@
Copy the Microsoft HV1 Docbook transform contents into this directory (i.e. with the XSLT files in the current folder). The HV1 transform proposal can be found at http://sourceforge.net/tracker/?func=detail&aid=3610290&group_id=21935&atid=373750 . Copy the Microsoft HV1 Docbook transform contents into this directory (i.e. with the XSLT files in the current folder). The HV1 transform proposal can be found at http://sourceforge.net/tracker/?func=detail&aid=3610290&group_id=21935&atid=373750 .

View File

@ -1 +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/ . 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/ .

View File

@ -1,45 +1,45 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Docbook XML to Microsoft Help Viewer 1.0 transform file --> <!-- Docbook XML to Microsoft Help Viewer 1.0 transform file -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../Docbook/mshelp/docbook.xsl"/> <xsl:import href="../Docbook/mshelp/docbook.xsl"/>
<xsl:output method="xml" indent="no"/> <xsl:output method="xml" indent="no"/>
<xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']"> <xsl:template match="emphasis[@role = 'keyword' or @role = 'keywordtype' or @role = 'keywordflow']">
<span class="hl-keyword" style="color: #0079C1"> <span class="hl-keyword" style="color: #0079C1">
<xsl:apply-templates/> <xsl:apply-templates/>
</span> </span>
</xsl:template> </xsl:template>
<xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']"> <xsl:template match="emphasis[@role = 'stringliteral' or @role = 'charliteral']">
<span class="hl-string" style="color: #800000"> <span class="hl-string" style="color: #800000">
<xsl:apply-templates/> <xsl:apply-templates/>
</span> </span>
</xsl:template> </xsl:template>
<xsl:template match="emphasis[@role = 'comment']"> <xsl:template match="emphasis[@role = 'comment']">
<em class="hl-comment" style="color: #008000"> <em class="hl-comment" style="color: #008000">
<xsl:apply-templates/> <xsl:apply-templates/>
</em> </em>
</xsl:template> </xsl:template>
<xsl:template match="emphasis[@role = 'preprocessor']"> <xsl:template match="emphasis[@role = 'preprocessor']">
<span class="hl-preprocessor" style="color: #A000A0"> <span class="hl-preprocessor" style="color: #A000A0">
<xsl:apply-templates/> <xsl:apply-templates/>
</span> </span>
</xsl:template> </xsl:template>
<xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]"> <xsl:template match="emphasis[@role = 'normal' and ancestor::programlisting]">
<xsl:apply-templates /> <xsl:apply-templates />
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -1,53 +1,53 @@
/* /*
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
*/ */
.programlisting { .programlisting {
display: block; display: block;
margin-left: 15px; margin-left: 15px;
padding: 10px; padding: 10px;
background-color: #f4f4f4; background-color: #f4f4f4;
border: 1px solid #aaaaaa; border: 1px solid #aaaaaa;
font-family: "Consolas", "Courier New", sans-serif; font-family: "Consolas", "Courier New", sans-serif;
} }
code { code {
background-color: #f4f4f4; background-color: #f4f4f4;
font-family: "Consolas", "Courier New", sans-serif; font-family: "Consolas", "Courier New", sans-serif;
} }
.note, .warning, .tip { .note, .warning, .tip {
display: block; display: block;
margin-left: 15px; margin-left: 15px;
padding-left: 10px; padding-left: 10px;
padding-bottom: 5px; padding-bottom: 5px;
background-color: #f4f4f4; background-color: #f4f4f4;
border: 1px solid #aaaaaa; border: 1px solid #aaaaaa;
} }
table { table {
border: 1px solid #aaaaaa; border: 1px solid #aaaaaa;
border-collapse: collapse; border-collapse: collapse;
margin-left: 15px; margin-left: 15px;
font-size: 10pt; font-size: 10pt;
} }
table thead { table thead {
background-color: #f4f4f4; background-color: #f4f4f4;
} }
table thead th { table thead th {
padding: 5px; padding: 5px;
} }
table tbody td { table tbody td {
padding: 5px; padding: 5px;
} }
ul { ul {
padding-left: 20px; padding-left: 20px;
} }

View File

@ -1,13 +1,13 @@
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"> <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
<Default Extension="vsixmanifest" ContentType="text/xml"/> <Default Extension="vsixmanifest" ContentType="text/xml"/>
<Default Extension="cache" ContentType="text/xml"/> <Default Extension="cache" ContentType="text/xml"/>
<Default Extension="png" ContentType="application/octet-stream"/> <Default Extension="png" ContentType="application/octet-stream"/>
<Default Extension="txt" ContentType="text/plain"/> <Default Extension="txt" ContentType="text/plain"/>
<Default Extension="xml" ContentType="text/xml"/> <Default Extension="xml" ContentType="text/xml"/>
<Default Extension="zip" ContentType="application/octet-stream"/> <Default Extension="zip" ContentType="application/octet-stream"/>
<Default Extension="dll" ContentType="application/octet-stream" /> <Default Extension="dll" ContentType="application/octet-stream" />
<Default Extension="pkgdef" ContentType="text/plain" /> <Default Extension="pkgdef" ContentType="text/plain" />
<Default Extension="htm" ContentType="text/html" /> <Default Extension="htm" ContentType="text/html" />
<Default Extension="msha" ContentType="text/html" /> <Default Extension="msha" ContentType="text/html" />
<Default Extension="mshc" ContentType="application/octet-stream"/> <Default Extension="mshc" ContentType="application/octet-stream"/>
</Types> </Types>

View File

@ -1,18 +1,18 @@
<AsfContentProvider Version="1.0.0"> <AsfContentProvider Version="1.0.0">
<Identifier Id="0e160d5c-e331-48d9-850b-e0387912171b"> <Identifier Id="0e160d5c-e331-48d9-850b-e0387912171b">
<Org>FourWalledCubicle</Org> <Org>FourWalledCubicle</Org>
<ShortName>LUFA</ShortName> <ShortName>LUFA</ShortName>
<Author>Dean Camera</Author> <Author>Dean Camera</Author>
<Description/> <Description/>
<FollowFolderStructure>True</FollowFolderStructure> <FollowFolderStructure>True</FollowFolderStructure>
</Identifier> </Identifier>
<AsfContent Type="zip" Path="contents.zip"> <AsfContent Type="zip" Path="contents.zip">
<Content> <Content>
<Version>0</Version> <Version>0</Version>
<HelpURL/> <HelpURL/>
<Locator/> <Locator/>
<DbXMLPath>content.xml.cache</DbXMLPath> <DbXMLPath>content.xml.cache</DbXMLPath>
<Description/> <Description/>
</Content> </Content>
</AsfContent> </AsfContent>
</AsfContentProvider> </AsfContentProvider>

View File

@ -1,33 +1,33 @@
<?xml version="1.0" encoding="utf-8"?> <?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"> <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"> <Identifier Id="FourWalledCubicle.LUFA.0e160d5c-e331-48d9-850b-e0387912171b">
<Name>LUFA Library</Name> <Name>LUFA Library</Name>
<Author>Dean Camera</Author> <Author>Dean Camera</Author>
<Version>0</Version> <Version>0</Version>
<MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl> <MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl>
<Description xml:space="preserve">LUFA, the Lightweight USB Framework for AVRs.</Description> <Description xml:space="preserve">LUFA, the Lightweight USB Framework for AVRs.</Description>
<License>License.txt</License> <License>License.txt</License>
<Icon>LUFA_thumb.png</Icon> <Icon>LUFA_thumb.png</Icon>
<PreviewImage>LUFA.png</PreviewImage> <PreviewImage>LUFA.png</PreviewImage>
<SupportedProducts> <SupportedProducts>
<IsolatedShell Version="6.1">AtmelStudio</IsolatedShell> <IsolatedShell Version="6.1">AtmelStudio</IsolatedShell>
<IsolatedShell Version="6.2">AtmelStudio</IsolatedShell> <IsolatedShell Version="6.2">AtmelStudio</IsolatedShell>
</SupportedProducts> </SupportedProducts>
<SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.5"/> <SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.5"/>
<Locale>1033</Locale> <Locale>1033</Locale>
<AllUsers>false</AllUsers> <AllUsers>false</AllUsers>
</Identifier> </Identifier>
<References/> <References/>
<Content> <Content>
<VsPackage>LUFA.pkgdef</VsPackage> <VsPackage>LUFA.pkgdef</VsPackage>
<CustomExtension Type="MSHelp">helpcontentsetup.msha</CustomExtension> <CustomExtension Type="MSHelp">helpcontentsetup.msha</CustomExtension>
<CustomExtension Type="asf-manifest">asf-manifest.xml</CustomExtension> <CustomExtension Type="asf-manifest">asf-manifest.xml</CustomExtension>
</Content> </Content>
</Vsix> </Vsix>

View File

@ -1,38 +1,38 @@
""" """
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
""" """
import sys import sys
sys.path.append("ProjectGenerator") sys.path.append("ProjectGenerator")
def show_message(message): def show_message(message):
print("[Project Generator] %s" % message) print("[Project Generator] %s" % message)
sys.stdout.flush() sys.stdout.flush()
def main(lufa_root_path): def main(lufa_root_path):
try: try:
from asf_avrstudio5_interface import PythonFacade from asf_avrstudio5_interface import PythonFacade
except ImportError: except ImportError:
print("Fatal Error: The ASF project generator is missing.") print("Fatal Error: The ASF project generator is missing.")
return 1 return 1
p = PythonFacade(lufa_root_path) p = PythonFacade(lufa_root_path)
show_message("Checking database sanity...") show_message("Checking database sanity...")
p.check_extension_database_sanity(lufa_root_path) p.check_extension_database_sanity(lufa_root_path)
show_message("Building cache files...") show_message("Building cache files...")
p.generate_extension_cache_files(lufa_root_path) p.generate_extension_cache_files(lufa_root_path)
show_message("Cache files created.") show_message("Cache files created.")
return 0 return 0
if __name__ == "__main__": if __name__ == "__main__":
sys.exit(main(sys.argv[1])) sys.exit(main(sys.argv[1]))

View File

@ -1,96 +1,96 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<extension-container> <extension-container>
<extension uuid="0e160d5c-e331-48d9-850b-e0387912171b" org="FourWalledCubicle" shortname="LUFA" version="" fullname="Lightweight USB Framework for AVRs (LUFA)"> <extension uuid="0e160d5c-e331-48d9-850b-e0387912171b" org="FourWalledCubicle" shortname="LUFA" version="" fullname="Lightweight USB Framework for AVRs (LUFA)">
<author name="Dean Camera" website="http://www.lufa-lib.org/" email="dean@fourwalledcubicle.com"/> <author name="Dean Camera" website="http://www.lufa-lib.org/" email="dean@fourwalledcubicle.com"/>
<description>Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework.</description> <description>Lightweight USB Framework for AVRs (LUFA), a USB software stack/framework.</description>
<icon-image path="LUFA/DoxygenPages/Images/LUFA_thumb.png"/> <icon-image path="LUFA/DoxygenPages/Images/LUFA_thumb.png"/>
<preview-image path="LUFA/DoxygenPages/Images/LUFA.png"/> <preview-image path="LUFA/DoxygenPages/Images/LUFA.png"/>
<license caption="LUFA License" path="LUFA/License.txt"/> <license caption="LUFA License" path="LUFA/License.txt"/>
<release-notes caption="LUFA Information" url="http://www.lufa-lib.org"/> <release-notes caption="LUFA Information" url="http://www.lufa-lib.org"/>
<online-help> <online-help>
<index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation/"/> <index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation/"/>
<module-help-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/> <module-help-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
<module-guide-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/> <module-guide-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>
</online-help> </online-help>
<dependencies/> <dependencies/>
</extension> </extension>
</extension-container> </extension-container>
<asf> <asf>
<device-alias-map name="lufa_avr8"> <device-alias-map name="lufa_avr8">
<device-support value="at90usb82"/> <device-support value="at90usb82"/>
<device-support value="atmega8u2"/> <device-support value="atmega8u2"/>
<device-support value="at90usb162"/> <device-support value="at90usb162"/>
<device-support value="atmega16u2"/> <device-support value="atmega16u2"/>
<device-support value="atmega16u4"/> <device-support value="atmega16u4"/>
<device-support value="atmega32u2"/> <device-support value="atmega32u2"/>
<device-support value="atmega32u4"/> <device-support value="atmega32u4"/>
<device-support value="at90usb646"/> <device-support value="at90usb646"/>
<device-support value="at90usb647"/> <device-support value="at90usb647"/>
<device-support value="at90usb1286"/> <device-support value="at90usb1286"/>
<device-support value="at90usb1287"/> <device-support value="at90usb1287"/>
</device-alias-map> </device-alias-map>
<device-alias-map name="lufa_xmega"> <device-alias-map name="lufa_xmega">
<device-support value="atxmega16a4u"/> <device-support value="atxmega16a4u"/>
<device-support value="atxmega32a4u"/> <device-support value="atxmega32a4u"/>
<device-support value="atxmega64a4u"/> <device-support value="atxmega64a4u"/>
<device-support value="atxmega128a4u"/> <device-support value="atxmega128a4u"/>
<device-support value="atxmega64a3u"/> <device-support value="atxmega64a3u"/>
<device-support value="atxmega128a3u"/> <device-support value="atxmega128a3u"/>
<device-support value="atxmega192a3u"/> <device-support value="atxmega192a3u"/>
<device-support value="atxmega256a3u"/> <device-support value="atxmega256a3u"/>
<device-support value="atxmega256a3bu"/> <device-support value="atxmega256a3bu"/>
<device-support value="atxmega128a1u"/> <device-support value="atxmega128a1u"/>
<device-support value="atxmega64b3"/> <device-support value="atxmega64b3"/>
<device-support value="atxmega128b3"/> <device-support value="atxmega128b3"/>
<device-support value="atxmega64b1"/> <device-support value="atxmega64b1"/>
<device-support value="atxmega128b1"/> <device-support value="atxmega128b1"/>
<device-support value="atxmega64c3"/> <device-support value="atxmega64c3"/>
<device-support value="atxmega128c3"/> <device-support value="atxmega128c3"/>
<!-- <device-support value="atxmega192c3"/> Wait for ASFP-3339 merge and release before enabling --> <!-- <device-support value="atxmega192c3"/> Wait for ASFP-3339 merge and release before enabling -->
<device-support value="atxmega256c3"/> <device-support value="atxmega256c3"/>
<device-support value="atxmega384c3"/> <device-support value="atxmega384c3"/>
<device-support value="atxmega16c4"/> <device-support value="atxmega16c4"/>
</device-alias-map> </device-alias-map>
<device-alias-map name="lufa_uc3"> <device-alias-map name="lufa_uc3">
<device-support value="at32uc3a364"/> <device-support value="at32uc3a364"/>
<device-support value="at32uc3a364s"/> <device-support value="at32uc3a364s"/>
<device-support value="at32uc3a464"/> <device-support value="at32uc3a464"/>
<device-support value="at32uc3a464s"/> <device-support value="at32uc3a464s"/>
<device-support value="at32uc3b064"/> <device-support value="at32uc3b064"/>
<device-support value="at32uc3b164"/> <device-support value="at32uc3b164"/>
<device-support value="at32uc3a0128"/> <device-support value="at32uc3a0128"/>
<device-support value="at32uc3a1128"/> <device-support value="at32uc3a1128"/>
<device-support value="at32uc3a3128"/> <device-support value="at32uc3a3128"/>
<device-support value="at32uc3a3128s"/> <device-support value="at32uc3a3128s"/>
<device-support value="at32uc3a4128"/> <device-support value="at32uc3a4128"/>
<device-support value="at32uc3a4128s"/> <device-support value="at32uc3a4128s"/>
<device-support value="at32uc3b0128"/> <device-support value="at32uc3b0128"/>
<device-support value="at32uc3b1128"/> <device-support value="at32uc3b1128"/>
<device-support value="at32uc3a0256"/> <device-support value="at32uc3a0256"/>
<device-support value="at32uc3a1256"/> <device-support value="at32uc3a1256"/>
<device-support value="at32uc3a3256"/> <device-support value="at32uc3a3256"/>
<device-support value="at32uc3a3256s"/> <device-support value="at32uc3a3256s"/>
<device-support value="at32uc3a4256"/> <device-support value="at32uc3a4256"/>
<device-support value="at32uc3a4256s"/> <device-support value="at32uc3a4256s"/>
<device-support value="at32uc3b0256"/> <device-support value="at32uc3b0256"/>
<device-support value="at32uc3b1256"/> <device-support value="at32uc3b1256"/>
<device-support value="at32uc3a0512"/> <device-support value="at32uc3a0512"/>
<device-support value="at32uc3a1512"/> <device-support value="at32uc3a1512"/>
<device-support value="at32uc3b0512"/> <device-support value="at32uc3b0512"/>
<device-support value="at32uc3b1512"/> <device-support value="at32uc3b1512"/>
</device-alias-map> </device-alias-map>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,34 +1,34 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="service" id="lufa.common" caption="LUFA Common Infrastructure"> <module type="service" id="lufa.common" caption="LUFA Common Infrastructure">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_Common"/> <build type="doxygen-entry-point" value="Group_Common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Version.h"/> <build type="header-file" subtype="api" value="Version.h"/>
<build type="distribute" subtype="license" value="License.txt"/> <build type="distribute" subtype="license" value="License.txt"/>
<build type="header-file" subtype="api" value="Common/Common.h"/> <build type="header-file" subtype="api" value="Common/Common.h"/>
<build type="header-file" value="Common/Architectures.h"/> <build type="header-file" value="Common/Architectures.h"/>
<build type="header-file" value="Common/ArchitectureSpecific.h"/> <build type="header-file" value="Common/ArchitectureSpecific.h"/>
<build type="header-file" value="Common/Attributes.h"/> <build type="header-file" value="Common/Attributes.h"/>
<build type="header-file" value="Common/BoardTypes.h"/> <build type="header-file" value="Common/BoardTypes.h"/>
<build type="header-file" value="Common/CompilerSpecific.h"/> <build type="header-file" value="Common/CompilerSpecific.h"/>
<build type="header-file" value="Common/Endianness.h"/> <build type="header-file" value="Common/Endianness.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,114 +1,114 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture"> <board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture">
<device-support value="mega"/> <device-support value="mega"/>
<require idref="lufa.drivers.board"/> <require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/> <require idref="lufa.drivers.board.info"/>
</board> </board>
<board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture"> <board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture">
<device-support value="xmega"/> <device-support value="xmega"/>
<require idref="lufa.drivers.board"/> <require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/> <require idref="lufa.drivers.board.info"/>
</board> </board>
<board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture"> <board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture">
<device-support value="uc3"/> <device-support value="uc3"/>
<require idref="lufa.drivers.board"/> <require idref="lufa.drivers.board"/>
<require idref="lufa.drivers.board.info"/> <require idref="lufa.drivers.board.info"/>
</board> </board>
<module type="driver" id="lufa.drivers.board.info" caption="LUFA Board Hardware Information Driver"> <module type="driver" id="lufa.drivers.board.info" caption="LUFA Board Hardware Information Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_BoardInfo"/> <build type="doxygen-entry-point" value="Group_BoardInfo"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/Board.h"/> <build type="header-file" subtype="api" value="Drivers/Board/Board.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.board.leds" caption="LUFA Board LED Driver"> <module type="driver" id="lufa.drivers.board.leds" caption="LUFA Board LED Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_LEDs"/> <build type="doxygen-entry-point" value="Group_LEDs"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/LEDs.h"/> <build type="header-file" subtype="api" value="Drivers/Board/LEDs.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.board.buttons" caption="LUFA Board Buttons Driver"> <module type="driver" id="lufa.drivers.board.buttons" caption="LUFA Board Buttons Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Buttons"/> <build type="doxygen-entry-point" value="Group_Buttons"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/Buttons.h"/> <build type="header-file" subtype="api" value="Drivers/Board/Buttons.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.board.dataflash" caption="LUFA Board Dataflash Driver"> <module type="driver" id="lufa.drivers.board.dataflash" caption="LUFA Board Dataflash Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Dataflash"/> <build type="doxygen-entry-point" value="Group_Dataflash"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/Dataflash.h"/> <build type="header-file" subtype="api" value="Drivers/Board/Dataflash.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.board.joystick" caption="LUFA Board Joystick Driver"> <module type="driver" id="lufa.drivers.board.joystick" caption="LUFA Board Joystick Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Joystick"/> <build type="doxygen-entry-point" value="Group_Joystick"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/Joystick.h"/> <build type="header-file" subtype="api" value="Drivers/Board/Joystick.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.board.temperature" caption="LUFA Board Temperature Sensor Driver"> <module type="driver" id="lufa.drivers.board.temperature" caption="LUFA Board Temperature Sensor Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Temperature"/> <build type="doxygen-entry-point" value="Group_Temperature"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.drivers.peripheral.adc"/> <require idref="lufa.drivers.peripheral.adc"/>
<build type="c-source" value="Drivers/Board/Temperature.c"/> <build type="c-source" value="Drivers/Board/Temperature.c"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Board/Temperature.h"/> <build type="header-file" subtype="api" value="Drivers/Board/Temperature.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,57 +1,57 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="component" id="lufa.drivers.misc.at45db321c" caption="LUFA AT45DB321C Dataflash Commands"> <module type="component" id="lufa.drivers.misc.at45db321c" caption="LUFA AT45DB321C Dataflash Commands">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_AT45DB321C"/> <build type="doxygen-entry-point" value="Group_AT45DB321C"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB321C.h"/> <build type="header-file" subtype="api" value="Drivers/Misc/AT45DB321C.h"/>
</module> </module>
<module type="component" id="lufa.drivers.misc.at45db642d" caption="LUFA AT45DB642D Dataflash Commands"> <module type="component" id="lufa.drivers.misc.at45db642d" caption="LUFA AT45DB642D Dataflash Commands">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_AT45DB321C"/> <build type="doxygen-entry-point" value="Group_AT45DB321C"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Misc/AT45DB642D.h"/> <build type="header-file" subtype="api" value="Drivers/Misc/AT45DB642D.h"/>
</module> </module>
<module type="service" id="lufa.drivers.misc.ringbuffer" caption="LUFA Ring Buffer"> <module type="service" id="lufa.drivers.misc.ringbuffer" caption="LUFA Ring Buffer">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_RingBuff"/> <build type="doxygen-entry-point" value="Group_RingBuff"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Misc/RingBuffer.h"/> <build type="header-file" subtype="api" value="Drivers/Misc/RingBuffer.h"/>
</module> </module>
<module type="service" id="lufa.drivers.misc.ansi" caption="LUFA ANSI Terminal Commands"> <module type="service" id="lufa.drivers.misc.ansi" caption="LUFA ANSI Terminal Commands">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Terminal"/> <build type="doxygen-entry-point" value="Group_Terminal"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Misc/TerminalCodes.h"/> <build type="header-file" subtype="api" value="Drivers/Misc/TerminalCodes.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,198 +1,198 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<select-by-device id="lufa.drivers.peripheral.usart" caption="LUFA USART Driver"> <select-by-device id="lufa.drivers.peripheral.usart" caption="LUFA USART Driver">
<module type="driver" id="lufa.drivers.peripheral.usart#avr8" caption="LUFA USART Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.usart#avr8" caption="LUFA USART Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="doxygen-entry-point" value="Group_Serial"/> <build type="doxygen-entry-point" value="Group_Serial"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.drivers.misc.ansi"/> <require idref="lufa.drivers.misc.ansi"/>
<build type="c-source" value="Drivers/Peripheral/AVR8/Serial_AVR8.c"/> <build type="c-source" value="Drivers/Peripheral/AVR8/Serial_AVR8.c"/>
<build type="header-file" value="Drivers/Peripheral/AVR8/Serial_AVR8.h"/> <build type="header-file" value="Drivers/Peripheral/AVR8/Serial_AVR8.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.usart#xmega" caption="LUFA USART Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.usart#xmega" caption="LUFA USART Driver - AVR8">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="doxygen-entry-point" value="Group_Serial"/> <build type="doxygen-entry-point" value="Group_Serial"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.drivers.misc.ansi"/> <require idref="lufa.drivers.misc.ansi"/>
<build type="c-source" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.c"/> <build type="c-source" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.c"/>
<build type="header-file" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.h"/> <build type="header-file" value="Drivers/Peripheral/XMEGA/Serial_XMEGA.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/Serial.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.usart#uc3" caption="LUFA USART Driver - UC3"> <module type="driver" id="lufa.drivers.peripheral.usart#uc3" caption="LUFA USART Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_Serial"/> <build type="doxygen-entry-point" value="Group_Serial"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.drivers.misc.ansi"/> <require idref="lufa.drivers.misc.ansi"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
</select-by-device> </select-by-device>
<select-by-device id="lufa.drivers.peripheral.spi" caption="LUFA SPI Driver"> <select-by-device id="lufa.drivers.peripheral.spi" caption="LUFA SPI Driver">
<module type="driver" id="lufa.drivers.peripheral.spi#avr8" caption="LUFA SPI Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.spi#avr8" caption="LUFA SPI Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="doxygen-entry-point" value="Group_SPI"/> <build type="doxygen-entry-point" value="Group_SPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="header-file" value="Drivers/Peripheral/AVR8/SPI_AVR8.h"/> <build type="header-file" value="Drivers/Peripheral/AVR8/SPI_AVR8.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.spi#xmega" caption="LUFA SPI Driver - XMEGA"> <module type="driver" id="lufa.drivers.peripheral.spi#xmega" caption="LUFA SPI Driver - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="doxygen-entry-point" value="Group_SPI"/> <build type="doxygen-entry-point" value="Group_SPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="header-file" value="Drivers/Peripheral/XMEGA/SPI_XMEGA.h"/> <build type="header-file" value="Drivers/Peripheral/XMEGA/SPI_XMEGA.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/SPI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.spi#uc3" caption="LUFA SPI Driver - UC3"> <module type="driver" id="lufa.drivers.peripheral.spi#uc3" caption="LUFA SPI Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_SPI"/> <build type="doxygen-entry-point" value="Group_SPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
</select-by-device> </select-by-device>
<select-by-device id="lufa.drivers.peripheral.usart_spi" caption="LUFA USART SPI Driver"> <select-by-device id="lufa.drivers.peripheral.usart_spi" caption="LUFA USART SPI Driver">
<module type="driver" id="lufa.drivers.peripheral.usart_spi#avr8" caption="LUFA USART SPI Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.usart_spi#avr8" caption="LUFA USART SPI Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="doxygen-entry-point" value="Group_SerialSPI"/> <build type="doxygen-entry-point" value="Group_SerialSPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="header-file" value="Drivers/Peripheral/AVR8/SerialSPI_AVR8.h"/> <build type="header-file" value="Drivers/Peripheral/AVR8/SerialSPI_AVR8.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.usart_spi#xmega" caption="LUFA USART SPI Driver - XMEGA"> <module type="driver" id="lufa.drivers.peripheral.usart_spi#xmega" caption="LUFA USART SPI Driver - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="doxygen-entry-point" value="Group_SerialSPI"/> <build type="doxygen-entry-point" value="Group_SerialSPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="header-file" value="Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h"/> <build type="header-file" value="Drivers/Peripheral/XMEGA/SerialSPI_XMEGA.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/SerialSPI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.usart_spi#uc3" caption="LUFA USART SPI Driver - UC3"> <module type="driver" id="lufa.drivers.peripheral.usart_spi#uc3" caption="LUFA USART SPI Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_SerialSPI"/> <build type="doxygen-entry-point" value="Group_SerialSPI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
</select-by-device> </select-by-device>
<select-by-device id="lufa.drivers.peripheral.twi" caption="LUFA TWI Master Driver"> <select-by-device id="lufa.drivers.peripheral.twi" caption="LUFA TWI Master Driver">
<module type="driver" id="lufa.drivers.peripheral.twi#avr8" caption="LUFA TWI Master Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.twi#avr8" caption="LUFA TWI Master Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="doxygen-entry-point" value="Group_TWI"/> <build type="doxygen-entry-point" value="Group_TWI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="c-source" value="Drivers/Peripheral/AVR8/TWI_AVR8.c"/> <build type="c-source" value="Drivers/Peripheral/AVR8/TWI_AVR8.c"/>
<build type="header-file" value="Drivers/Peripheral/AVR8/TWI_AVR8.h"/> <build type="header-file" value="Drivers/Peripheral/AVR8/TWI_AVR8.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.twi#xmega" caption="LUFA TWI Master Driver - XMEGA"> <module type="driver" id="lufa.drivers.peripheral.twi#xmega" caption="LUFA TWI Master Driver - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="doxygen-entry-point" value="Group_TWI"/> <build type="doxygen-entry-point" value="Group_TWI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="c-source" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.c"/> <build type="c-source" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.c"/>
<build type="header-file" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.h"/> <build type="header-file" value="Drivers/Peripheral/XMEGA/TWI_XMEGA.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/TWI.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.twi#uc3" caption="LUFA TWI Master Driver - UC3"> <module type="driver" id="lufa.drivers.peripheral.twi#uc3" caption="LUFA TWI Master Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_TWI"/> <build type="doxygen-entry-point" value="Group_TWI"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
</select-by-device> </select-by-device>
<select-by-device id="lufa.drivers.peripheral.adc" caption="LUFA ADC Driver"> <select-by-device id="lufa.drivers.peripheral.adc" caption="LUFA ADC Driver">
<module type="driver" id="lufa.drivers.peripheral.adc#avr8" caption="LUFA ADC Driver - AVR8"> <module type="driver" id="lufa.drivers.peripheral.adc#avr8" caption="LUFA ADC Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="doxygen-entry-point" value="Group_ADC"/> <build type="doxygen-entry-point" value="Group_ADC"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<build type="header-file" value="Drivers/Peripheral/AVR8/ADC_AVR8.h"/> <build type="header-file" value="Drivers/Peripheral/AVR8/ADC_AVR8.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/Peripheral/ADC.h"/> <build type="header-file" subtype="api" value="Drivers/Peripheral/ADC.h"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.adc#xmega" caption="LUFA ADC Driver - XMEGA"> <module type="driver" id="lufa.drivers.peripheral.adc#xmega" caption="LUFA ADC Driver - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="doxygen-entry-point" value="Group_ADC"/> <build type="doxygen-entry-point" value="Group_ADC"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
<module type="driver" id="lufa.drivers.peripheral.adc#uc3" caption="LUFA ADC Driver - UC3"> <module type="driver" id="lufa.drivers.peripheral.adc#uc3" caption="LUFA ADC Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_ADC"/> <build type="doxygen-entry-point" value="Group_ADC"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
</module> </module>
</select-by-device> </select-by-device>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,32 +1,32 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.drivers.usb" caption="LUFA USB Driver"> <module type="driver" id="lufa.drivers.usb" caption="LUFA USB Driver">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_USB"/> <build type="doxygen-entry-point" value="Group_USB"/>
<build type="define" name="USE_LUFA_CONFIG_HEADER" value=""/> <build type="define" name="USE_LUFA_CONFIG_HEADER" value=""/>
<build type="module-config" subtype="path" value="CodeTemplates"/> <build type="module-config" subtype="path" value="CodeTemplates"/>
<build type="module-config" subtype="required-header-file" value="LUFAConfig.h"/> <build type="module-config" subtype="required-header-file" value="LUFAConfig.h"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Drivers/USB/USB.h"/> <build type="header-file" subtype="api" value="Drivers/USB/USB.h"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
<require idref="lufa.drivers.usb.class"/> <require idref="lufa.drivers.usb.class"/>
<require idref="lufa.drivers.usb.core"/> <require idref="lufa.drivers.usb.core"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,32 +1,32 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="service" id="lufa.drivers.usb.class" caption="LUFA USB Class Drivers"> <module type="service" id="lufa.drivers.usb.class" caption="LUFA USB Class Drivers">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBClassDrivers"/> <build type="doxygen-entry-point" value="Group_USBClassDrivers"/>
<require idref="lufa.drivers.usb.class.android"/> <require idref="lufa.drivers.usb.class.android"/>
<require idref="lufa.drivers.usb.class.audio"/> <require idref="lufa.drivers.usb.class.audio"/>
<require idref="lufa.drivers.usb.class.cdc"/> <require idref="lufa.drivers.usb.class.cdc"/>
<require idref="lufa.drivers.usb.class.hid"/> <require idref="lufa.drivers.usb.class.hid"/>
<require idref="lufa.drivers.usb.class.ms"/> <require idref="lufa.drivers.usb.class.ms"/>
<require idref="lufa.drivers.usb.class.midi"/> <require idref="lufa.drivers.usb.class.midi"/>
<require idref="lufa.drivers.usb.class.printer"/> <require idref="lufa.drivers.usb.class.printer"/>
<require idref="lufa.drivers.usb.class.rndis"/> <require idref="lufa.drivers.usb.class.rndis"/>
<require idref="lufa.drivers.usb.class.si"/> <require idref="lufa.drivers.usb.class.si"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,85 +1,85 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.drivers.usb.core.common" caption="LUFA USB Core Driver - Common"> <module type="driver" id="lufa.drivers.usb.core.common" caption="LUFA USB Core Driver - Common">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="doxygen-entry-point" value="Group_USBManagement"/> <build type="doxygen-entry-point" value="Group_USBManagement"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="header-file" value="Drivers/USB/Core/Device.h"/> <build type="header-file" value="Drivers/USB/Core/Device.h"/>
<build type="header-file" value="Drivers/USB/Core/Endpoint.h"/> <build type="header-file" value="Drivers/USB/Core/Endpoint.h"/>
<build type="header-file" value="Drivers/USB/Core/Host.h"/> <build type="header-file" value="Drivers/USB/Core/Host.h"/>
<build type="header-file" value="Drivers/USB/Core/Pipe.h"/> <build type="header-file" value="Drivers/USB/Core/Pipe.h"/>
<build type="header-file" value="Drivers/USB/Core/OTG.h"/> <build type="header-file" value="Drivers/USB/Core/OTG.h"/>
<build type="header-file" value="Drivers/USB/Core/USBController.h"/> <build type="header-file" value="Drivers/USB/Core/USBController.h"/>
<build type="header-file" value="Drivers/USB/Core/USBInterrupt.h"/> <build type="header-file" value="Drivers/USB/Core/USBInterrupt.h"/>
<build type="header-file" value="Drivers/USB/Core/EndpointStream.h"/> <build type="header-file" value="Drivers/USB/Core/EndpointStream.h"/>
<build type="header-file" value="Drivers/USB/Core/PipeStream.h"/> <build type="header-file" value="Drivers/USB/Core/PipeStream.h"/>
<build type="c-source" value="Drivers/USB/Core/ConfigDescriptors.c"/> <build type="c-source" value="Drivers/USB/Core/ConfigDescriptors.c"/>
<build type="header-file" value="Drivers/USB/Core/ConfigDescriptors.h"/> <build type="header-file" value="Drivers/USB/Core/ConfigDescriptors.h"/>
<build type="c-source" value="Drivers/USB/Core/DeviceStandardReq.c"/> <build type="c-source" value="Drivers/USB/Core/DeviceStandardReq.c"/>
<build type="header-file" value="Drivers/USB/Core/DeviceStandardReq.h"/> <build type="header-file" value="Drivers/USB/Core/DeviceStandardReq.h"/>
<build type="c-source" value="Drivers/USB/Core/Events.c"/> <build type="c-source" value="Drivers/USB/Core/Events.c"/>
<build type="header-file" value="Drivers/USB/Core/Events.h"/> <build type="header-file" value="Drivers/USB/Core/Events.h"/>
<build type="c-source" value="Drivers/USB/Core/HostStandardReq.c"/> <build type="c-source" value="Drivers/USB/Core/HostStandardReq.c"/>
<build type="header-file" value="Drivers/USB/Core/HostStandardReq.h"/> <build type="header-file" value="Drivers/USB/Core/HostStandardReq.h"/>
<build type="c-source" value="Drivers/USB/Core/USBTask.c"/> <build type="c-source" value="Drivers/USB/Core/USBTask.c"/>
<build type="header-file" value="Drivers/USB/Core/USBTask.h"/> <build type="header-file" value="Drivers/USB/Core/USBTask.h"/>
<build type="header-file" value="Drivers/USB/Core/USBMode.h"/> <build type="header-file" value="Drivers/USB/Core/USBMode.h"/>
<build type="header-file" value="Drivers/USB/Core/StdDescriptors.h"/> <build type="header-file" value="Drivers/USB/Core/StdDescriptors.h"/>
<build type="header-file" value="Drivers/USB/Core/StdRequestType.h"/> <build type="header-file" value="Drivers/USB/Core/StdRequestType.h"/>
<build type="c-source" value="Drivers/USB/Class/Common/HIDParser.c"/> <build type="c-source" value="Drivers/USB/Class/Common/HIDParser.c"/>
<build type="header-file" value="Drivers/USB/Class/Common/HIDParser.h"/> <build type="header-file" value="Drivers/USB/Class/Common/HIDParser.h"/>
<build type="header-file" value="Drivers/USB/Class/Common/HIDReportData.h"/> <build type="header-file" value="Drivers/USB/Class/Common/HIDReportData.h"/>
</module> </module>
<select-by-device id="lufa.drivers.usb.core" caption="LUFA USB Core Driver"> <select-by-device id="lufa.drivers.usb.core" caption="LUFA USB Core Driver">
<module type="driver" id="lufa.drivers.usb.core#avr8" caption="LUFA USB Core Driver - AVR8"> <module type="driver" id="lufa.drivers.usb.core#avr8" caption="LUFA USB Core Driver - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/> <build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
<require idref="lufa.drivers.usb.core.common"/> <require idref="lufa.drivers.usb.core.common"/>
<require idref="lufa.drivers.usb.core.avr8"/> <require idref="lufa.drivers.usb.core.avr8"/>
</module> </module>
<module type="driver" id="lufa.drivers.usb.core#xmega" caption="LUFA USB Core Driver - XMEGA"> <module type="driver" id="lufa.drivers.usb.core#xmega" caption="LUFA USB Core Driver - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/> <build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
<require idref="lufa.drivers.usb.core.common"/> <require idref="lufa.drivers.usb.core.common"/>
<require idref="lufa.drivers.usb.core.xmega"/> <require idref="lufa.drivers.usb.core.xmega"/>
</module> </module>
<module type="driver" id="lufa.drivers.usb.core#uc3" caption="LUFA USB Core Driver - UC3"> <module type="driver" id="lufa.drivers.usb.core#uc3" caption="LUFA USB Core Driver - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/> <build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
<require idref="lufa.drivers.usb.core.common"/> <require idref="lufa.drivers.usb.core.common"/>
<require idref="lufa.drivers.usb.core.uc3"/> <require idref="lufa.drivers.usb.core.uc3"/>
</module> </module>
</select-by-device> </select-by-device>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,43 +1,43 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.drivers.usb.core.avr8" caption="LUFA USB Core Driver for AVR8"> <module type="driver" id="lufa.drivers.usb.core.avr8" caption="LUFA USB Core Driver for AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/> <build type="doxygen-entry-point" value="Group_USBManagement_AVR8"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_R.c"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_Control_W.c"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Endpoint_RW.c"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Template/Template_Pipe_RW.c"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Device_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Device_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/Device_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/Device_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/Endpoint_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Host_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Host_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/Host_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/Host_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/Pipe_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/Pipe_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/Pipe_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/Pipe_AVR8.h"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/OTG_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/OTG_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/USBController_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/USBController_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/USBController_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/USBController_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/EndpointStream_AVR8.h"/>
<build type="c-source" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.c"/> <build type="c-source" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.c"/>
<build type="header-file" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.h"/> <build type="header-file" value="Drivers/USB/Core/AVR8/PipeStream_AVR8.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,42 +1,42 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.drivers.usb.core.uc3" caption="LUFA USB Core Driver for UC3"> <module type="driver" id="lufa.drivers.usb.core.uc3" caption="LUFA USB Core Driver for UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_UC3"/> <build type="doxygen-entry-point" value="Group_USBManagement_UC3"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_R.c"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_Control_W.c"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Endpoint_RW.c"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Template/Template_Pipe_RW.c"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Device_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Device_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/Device_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/Device_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Endpoint_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Endpoint_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/Endpoint_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/Endpoint_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Host_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Host_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/Host_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/Host_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/Pipe_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/Pipe_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/Pipe_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/Pipe_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/USBController_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/USBController_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/USBController_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/USBController_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/USBInterrupt_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/EndpointStream_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/EndpointStream_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/EndpointStream_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/EndpointStream_UC3.h"/>
<build type="c-source" value="Drivers/USB/Core/UC3/PipeStream_UC3.c"/> <build type="c-source" value="Drivers/USB/Core/UC3/PipeStream_UC3.c"/>
<build type="header-file" value="Drivers/USB/Core/UC3/PipeStream_UC3.h"/> <build type="header-file" value="Drivers/USB/Core/UC3/PipeStream_UC3.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,36 +1,36 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.drivers.usb.core.xmega" caption="LUFA USB Core Driver for XMEGA"> <module type="driver" id="lufa.drivers.usb.core.xmega" caption="LUFA USB Core Driver for XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/> <build type="doxygen-entry-point" value="Group_USBManagement_XMEGA"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_R.c"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Template/Template_Endpoint_RW.c"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Device_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Device_XMEGA.c"/>
<build type="header-file" value="Drivers/USB/Core/XMEGA/Device_XMEGA.h"/> <build type="header-file" value="Drivers/USB/Core/XMEGA/Device_XMEGA.h"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.c"/>
<build type="header-file" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h"/> <build type="header-file" value="Drivers/USB/Core/XMEGA/Endpoint_XMEGA.h"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/Pipe_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/Pipe_XMEGA.c"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.c"/>
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.h"/> <build type="header-file" value="Drivers/USB/Core/XMEGA/USBController_XMEGA.h"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c"/>
<build type="header-file" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h"/> <build type="header-file" value="Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.h"/>
<build type="c-source" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c"/> <build type="c-source" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.c"/>
<build type="header-file" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h"/> <build type="header-file" value="Drivers/USB/Core/XMEGA/EndpointStream_XMEGA.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,60 +1,60 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<select-by-device id="lufa.platform" caption="LUFA Platform Specific Support"> <select-by-device id="lufa.platform" caption="LUFA Platform Specific Support">
<module type="service" id="lufa.platform#avr8" caption="LUFA Platform Specific Support - AVR8"> <module type="service" id="lufa.platform#avr8" caption="LUFA Platform Specific Support - AVR8">
<device-support-alias value="lufa_avr8"/> <device-support-alias value="lufa_avr8"/>
<build type="define" name="ARCH" value="ARCH_AVR8"/> <build type="define" name="ARCH" value="ARCH_AVR8"/>
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/> <build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Platform/Platform.h"/> <build type="header-file" subtype="api" value="Platform/Platform.h"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
</module> </module>
<module type="service" id="lufa.platform#xmega" caption="LUFA Platform Specific Support - XMEGA"> <module type="service" id="lufa.platform#xmega" caption="LUFA Platform Specific Support - XMEGA">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<build type="define" name="ARCH" value="ARCH_XMEGA"/> <build type="define" name="ARCH" value="ARCH_XMEGA"/>
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/> <build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Platform/Platform.h"/> <build type="header-file" subtype="api" value="Platform/Platform.h"/>
<build type="distribute" value="Platform/XMEGA/XMEGAExperimentalInfo.txt" subtype="license"/> <build type="distribute" value="Platform/XMEGA/XMEGAExperimentalInfo.txt" subtype="license"/>
<require idref="lufa.platform.xmega"/> <require idref="lufa.platform.xmega"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
</module> </module>
<module type="service" id="lufa.platform#uc3" caption="LUFA Platform Specific Support - UC3"> <module type="service" id="lufa.platform#uc3" caption="LUFA Platform Specific Support - UC3">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<build type="define" name="ARCH" value="ARCH_UC3"/> <build type="define" name="ARCH" value="ARCH_UC3"/>
<build type="doxygen-entry-point" value="Group_PlatformDrivers"/> <build type="doxygen-entry-point" value="Group_PlatformDrivers"/>
<build type="include-path" value=".."/> <build type="include-path" value=".."/>
<build type="header-file" subtype="api" value="Platform/Platform.h"/> <build type="header-file" subtype="api" value="Platform/Platform.h"/>
<build type="distribute" value="Platform/UC3/UC3ExperimentalInfo.txt" subtype="license"/> <build type="distribute" value="Platform/UC3/UC3ExperimentalInfo.txt" subtype="license"/>
<require idref="lufa.platform.uc3"/> <require idref="lufa.platform.uc3"/>
<require idref="lufa.common"/> <require idref="lufa.common"/>
</module> </module>
</select-by-device> </select-by-device>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,26 +1,26 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<module type="driver" id="lufa.platform.uc3" caption="LUFA UC3 Platform Drivers"> <module type="driver" id="lufa.platform.uc3" caption="LUFA UC3 Platform Drivers">
<device-support-alias value="lufa_uc3"/> <device-support-alias value="lufa_uc3"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_PlatformDrivers_UC3"/> <build type="doxygen-entry-point" value="Group_PlatformDrivers_UC3"/>
<build type="header-file" value="Platform/UC3/ClockManagement.h"/> <build type="header-file" value="Platform/UC3/ClockManagement.h"/>
<build type="header-file" value="Platform/UC3/InterruptManagement.h"/> <build type="header-file" value="Platform/UC3/InterruptManagement.h"/>
<build type="c-source" value="Platform/UC3/InterruptManagement.c"/> <build type="c-source" value="Platform/UC3/InterruptManagement.c"/>
<build type="asm-source" value="Platform/UC3/Exception.S"/> <build type="asm-source" value="Platform/UC3/Exception.S"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,23 +1,23 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf xmlversion="1.0"> <asf xmlversion="1.0">
<module type="driver" id="lufa.platform.xmega" caption="LUFA XMEGA Platform Drivers"> <module type="driver" id="lufa.platform.xmega" caption="LUFA XMEGA Platform Drivers">
<device-support-alias value="lufa_xmega"/> <device-support-alias value="lufa_xmega"/>
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<build type="doxygen-entry-point" value="Group_PlatformDrivers_XMEGA"/> <build type="doxygen-entry-point" value="Group_PlatformDrivers_XMEGA"/>
<build type="header-file" value="Platform/XMEGA/ClockManagement.h"/> <build type="header-file" value="Platform/XMEGA/ClockManagement.h"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,43 +1,43 @@
<!-- <!--
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2013. Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
--> -->
<!-- Atmel Studio framework integration file --> <!-- Atmel Studio framework integration file -->
<lufa> <lufa>
<asf> <asf>
<select-by-device id="common.utils.toolchain_config" caption="Toolchain configuration defaults"> <select-by-device id="common.utils.toolchain_config" caption="Toolchain configuration defaults">
<module type="build-specific" id="common.utils.toolchain_config#avr" caption="Toolchain configuration defaults for 8-bit AVR"> <module type="build-specific" id="common.utils.toolchain_config#avr" caption="Toolchain configuration defaults for 8-bit AVR">
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<device-support value="avr"/> <device-support value="avr"/>
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.warnings.AllWarnings" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.warnings.AllWarnings" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/> <toolchain-config name="avrgcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -fno-jump-tables" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avrgcc"/>
<toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/> <toolchain-config name="avrgcc.linker.optimization.RelaxBranches" value="True" toolchain="avrgcc"/>
</module> </module>
</select-by-device> </select-by-device>
<module type="build-specific" id="common.utils.toolchain_config#uc3" caption="Toolchain configuration defaults for 32-bit AVR"> <module type="build-specific" id="common.utils.toolchain_config#uc3" caption="Toolchain configuration defaults for 32-bit AVR">
<info type="gui-flag" value="hidden"/> <info type="gui-flag" value="hidden"/>
<device-support value="uc3"/> <device-support value="uc3"/>
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avr32gcc"/> <toolchain-config name="avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avr32gcc"/> <toolchain-config name="avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.compiler.optimization.OtherFlags" value="-fdata-sections" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.compiler.optimization.PrepareFunctionsForGarbageCollection" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.compiler.warnings.AllWarnings" value="True" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.compiler.warnings.AllWarnings" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -mno-cond-exec-before-reload" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.compiler.miscellaneous.OtherFlags" value="-mrelax -std=gnu99 -fno-strict-aliasing -mno-cond-exec-before-reload" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.linker.optimization.GarbageCollectUnusedSections" value="True" toolchain="avr32gcc"/>
<toolchain-config name="avr32gcc.linker.optimization.RelaxBranches" value="True" toolchain="avr32gcc"/> <toolchain-config name="avr32gcc.linker.optimization.RelaxBranches" value="True" toolchain="avr32gcc"/>
</module> </module>
</asf> </asf>
</lufa> </lufa>

View File

@ -1,93 +1,93 @@
/* /*
LUFA Library LUFA Library
Copyright (C) Dean Camera, 2012. Copyright (C) Dean Camera, 2012.
dean [at] fourwalledcubicle [dot] com dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org www.lufa-lib.org
*/ */
/* /*
Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted software and its documentation for any purpose is hereby granted
without fee, provided that the above copyright notice appear in without fee, provided that the above copyright notice appear in
all copies and that both that the copyright notice and this all copies and that both that the copyright notice and this
permission notice and warranty disclaimer appear in supporting permission notice and warranty disclaimer appear in supporting
documentation, and that the name of the author not be used in documentation, and that the name of the author not be used in
advertising or publicity pertaining to distribution of the advertising or publicity pertaining to distribution of the
software without specific, written prior permission. software without specific, written prior permission.
The author disclaim all warranties with regard to this The author disclaim all warranties with regard to this
software, including all implied warranties of merchantability software, including all implied warranties of merchantability
and fitness. In no event shall the author be liable for any and fitness. In no event shall the author be liable for any
special, indirect or consequential damages or any damages special, indirect or consequential damages or any damages
whatsoever resulting from loss of use, data or profits, whether whatsoever resulting from loss of use, data or profits, whether
in an action of contract, negligence or other tortious action, in an action of contract, negligence or other tortious action,
arising out of or in connection with the use or performance of arising out of or in connection with the use or performance of
this software. this software.
*/ */
/** \file /** \file
* \brief LUFA Library Configuration Header File * \brief LUFA Library Configuration Header File
* *
* This header file is used to configure LUFA's compile time options, * This header file is used to configure LUFA's compile time options,
* as an alternative to the compile time constants supplied through * as an alternative to the compile time constants supplied through
* a makefile. * a makefile.
* *
* For information on what each token does, refer to the LUFA * For information on what each token does, refer to the LUFA
* manual section "Summary of Compile Tokens". * manual section "Summary of Compile Tokens".
*/ */
#ifndef _LUFA_CONFIG_H_ #ifndef _LUFA_CONFIG_H_
#define _LUFA_CONFIG_H_ #define _LUFA_CONFIG_H_
#if (ARCH == ARCH_AVR8) #if (ARCH == ARCH_AVR8)
/* Non-USB Related Configuration Tokens: */ /* Non-USB Related Configuration Tokens: */
// #define DISABLE_TERMINAL_CODES // #define DISABLE_TERMINAL_CODES
/* USB Class Driver Related Tokens: */ /* USB Class Driver Related Tokens: */
// #define HID_HOST_BOOT_PROTOCOL_ONLY // #define HID_HOST_BOOT_PROTOCOL_ONLY
// #define HID_STATETABLE_STACK_DEPTH {Insert Value Here} // #define HID_STATETABLE_STACK_DEPTH {Insert Value Here}
// #define HID_USAGE_STACK_DEPTH {Insert Value Here} // #define HID_USAGE_STACK_DEPTH {Insert Value Here}
// #define HID_MAX_COLLECTIONS {Insert Value Here} // #define HID_MAX_COLLECTIONS {Insert Value Here}
// #define HID_MAX_REPORTITEMS {Insert Value Here} // #define HID_MAX_REPORTITEMS {Insert Value Here}
// #define HID_MAX_REPORT_IDS {Insert Value Here} // #define HID_MAX_REPORT_IDS {Insert Value Here}
// #define NO_CLASS_DRIVER_AUTOFLUSH // #define NO_CLASS_DRIVER_AUTOFLUSH
/* General USB Driver Related Tokens: */ /* General USB Driver Related Tokens: */
// #define ORDERED_EP_CONFIG // #define ORDERED_EP_CONFIG
#define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL) #define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)
#define USB_DEVICE_ONLY #define USB_DEVICE_ONLY
// #define USB_HOST_ONLY // #define USB_HOST_ONLY
// #define USB_STREAM_TIMEOUT_MS {Insert Value Here} // #define USB_STREAM_TIMEOUT_MS {Insert Value Here}
// #define NO_LIMITED_CONTROLLER_CONNECT // #define NO_LIMITED_CONTROLLER_CONNECT
// #define NO_SOF_EVENTS // #define NO_SOF_EVENTS
/* USB Device Mode Driver Related Tokens: */ /* USB Device Mode Driver Related Tokens: */
// #define USE_RAM_DESCRIPTORS // #define USE_RAM_DESCRIPTORS
#define USE_FLASH_DESCRIPTORS #define USE_FLASH_DESCRIPTORS
// #define USE_EEPROM_DESCRIPTORS // #define USE_EEPROM_DESCRIPTORS
// #define NO_INTERNAL_SERIAL // #define NO_INTERNAL_SERIAL
#define FIXED_CONTROL_ENDPOINT_SIZE 8 #define FIXED_CONTROL_ENDPOINT_SIZE 8
// #define DEVICE_STATE_AS_GPIOR {Insert Value Here} // #define DEVICE_STATE_AS_GPIOR {Insert Value Here}
#define FIXED_NUM_CONFIGURATIONS 1 #define FIXED_NUM_CONFIGURATIONS 1
// #define CONTROL_ONLY_DEVICE // #define CONTROL_ONLY_DEVICE
// #define INTERRUPT_CONTROL_ENDPOINT // #define INTERRUPT_CONTROL_ENDPOINT
// #define NO_DEVICE_REMOTE_WAKEUP // #define NO_DEVICE_REMOTE_WAKEUP
// #define NO_DEVICE_SELF_POWER // #define NO_DEVICE_SELF_POWER
/* USB Host Mode Driver Related Tokens: */ /* USB Host Mode Driver Related Tokens: */
// #define HOST_STATE_AS_GPIOR {Insert Value Here} // #define HOST_STATE_AS_GPIOR {Insert Value Here}
// #define USB_HOST_TIMEOUT_MS {Insert Value Here} // #define USB_HOST_TIMEOUT_MS {Insert Value Here}
// #define HOST_DEVICE_SETTLE_DELAY_MS {Insert Value Here} // #define HOST_DEVICE_SETTLE_DELAY_MS {Insert Value Here}
// #define NO_AUTO_VBUS_MANAGEMENT // #define NO_AUTO_VBUS_MANAGEMENT
// #define INVERTED_VBUS_ENABLE_LINE // #define INVERTED_VBUS_ENABLE_LINE
#else #else
#error Unsupported architecture for this LUFA configuration file. #error Unsupported architecture for this LUFA configuration file.
#endif #endif
#endif #endif

View File

@ -3,114 +3,114 @@ index 51a79bb..42d07bd 100644
--- a/os/common/ports/ARMCMx/compilers/GCC/crt0_v6m.s --- a/os/common/ports/ARMCMx/compilers/GCC/crt0_v6m.s
+++ b/os/common/ports/ARMCMx/compilers/GCC/crt0_v6m.s +++ b/os/common/ports/ARMCMx/compilers/GCC/crt0_v6m.s
@@ -105,6 +105,13 @@ @@ -105,6 +105,13 @@
#define CRT0_CALL_DESTRUCTORS TRUE #define CRT0_CALL_DESTRUCTORS TRUE
#endif #endif
+/** +/**
+ * @brief Magic number for jumping to bootloader. + * @brief Magic number for jumping to bootloader.
+ */ + */
+#if !defined(MAGIC_BOOTLOADER_NUMBER) || defined(__DOXYGEN__) +#if !defined(MAGIC_BOOTLOADER_NUMBER) || defined(__DOXYGEN__)
+#define MAGIC_BOOTLOADER_NUMBER 0xDEADBEEF +#define MAGIC_BOOTLOADER_NUMBER 0xDEADBEEF
+#endif +#endif
+ +
/*===========================================================================*/ /*===========================================================================*/
/* Code section. */ /* Code section. */
/*===========================================================================*/ /*===========================================================================*/
@@ -124,6 +131,17 @@ @@ -124,6 +131,17 @@
.thumb_func .thumb_func
.global Reset_Handler .global Reset_Handler
Reset_Handler: Reset_Handler:
+ +
+#ifdef STM32_BOOTLOADER_ADDRESS +#ifdef STM32_BOOTLOADER_ADDRESS
+ /* jump to bootloader code */ + /* jump to bootloader code */
+ ldr r0, =__ram0_end__-4 + ldr r0, =__ram0_end__-4
+ ldr r1, =MAGIC_BOOTLOADER_NUMBER + ldr r1, =MAGIC_BOOTLOADER_NUMBER
+ ldr r2, [r0, #0] + ldr r2, [r0, #0]
+ str r0, [r0, #0] /* erase stored magic */ + str r0, [r0, #0] /* erase stored magic */
+ cmp r2, r1 + cmp r2, r1
+ beq Bootloader_Jump + beq Bootloader_Jump
+#endif /* STM32_BOOTLOADER_ADDRESS */ +#endif /* STM32_BOOTLOADER_ADDRESS */
+ +
/* Interrupts are globally masked initially.*/ /* Interrupts are globally masked initially.*/
cpsid i cpsid i
@@ -242,6 +260,21 @@ endfiniloop: @@ -242,6 +260,21 @@ endfiniloop:
ldr r1, =__default_exit ldr r1, =__default_exit
bx r1 bx r1
+#ifdef STM32_BOOTLOADER_ADDRESS +#ifdef STM32_BOOTLOADER_ADDRESS
+/* +/*
+ * Jump-to-bootloader function. + * Jump-to-bootloader function.
+ */ + */
+ +
+ .align 2 + .align 2
+ .thumb_func + .thumb_func
+Bootloader_Jump: +Bootloader_Jump:
+ ldr r0, =STM32_BOOTLOADER_ADDRESS + ldr r0, =STM32_BOOTLOADER_ADDRESS
+ ldr r1, [r0, #0] + ldr r1, [r0, #0]
+ mov sp, r1 + mov sp, r1
+ ldr r0, [r0, #4] + ldr r0, [r0, #4]
+ bx r0 + bx r0
+#endif /* STM32_BOOTLOADER_ADDRESS */ +#endif /* STM32_BOOTLOADER_ADDRESS */
+ +
#endif #endif
/** @} */ /** @} */
diff --git a/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s b/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s diff --git a/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s b/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s
index 4812a29..dca9f88 100644 index 4812a29..dca9f88 100644
--- a/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s --- a/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s
+++ b/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s +++ b/os/common/ports/ARMCMx/compilers/GCC/crt0_v7m.s
@@ -140,6 +140,13 @@ @@ -140,6 +140,13 @@
#define CRT0_CPACR_INIT 0x00F00000 #define CRT0_CPACR_INIT 0x00F00000
#endif #endif
+/** +/**
+ * @brief Magic number for jumping to bootloader. + * @brief Magic number for jumping to bootloader.
+ */ + */
+#if !defined(MAGIC_BOOTLOADER_NUMBER) || defined(__DOXYGEN__) +#if !defined(MAGIC_BOOTLOADER_NUMBER) || defined(__DOXYGEN__)
+#define MAGIC_BOOTLOADER_NUMBER 0xDEADBEEF +#define MAGIC_BOOTLOADER_NUMBER 0xDEADBEEF
+#endif +#endif
+ +
/*===========================================================================*/ /*===========================================================================*/
/* Code section. */ /* Code section. */
/*===========================================================================*/ /*===========================================================================*/
@@ -164,6 +171,17 @@ @@ -164,6 +171,17 @@
.thumb_func .thumb_func
.global Reset_Handler .global Reset_Handler
Reset_Handler: Reset_Handler:
+ +
+#ifdef STM32_BOOTLOADER_ADDRESS +#ifdef STM32_BOOTLOADER_ADDRESS
+ /* jump to bootloader code */ + /* jump to bootloader code */
+ ldr r0, =__ram0_end__-4 + ldr r0, =__ram0_end__-4
+ ldr r1, =MAGIC_BOOTLOADER_NUMBER + ldr r1, =MAGIC_BOOTLOADER_NUMBER
+ ldr r2, [r0, #0] + ldr r2, [r0, #0]
+ str r0, [r0, #0] /* erase stored magic */ + str r0, [r0, #0] /* erase stored magic */
+ cmp r2, r1 + cmp r2, r1
+ beq Bootloader_Jump + beq Bootloader_Jump
+#endif /* STM32_BOOTLOADER_ADDRESS */ +#endif /* STM32_BOOTLOADER_ADDRESS */
+ +
/* Interrupts are globally masked initially.*/ /* Interrupts are globally masked initially.*/
cpsid i cpsid i
@@ -305,6 +323,21 @@ endfiniloop: @@ -305,6 +323,21 @@ endfiniloop:
/* Branching to the defined exit handler.*/ /* Branching to the defined exit handler.*/
b __default_exit b __default_exit
+#ifdef STM32_BOOTLOADER_ADDRESS +#ifdef STM32_BOOTLOADER_ADDRESS
+/* +/*
+ * Jump-to-bootloader function. + * Jump-to-bootloader function.
+ */ + */
+ +
+ .align 2 + .align 2
+ .thumb_func + .thumb_func
+Bootloader_Jump: +Bootloader_Jump:
+ ldr r0, =STM32_BOOTLOADER_ADDRESS + ldr r0, =STM32_BOOTLOADER_ADDRESS
+ ldr r1, [r0, #0] + ldr r1, [r0, #0]
+ mov sp, r1 + mov sp, r1
+ ldr r0, [r0, #4] + ldr r0, [r0, #4]
+ bx r0 + bx r0
+#endif /* STM32_BOOTLOADER_ADDRESS */ +#endif /* STM32_BOOTLOADER_ADDRESS */
+ +
#endif /* !defined(__DOXYGEN__) */ #endif /* !defined(__DOXYGEN__) */
/** @} */ /** @} */