From ed922ff422974281d0c48abd6a32a1aec3208ab1 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 22 Jun 2013 13:13:17 +0200 Subject: Add missing U2S board definition, update build tests and documentation. --- BuildTests/BoardDriverTest/BoardDeviceMap.cfg | 1 + LUFA/Common/BoardTypes.h | 3 +++ LUFA/DoxygenPages/ChangeLog.txt | 1 + LUFA/DoxygenPages/DeviceSupport.txt | 1 + Maintenance/makefile | 2 +- 5 files changed, 7 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3