diff --git a/Demos/Device/RNDISEthernet/ProtocolDecoders.h b/Demos/Device/RNDISEthernet/ProtocolDecoders.h index c8101162d6..fa0a869ebb 100644 --- a/Demos/Device/RNDISEthernet/ProtocolDecoders.h +++ b/Demos/Device/RNDISEthernet/ProtocolDecoders.h @@ -39,7 +39,7 @@ /* Includes: */ #include - #include + #include #include "EthernetProtocols.h" #include "Ethernet.h" diff --git a/Demos/Device/RNDISEthernet/RNDISEthernet.h b/Demos/Device/RNDISEthernet/RNDISEthernet.h index 732ad53809..b3fd4dbd51 100644 --- a/Demos/Device/RNDISEthernet/RNDISEthernet.h +++ b/Demos/Device/RNDISEthernet/RNDISEthernet.h @@ -51,12 +51,11 @@ #include "ARP.h" #include "Webserver.h" - #include // Library Version Information - #include // USB Functionality - #include // LEDs driver - #include // Simple scheduler for task management - - #include + #include // Library Version Information + #include // USB Functionality + #include // LEDs driver + #include // Simple scheduler for task management + #include // Serial stream driver /* Macros: */ /** Notification value to indicate that a frame is ready to be read by the host. */ diff --git a/Demos/Device/RNDISEthernet/makefile b/Demos/Device/RNDISEthernet/makefile index 23de96761c..2b104641e2 100644 --- a/Demos/Device/RNDISEthernet/makefile +++ b/Demos/Device/RNDISEthernet/makefile @@ -143,7 +143,7 @@ SRC = $(TARGET).c \ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/USBInterrupt.c \ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/Events.c \ $(LUFA_PATH)/LUFA/Drivers/USB/HighLevel/StdDescriptors.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ diff --git a/Demos/Host/CDCHost/CDCHost.h b/Demos/Host/CDCHost/CDCHost.h index 48f480791b..3819540d6b 100644 --- a/Demos/Host/CDCHost/CDCHost.h +++ b/Demos/Host/CDCHost/CDCHost.h @@ -46,7 +46,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/CDCHost/makefile b/Demos/Host/CDCHost/makefile index 4c5dc1e43b..9d36b0d1f1 100644 --- a/Demos/Host/CDCHost/makefile +++ b/Demos/Host/CDCHost/makefile @@ -126,7 +126,7 @@ LUFA_PATH = ../../.. SRC = $(TARGET).c \ ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ diff --git a/Demos/Host/GenericHIDHost/GenericHIDHost.h b/Demos/Host/GenericHIDHost/GenericHIDHost.h index 008188a61b..3ae473e003 100644 --- a/Demos/Host/GenericHIDHost/GenericHIDHost.h +++ b/Demos/Host/GenericHIDHost/GenericHIDHost.h @@ -47,7 +47,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/GenericHIDHost/makefile b/Demos/Host/GenericHIDHost/makefile index d54317a691..49d4867d57 100644 --- a/Demos/Host/GenericHIDHost/makefile +++ b/Demos/Host/GenericHIDHost/makefile @@ -126,7 +126,7 @@ LUFA_PATH = ../../.. SRC = $(TARGET).c \ ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ diff --git a/Demos/Host/KeyboardHost/KeyboardHost.h b/Demos/Host/KeyboardHost/KeyboardHost.h index 14d92c0c6f..6a601439af 100644 --- a/Demos/Host/KeyboardHost/KeyboardHost.h +++ b/Demos/Host/KeyboardHost/KeyboardHost.h @@ -47,7 +47,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/KeyboardHost/makefile b/Demos/Host/KeyboardHost/makefile index 9d65c436e0..e74cc4d703 100644 --- a/Demos/Host/KeyboardHost/makefile +++ b/Demos/Host/KeyboardHost/makefile @@ -126,7 +126,7 @@ LUFA_PATH = ../../.. SRC = $(TARGET).c \ ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ diff --git a/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.h b/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.h index d142bda9dd..a0e055fa6c 100644 --- a/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.h +++ b/Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.h @@ -41,7 +41,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/KeyboardHostWithParser/makefile b/Demos/Host/KeyboardHostWithParser/makefile index 7a74768d78..9768b4bbdd 100644 --- a/Demos/Host/KeyboardHostWithParser/makefile +++ b/Demos/Host/KeyboardHostWithParser/makefile @@ -127,7 +127,7 @@ SRC = $(TARGET).c \ ConfigDescriptor.c \ HIDReport.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/Class/HIDParser.c \ $(LUFA_PATH)/LUFA/Drivers/USB/Class/ConfigDescriptor.c \ diff --git a/Demos/Host/MassStorageHost/MassStorageHost.h b/Demos/Host/MassStorageHost/MassStorageHost.h index 3791d27342..ab5fcb22ac 100644 --- a/Demos/Host/MassStorageHost/MassStorageHost.h +++ b/Demos/Host/MassStorageHost/MassStorageHost.h @@ -50,7 +50,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Hardware Button driver #include // Simple scheduler for task management diff --git a/Demos/Host/MassStorageHost/makefile b/Demos/Host/MassStorageHost/makefile index bfa40726f2..dbd0d32858 100644 --- a/Demos/Host/MassStorageHost/makefile +++ b/Demos/Host/MassStorageHost/makefile @@ -127,7 +127,7 @@ SRC = $(TARGET).c \ ConfigDescriptor.c \ MassStoreCommands.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/Class/ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ diff --git a/Demos/Host/MouseHost/MouseHost.h b/Demos/Host/MouseHost/MouseHost.h index a87d6f874f..81b0412c5d 100644 --- a/Demos/Host/MouseHost/MouseHost.h +++ b/Demos/Host/MouseHost/MouseHost.h @@ -47,7 +47,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/MouseHost/makefile b/Demos/Host/MouseHost/makefile index bde4df2098..61d6437d53 100644 --- a/Demos/Host/MouseHost/makefile +++ b/Demos/Host/MouseHost/makefile @@ -126,7 +126,7 @@ LUFA_PATH = ../../.. SRC = $(TARGET).c \ ConfigDescriptor.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ diff --git a/Demos/Host/MouseHostWithParser/MouseHostWithParser.h b/Demos/Host/MouseHostWithParser/MouseHostWithParser.h index 746ffe159f..99970e261b 100644 --- a/Demos/Host/MouseHostWithParser/MouseHostWithParser.h +++ b/Demos/Host/MouseHostWithParser/MouseHostWithParser.h @@ -41,7 +41,7 @@ #include // Library Version Information #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LEDs driver #include // Simple scheduler for task management diff --git a/Demos/Host/MouseHostWithParser/makefile b/Demos/Host/MouseHostWithParser/makefile index 5d9d2da4ce..598ecf30a3 100644 --- a/Demos/Host/MouseHostWithParser/makefile +++ b/Demos/Host/MouseHostWithParser/makefile @@ -127,7 +127,7 @@ SRC = $(TARGET).c \ ConfigDescriptor.c \ HIDReport.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/Class/HIDParser.c \ $(LUFA_PATH)/LUFA/Drivers/USB/Class/ConfigDescriptor.c \ diff --git a/Demos/Host/StillImageHost/StillImageHost.h b/Demos/Host/StillImageHost/StillImageHost.h index a1ea47f62d..4c9091cfec 100644 --- a/Demos/Host/StillImageHost/StillImageHost.h +++ b/Demos/Host/StillImageHost/StillImageHost.h @@ -48,7 +48,7 @@ #include // ANSI Terminal Escape Codes #include // USB Functionality - #include // Serial stream driver + #include // Serial stream driver #include // LED driver #include // Simple scheduler for task management diff --git a/Demos/Host/StillImageHost/makefile b/Demos/Host/StillImageHost/makefile index 82aa7284d5..3b1f48679c 100644 --- a/Demos/Host/StillImageHost/makefile +++ b/Demos/Host/StillImageHost/makefile @@ -126,7 +126,7 @@ SRC = $(TARGET).c \ ConfigDescriptor.c \ StillImageCommands.c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \ diff --git a/Demos/OTG/TestApp/TestApp.h b/Demos/OTG/TestApp/TestApp.h index 5e88dae619..d5ce8dd3aa 100644 --- a/Demos/OTG/TestApp/TestApp.h +++ b/Demos/OTG/TestApp/TestApp.h @@ -48,7 +48,7 @@ #include // Auto-defragmenting Dynamic Memory allocation #include // ANSI Terminal Escape Codes #include // ADC driver - #include // USART Stream driver + #include // USART Stream driver #include // Joystick driver #include // LED driver #include // Hardware Button driver diff --git a/Demos/OTG/TestApp/TestEvents.h b/Demos/OTG/TestApp/TestEvents.h index adaf875954..b5a83ed8f5 100644 --- a/Demos/OTG/TestApp/TestEvents.h +++ b/Demos/OTG/TestApp/TestEvents.h @@ -42,7 +42,7 @@ #include // Commonly used macros #include // USB Functionality #include // LED driver - #include // USART Stream driver + #include // USART Stream driver #include // ANSI Terminal Escape Codes #include // Simple scheduler for task management diff --git a/Demos/OTG/TestApp/makefile b/Demos/OTG/TestApp/makefile index a7429669ef..c4b436df48 100644 --- a/Demos/OTG/TestApp/makefile +++ b/Demos/OTG/TestApp/makefile @@ -129,7 +129,7 @@ SRC = $(TARGET).c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \ $(LUFA_PATH)/LUFA/MemoryAllocator/DynAlloc.c \ $(LUFA_PATH)/LUFA/Drivers/Board/Temperature.c \ - $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \ + $(LUFA_PATH)/LUFA/Drivers/Peripheral/SerialStream.c \ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \ $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \ diff --git a/LUFA.pnproj b/LUFA.pnproj index d00f45f7e5..55457f5185 100644 --- a/LUFA.pnproj +++ b/LUFA.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index 760aec2414..115a04a120 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -47,7 +47,7 @@ * - Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity * - Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity * - Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway - * - Renamed the main Drivers/AT90USBXXX directory to Drivers/Peripheral + * - Renamed the main Drivers/AT90USBXXX directory to Drivers/Peripheral, renamed the Serial_Stream driver to SerialStream * * * \section Sec_ChangeLog090401 Version 090401 diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 0923d513bb..24ba1f68b1 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -103,7 +103,7 @@ #define JTAG_DEBUG_ASSERT(x) MACROS{ if (!(x)) { JTAG_DEBUG_BREAK(); } }MACROE /** Macro for testing condition "x" and writing debug data to the serial stream if false. As a - * prerequisite for this macro, the serial stream should be configured via the Serial_Stream driver. + * prerequisite for this macro, the serial stream should be configured via the Peripheral/SerialStream driver. * * The serial output takes the form "{FILENAME}: Function {FUNCTION NAME}, Line {LINE NUMBER}: Assertion * {x} failed." diff --git a/LUFA/Drivers/Peripheral/Serial_Stream.c b/LUFA/Drivers/Peripheral/SerialStream.c similarity index 95% rename from LUFA/Drivers/Peripheral/Serial_Stream.c rename to LUFA/Drivers/Peripheral/SerialStream.c index d986af4243..fec5f7314e 100644 --- a/LUFA/Drivers/Peripheral/Serial_Stream.c +++ b/LUFA/Drivers/Peripheral/SerialStream.c @@ -28,7 +28,7 @@ this software. */ -#include "Serial_Stream.h" +#include "SerialStream.h" FILE USARTStream = FDEV_SETUP_STREAM(SerialStream_TxByte, SerialStream_RxByte, _FDEV_SETUP_RW); diff --git a/LUFA/Drivers/Peripheral/Serial_Stream.h b/LUFA/Drivers/Peripheral/SerialStream.h similarity index 96% rename from LUFA/Drivers/Peripheral/Serial_Stream.h rename to LUFA/Drivers/Peripheral/SerialStream.h index 406cbed884..394fd081d5 100644 --- a/LUFA/Drivers/Peripheral/Serial_Stream.h +++ b/LUFA/Drivers/Peripheral/SerialStream.h @@ -36,7 +36,7 @@ **/ /** \ingroup Group_SubsystemDrivers - * @defgroup Group_SerialStream Serial Stream Driver - LUFA/Drivers/Peripheral/Serial_Stream.h + * @defgroup Group_SerialStream Serial Stream Driver - LUFA/Drivers/Peripheral/SerialStream.h * * Functions, macros, variables, enums and types related to the setup of a serial stream, so that standard printf and other * C stream functions can be used on the serial port. diff --git a/LUFA/MigrationInformation.txt b/LUFA/MigrationInformation.txt index 8b8e416f58..f0930a55e3 100644 --- a/LUFA/MigrationInformation.txt +++ b/LUFA/MigrationInformation.txt @@ -16,6 +16,7 @@ * - The ButtLoadTag.h header has been removed, as it was never used for its intended purpose. Projects should either remove all * BUTTLOADTAG elements, or download and extract ButtLoadTag.h header from the ButtLoad project. * - The Drivers/AT90USBXXX directory has been renamed to Drivers/Peripheral. + * - The Serial_Stream driver has been renamed to SerialStream to remain consistent with the rest of the library naming scheme. * * Library Demos * - Most demos, bootloaders and applications have had significant changes from previous versions. Applications built off of any diff --git a/LUFA/makefile b/LUFA/makefile index 25f7b37873..3e1ce85b76 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -24,7 +24,7 @@ LUFA_SRC_FILES = ./Drivers/USB/LowLevel/LowLevel.c \ ./MemoryAllocator/DynAlloc.c \ ./Drivers/Board/Temperature.c \ ./Drivers/Peripheral/Serial.c \ - ./Drivers/Peripheral/Serial_Stream.c \ + ./Drivers/Peripheral/SerialStream.c \ all: