aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-06-22 13:13:17 +0200
committerDean Camera <dean@fourwalledcubicle.com>2013-06-22 13:13:17 +0200
commited922ff422974281d0c48abd6a32a1aec3208ab1 (patch)
tree821e5aa1a1e1c91ecc2a323c16dbc2cba75074fe
parent4a4b9d3051e43a6495b28e9c7eb79674fcf1e46d (diff)
downloadlufa-ed922ff422974281d0c48abd6a32a1aec3208ab1.tar.gz
lufa-ed922ff422974281d0c48abd6a32a1aec3208ab1.tar.bz2
lufa-ed922ff422974281d0c48abd6a32a1aec3208ab1.zip
Add missing U2S board definition, update build tests and documentation.
-rw-r--r--BuildTests/BoardDriverTest/BoardDeviceMap.cfg1
-rw-r--r--LUFA/Common/BoardTypes.h3
-rw-r--r--LUFA/DoxygenPages/ChangeLog.txt1
-rw-r--r--LUFA/DoxygenPages/DeviceSupport.txt1
-rw-r--r--Maintenance/makefile2
5 files changed, 7 insertions, 1 deletions
diff --git a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg
index 0d4f16b46..873013a9c 100644
--- a/BuildTests/BoardDriverTest/BoardDeviceMap.cfg
+++ b/BuildTests/BoardDriverTest/BoardDeviceMap.cfg
@@ -70,6 +70,7 @@ BOARD_USER = AVR8 : at90usb1287 :
BOARD_XPLAIN = AVR8 : at90usb1287 :
BOARD_XPLAIN_REV1 = AVR8 : at90usb1287 :
BOARD_STANGE_ISP = AVR8 : at90usb162 :
+BOARD_U2S = AVR8 : atmega32u2 :
#
# ----------------- XMEGA Boards -----------------
BOARD_A3BU_XPLAINED = XMEGA : atxmega256a3bu :
diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h
index 44aa769e0..9fe6b471e 100644
--- a/LUFA/Common/BoardTypes.h
+++ b/LUFA/Common/BoardTypes.h
@@ -231,6 +231,9 @@
/** Selects the XMEGA C3 XPLAINED specific board drivers, including the Button and LEDs drivers. */
#define BOARD_C3_XPLAINED 55
+ /** Selects the U2S specific board drivers, including the Button and LEDs drivers. */
+ #define BOARD_U2S 56
+
#if !defined(__DOXYGEN__)
#define BOARD_ BOARD_NONE
diff --git a/LUFA/DoxygenPages/ChangeLog.txt b/LUFA/DoxygenPages/ChangeLog.txt
index e218fe3a3..60dd453ac 100644
--- a/LUFA/DoxygenPages/ChangeLog.txt
+++ b/LUFA/DoxygenPages/ChangeLog.txt
@@ -13,6 +13,7 @@
* - Added new CONCAT() and CONCAT_EXPANDED() convenience macros
* - Added new Printer Device Class driver
* - Added support for the XMEGA C3 Xplained board
+ * - Added support for the U2S board (thanks to megal0maniac)
* - Library Applications:
* - Added new Printer class bootloader
* - Added new Mass Storage class bootloader
diff --git a/LUFA/DoxygenPages/DeviceSupport.txt b/LUFA/DoxygenPages/DeviceSupport.txt
index 74d789563..93e650c08 100644
--- a/LUFA/DoxygenPages/DeviceSupport.txt
+++ b/LUFA/DoxygenPages/DeviceSupport.txt
@@ -115,6 +115,7 @@
* - Olimex AVR-ISP-MK2
* - Paranoid Studio's US2AX (V1, V2 and V3 hardware revisions)
* - PJRC Teensy (1.x and 2.x versions)
+ * - Rickus' U2S
* - Sparkfun U2 Breakout Board
* - Stange ISP Programmer Board
* - TCNISO Blackcat USB JTAG
diff --git a/Maintenance/makefile b/Maintenance/makefile
index 8363fbed9..974fa91c8 100644
--- a/Maintenance/makefile
+++ b/Maintenance/makefile
@@ -16,7 +16,7 @@ all:
# Print a list of all filenames and line numbers that exceed an allowed threshold
line-lengths:
- awk '{ if (length > 150) { print FILENAME, ":", FNR, "[", length, "]" } }' `find $(LUFA_ROOT) -name *.[ch]`
+ awk '{ if (length > 120) { print FILENAME, ":", FNR, "[", length, "]" } }' `find $(LUFA_ROOT) -name *.[ch]`
# Generate a header containing all library functions
function-list: