aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c33
-rw-r--r--LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h3
-rw-r--r--LUFA/CodeTemplates/DeviceTemplate/asf.xml16
-rw-r--r--LUFA/CodeTemplates/HostTemplate/asf.xml2
-rw-r--r--LUFA/StudioIntegration/lufa_drivers_board.xml32
-rw-r--r--LUFA/StudioIntegration/lufa_drivers_board_names.xml200
6 files changed, 271 insertions, 15 deletions
diff --git a/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c b/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c
index 893c733a6..e107c8680 100644
--- a/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c
+++ b/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.c
@@ -55,15 +55,30 @@ int main(void)
/** Configures the board hardware and chip peripherals for the demo's functionality. */
void SetupHardware(void)
{
- /* Disable watchdog if enabled by bootloader/fuses */
- MCUSR &= ~(1 << WDRF);
- wdt_disable();
-
- /* Disable clock division */
- clock_prescale_set(clock_div_1);
-
- /* Hardware Initialization */
- USB_Init(USB_MODE_Device, USB_DEVICE_OPT_FULLSPEED | USB_OPT_AUTO_PLL);
+ #if (ARCH == ARCH_AVR8)
+ /* Disable watchdog if enabled by bootloader/fuses */
+ MCUSR &= ~(1 << WDRF);
+ wdt_disable();
+
+ /* Disable clock division */
+ clock_prescale_set(clock_div_1);
+
+ /* Hardware Initialization */
+ USB_Init(USB_MODE_Device, USB_DEVICE_OPT_FULLSPEED | USB_OPT_AUTO_PLL);
+ #elif (ARCH == ARCH_XMEGA)
+ /* Start the PLL to multiply the 2MHz RC oscillator to 32MHz and switch the CPU core to run from it */
+ XMEGACLK_StartPLL(CLOCK_SRC_INT_RC2MHZ, 2000000, F_CPU);
+ XMEGACLK_SetCPUClockSource(CLOCK_SRC_PLL);
+
+ /* Start the 32MHz internal RC oscillator and start the DFLL to increase it to 48MHz using the USB SOF as a reference */
+ XMEGACLK_StartInternalOscillator(CLOCK_SRC_INT_RC32MHZ);
+ XMEGACLK_StartDFLL(CLOCK_SRC_INT_RC32MHZ, DFLL_REF_INT_USBSOF, F_USB);
+
+ PMIC.CTRL = PMIC_LOLVLEN_bm | PMIC_MEDLVLEN_bm | PMIC_HILVLEN_bm;
+
+ /* Hardware Initialization */
+ USB_Init(USB_OPT_RC32MCLKSRC | USB_OPT_BUSEVENT_PRIHIGH);
+ #endif
}
/** Event handler for the library USB Connection event. */
diff --git a/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h b/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h
index 9dac556a1..bc6875bcc 100644
--- a/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h
+++ b/LUFA/CodeTemplates/DeviceTemplate/DeviceApplication.h
@@ -34,13 +34,14 @@
*/
#ifndef _USB_DEVICE_APPLICATION_H_
-#define _USB_DEVICE_APPLICATION_
+#define _USB_DEVICE_APPLICATION_H_
/* Includes: */
#include <avr/io.h>
#include <avr/wdt.h>
#include <avr/power.h>
+ #include <LUFA/Platform/Platform.h>
#include <LUFA/Drivers/USB/USB.h>
#include "Descriptors.h"
diff --git a/LUFA/CodeTemplates/DeviceTemplate/asf.xml b/LUFA/CodeTemplates/DeviceTemplate/asf.xml
index 0cceef9f0..cdb4c605a 100644
--- a/LUFA/CodeTemplates/DeviceTemplate/asf.xml
+++ b/LUFA/CodeTemplates/DeviceTemplate/asf.xml
@@ -1,7 +1,7 @@
<asf xmlversion="1.0">
- <project caption="USB Device Template" id="lufa.templates.device.project">
+ <project caption="USB Device Template" id="lufa.templates.device.project.avr8">
<require idref="lufa.templates.device"/>
- <require idref="lufa.boards.dummy"/>
+ <require idref="lufa.boards.dummy.avr8"/>
<generator value="as5_8_template"/>
<device-support value="at90usb1287"/>
@@ -11,6 +11,18 @@
<build type="define" name="F_USB" value="8000000UL"/>
</project>
+ <project caption="USB Device Template" id="lufa.templates.device.project.xmega">
+ <require idref="lufa.templates.device"/>
+ <require idref="lufa.boards.dummy.xmega"/>
+ <generator value="as5_8_template"/>
+
+ <device-support value="atxmega256a3bu"/>
+ <config name="lufa.drivers.board.name" value="a3bu_xplained"/>
+
+ <build type="define" name="F_CPU" value="32000000UL"/>
+ <build type="define" name="F_USB" value="48000000UL"/>
+ </project>
+
<module type="application" id="lufa.templates.device" caption="USB Device Template">
<info type="description" value="summary">
Template for a LUFA USB device mode application.
diff --git a/LUFA/CodeTemplates/HostTemplate/asf.xml b/LUFA/CodeTemplates/HostTemplate/asf.xml
index 0c20c4b12..9acef597e 100644
--- a/LUFA/CodeTemplates/HostTemplate/asf.xml
+++ b/LUFA/CodeTemplates/HostTemplate/asf.xml
@@ -1,7 +1,7 @@
<asf xmlversion="1.0">
<project caption="USB Host Template" id="lufa.templates.host.project">
<require idref="lufa.templates.host"/>
- <require idref="lufa.boards.dummy"/>
+ <require idref="lufa.boards.dummy.avr8"/>
<generator value="as5_8_template"/>
<device-support value="at90usb1287"/>
diff --git a/LUFA/StudioIntegration/lufa_drivers_board.xml b/LUFA/StudioIntegration/lufa_drivers_board.xml
index 89b915183..2e2908e15 100644
--- a/LUFA/StudioIntegration/lufa_drivers_board.xml
+++ b/LUFA/StudioIntegration/lufa_drivers_board.xml
@@ -10,12 +10,40 @@
<lufa>
<asf>
- <board id="lufa.boards.dummy" vendor="LUFA" caption="LUFA">
- <device-support value="avr"/>
+ <board id="lufa.boards.dummy.avr8" vendor="LUFA" caption="AVR8 Architecture">
+ <device-support value="lufa_avr8"/>
<require idref="lufa.drivers.board"/>
+ <require idref="lufa.drivers.board.info"/>
</board>
+ <board id="lufa.boards.dummy.xmega" vendor="LUFA" caption="XMEGA Architecture">
+ <device-support value="lufa_xmega"/>
+
+ <require idref="lufa.drivers.board"/>
+ <require idref="lufa.drivers.board.info"/>
+ </board>
+
+ <board id="lufa.boards.dummy.uc3" vendor="LUFA" caption="UC3 Architecture">
+ <device-support value="lufa_uc3"/>
+
+ <require idref="lufa.drivers.board"/>
+ <require idref="lufa.drivers.board.info"/>
+ </board>
+
+ <module type="driver" id="lufa.drivers.board.info" caption="LUFA Board Information Driver">
+ <device-support-alias value="lufa_avr8"/>
+ <device-support-alias value="lufa_xmega"/>
+ <device-support-alias value="lufa_uc3"/>
+
+ <build type="doxygen-entry-point" value="Group_BoardInfo"/>
+
+ <require idref="lufa.common"/>
+
+ <build type="include-path" value=".."/>
+ <build type="header-file" subtype="api" value="Drivers/Board/Board.h"/>
+ </module>
+
<module type="driver" id="lufa.drivers.board.leds" caption="LUFA Board LED Driver">
<device-support-alias value="lufa_avr8"/>
<device-support-alias value="lufa_xmega"/>
diff --git a/LUFA/StudioIntegration/lufa_drivers_board_names.xml b/LUFA/StudioIntegration/lufa_drivers_board_names.xml
index 821209618..87ba21d94 100644
--- a/LUFA/StudioIntegration/lufa_drivers_board_names.xml
+++ b/LUFA/StudioIntegration/lufa_drivers_board_names.xml
@@ -25,6 +25,9 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_ADAFRUITU4"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/ADAFRUITU4/LEDs.h"/>
</module>
@@ -32,6 +35,10 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_ATAVRUSBRF01"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/ATAVRUSBRF01/LEDs.h"/>
</module>
@@ -40,6 +47,10 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_BENITO"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/BENITO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BENITO/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BENITO/LEDs.h"/>
</module>
@@ -48,6 +59,9 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_BIGMULTIO"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BIGMULTIO/LEDs.h"/>
</module>
@@ -55,6 +69,9 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_BLACKCAT"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BLACKCAT/LEDs.h"/>
</module>
@@ -62,6 +79,9 @@
<device-support value="at90usb646"/>
<build type="define" name="BOARD" value="BOARD_BUI"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/BUI/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BUI/LEDs.h"/>
</module>
@@ -69,6 +89,11 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_BUMBLEB"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.joystick"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/Joystick.h"/>
<build type="header-file" value="Drivers/Board/AVR8/BUMBLEB/LEDs.h"/>
@@ -78,6 +103,10 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_CULV3"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/CULV3/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/CULV3/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/CULV3/LEDs.h"/>
</module>
@@ -86,6 +115,9 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_DUCE"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/DUCE/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/DUCE/LEDs.h"/>
</module>
@@ -95,7 +127,12 @@
<require idref="lufa.drivers.misc.at45db321c"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/AVR8/EVK527/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/EVK527/Joystick.h"/>
@@ -106,6 +143,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_JMDBU2"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/JMDBU2/LEDs.h"/>
</module>
@@ -114,6 +155,9 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_LEONARDO"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/LEONARDO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/LEONARDO/LEDs.h"/>
</module>
@@ -121,6 +165,9 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_MAXIMUS"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MAXIMUS/LEDs.h"/>
</module>
@@ -128,6 +175,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_32U2"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -136,6 +187,9 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_A"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -143,6 +197,9 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_1"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -150,6 +207,9 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_2"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -157,6 +217,9 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_3"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -164,6 +227,9 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_4"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -171,6 +237,9 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_DIP"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -178,6 +247,10 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV1"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -186,6 +259,10 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_MICROPENDOUS_REV2"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROPENDOUS/Buttons.h"/>
</module>
@@ -194,6 +271,10 @@
<device-support value="atmega162"/>
<build type="define" name="BOARD" value="BOARD_MICROSIN162"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MICROSIN162/Buttons.h"/>
</module>
@@ -202,6 +283,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_MINIMUS"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MINIMUS/Buttons.h"/>
</module>
@@ -210,6 +295,9 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_MULTIO"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/MULTIO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/MULTIO/LEDs.h"/>
</module>
@@ -217,6 +305,10 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_OLIMEX162"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX162/Buttons.h"/>
</module>
@@ -225,6 +317,10 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_OLIMEX32U4"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEX32U4/Buttons.h"/>
</module>
@@ -233,6 +329,10 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_OLIMEXISPMK2"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXISPMK2/Buttons.h"/>
</module>
@@ -241,6 +341,10 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_OLIMEXT32U4"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <require idref="lufa.drivers.board.buttons"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/LEDs.h"/>
<build type="header-file" value="Drivers/Board/AVR8/OLIMEXT32U4/Buttons.h"/>
</module>
@@ -249,6 +353,9 @@
<device-support value="at90usb1287"/>
<build type="define" name="BOARD" value="BOARD_RZUSBSTICK"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/RZUSBSTICK/LEDs.h"/>
</module>
@@ -256,6 +363,9 @@
<device-support value="atmega8u2"/>
<build type="define" name="BOARD" value="BOARD_SPARKFUN8U2"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/SPARKFUN8U2/LEDs.h"/>
</module>
@@ -265,7 +375,12 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/AVR8/STK525/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK525/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK525/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK525/Joystick.h"/>
@@ -278,7 +393,12 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/AVR8/STK526/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK526/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK526/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STK526/Joystick.h"/>
@@ -289,6 +409,9 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_TEENSY"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
</module>
@@ -296,6 +419,9 @@
<device-support value="at90usb646"/>
<build type="define" name="BOARD" value="BOARD_TEENSY2"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/TEENSY/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/TEENSY/LEDs.h"/>
</module>
@@ -303,6 +429,10 @@
<device-support value="atmega32u4"/>
<build type="define" name="BOARD" value="BOARD_TUL"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/TUL/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/TUL/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/TUL/LEDs.h"/>
</module>
@@ -311,6 +441,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_UDIP"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/UDIP/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/UDIP/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/UDIP/LEDs.h"/>
</module>
@@ -320,6 +454,9 @@
<device-support value="atmega16u2"/>
<build type="define" name="BOARD" value="BOARD_UNO"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/UNO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/UNO/LEDs.h"/>
</module>
@@ -327,6 +464,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_USB2AX"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
</module>
@@ -335,6 +476,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_USB2AX_V3"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
</module>
@@ -343,6 +488,10 @@
<device-support value="atmega32u2"/>
<build type="define" name="BOARD" value="BOARD_USB2AX_V31"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USB2AX/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USB2AX/LEDs.h"/>
</module>
@@ -351,6 +500,10 @@
<device-support value="atmega162"/>
<build type="define" name="BOARD" value="BOARD_USBFOO"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USBFOO/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBFOO/LEDs.h"/>
</module>
@@ -362,6 +515,12 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USBKEY/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBKEY/Joystick.h"/>
@@ -372,6 +531,10 @@
<device-support value="at90usb162"/>
<build type="define" name="BOARD" value="BOARD_USBTINYMKII"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/USBTINYMKII/LEDs.h"/>
</module>
@@ -381,7 +544,10 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
@@ -393,7 +559,10 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.spi"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/AVR8/XPLAIN/LEDs.h"/>
@@ -406,6 +575,11 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.usart_spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Board.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Buttons.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/A3BU_XPLAINED/LEDs.h"/>
@@ -418,7 +592,11 @@
<require idref="lufa.drivers.misc.at45db642d"/>
<require idref="lufa.drivers.peripheral.usart_spi"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.dataflash"/>
+ <require idref="lufa.drivers.board.leds"/>
+ <build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Board.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Buttons.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/Dataflash.h"/>
<build type="header-file" value="Drivers/Board/XMEGA/B1_XPLAINED/LEDs.h"/>
@@ -429,6 +607,11 @@
<module type="driver" id="lufa.drivers.board#evk1100" caption="EVK1100">
<device-support value="at32uc3a0512"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/UC3/EVK1100/Board.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Buttons.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1100/Joystick.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1100/LEDs.h"/>
@@ -439,6 +622,11 @@
<module type="driver" id="lufa.drivers.board#evk1101" caption="EVK1101">
<device-support value="at32uc3b0256"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.joystick"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/UC3/EVK1101/Board.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Buttons.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1101/Joystick.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1101/LEDs.h"/>
@@ -449,6 +637,10 @@
<module type="driver" id="lufa.drivers.board#evk1104" caption="EVK1101">
<device-support value="at32uc3a3256"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/UC3/EVK1104/Board.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1104/Buttons.h"/>
<build type="header-file" value="Drivers/Board/UC3/EVK1104/LEDs.h"/>
@@ -458,6 +650,10 @@
<module type="driver" id="lufa.drivers.board#uc3a3_xplained" caption="UC3A3_XPLAINED">
<device-support value="at32uc3a3256"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Board.h"/>
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/Buttons.h"/>
<build type="header-file" value="Drivers/Board/UC3/UC3A3_XPLAINED/LEDs.h"/>
@@ -467,6 +663,10 @@
<module type="driver" id="lufa.drivers.board#stange_isp" caption="STANGE_ISP">
<device-support value="at90usb162"/>
+ <require idref="lufa.drivers.board.buttons"/>
+ <require idref="lufa.drivers.board.leds"/>
+
+ <build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Board.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/Buttons.h"/>
<build type="header-file" value="Drivers/Board/AVR8/STANGE_ISP/LEDs.h"/>