From ec3e47a7d064dda452ab640e7ad61d4602380ed8 Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 11 Dec 2011 03:04:16 +0000
Subject: [PATCH] Change PIPE_PIPENUM_MASK from 0x07 to the more generic 0x0F
 to allow for full pipe address support in USB host architectures other than
 the current AVR8 devices. Minor documentation improvements.

---
 LUFA/Doxygen.conf                         | 2 +-
 LUFA/DoxygenPages/FutureChanges.txt       | 2 +-
 LUFA/DoxygenPages/LUFAPoweredProjects.txt | 1 +
 LUFA/Drivers/USB/Core/Pipe.h              | 4 ++--
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/LUFA/Doxygen.conf b/LUFA/Doxygen.conf
index 947f49ac3..eb464ed3c 100644
--- a/LUFA/Doxygen.conf
+++ b/LUFA/Doxygen.conf
@@ -317,7 +317,7 @@ TYPEDEF_HIDES_STRUCT   = YES
 # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
 # corresponding to a cache size of 2^16 = 65536 symbols
 
-SYMBOL_CACHE_SIZE      = 1
+SYMBOL_CACHE_SIZE      = 0
 
 #---------------------------------------------------------------------------
 # Build related configuration options
diff --git a/LUFA/DoxygenPages/FutureChanges.txt b/LUFA/DoxygenPages/FutureChanges.txt
index b51e88560..a8e83b180 100644
--- a/LUFA/DoxygenPages/FutureChanges.txt
+++ b/LUFA/DoxygenPages/FutureChanges.txt
@@ -41,7 +41,7 @@
   *      -# Port all demos to multiple architectures
   *  - Ports
   *      -# Finish USB XMEGA port
-  *      -# Add AVR32 UC3C support
+  *      -# Add AVR32 UC3C, UC3D and UC3L support
   *      -# Atmel ARM7 series microcontrollers
   *      -# Other (commercial) C compilers
   */
diff --git a/LUFA/DoxygenPages/LUFAPoweredProjects.txt b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
index 6a61a91c3..9dbace6e0 100644
--- a/LUFA/DoxygenPages/LUFAPoweredProjects.txt
+++ b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
@@ -128,6 +128,7 @@
  *  - MIDIFighter, a USB-MIDI controller: http://www.midifighter.com/
  *  - Norduino, a wireless Arduino: http://norduino.robomotic.com/norduino-is-now-usb-hid/
  *  - Retrode, a USB Games Console Cartridge Reader: http://www.retrode.org
+ *  - RFI21.1EU UHF RFID reader: http://www.metra.cz/rfid/uhf-rfid-ctecky/rfi21-1eu-uhf-rfid-ctecka.htm
  *  - SmartCardDetective, a Smart Card analysis tool: http://www.smartcarddetective.com/
  *  - USBTINY-MKII, an AVRISP-MKII Clone AVR Programmer: http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
  *  - VMeter, a USB MIDI touch strip controller: http://www.vmeter.net/
diff --git a/LUFA/Drivers/USB/Core/Pipe.h b/LUFA/Drivers/USB/Core/Pipe.h
index 387ee5042..fe74c9af9 100644
--- a/LUFA/Drivers/USB/Core/Pipe.h
+++ b/LUFA/Drivers/USB/Core/Pipe.h
@@ -106,7 +106,7 @@
 			/** Pipe number mask, for masking against pipe addresses to retrieve the pipe's numerical address
 			 *  in the device.
 			 */
-			#define PIPE_PIPENUM_MASK               0x07
+			#define PIPE_PIPENUM_MASK               0x0F
 
 			/** Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's
 			 *  numerical address in the attached device.
@@ -114,7 +114,7 @@
 			#define PIPE_EPNUM_MASK                 0x0F
 
 			/** Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's
-			 *  direction for comparing with the \c ENDPOINT_DESCRIPTOR_DIR_* masks.
+			 *  direction for comparing with the \c ENDPOINT_DIR_* masks.
 			 */
 			#define PIPE_EPDIR_MASK                 0x80
 
-- 
GitLab