Dean Camera
aae59857a2
Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.
13 years ago
Dean Camera
8b420566cd
Fix Class Driver GenericHID demo using the wrong size for the returned reports.
13 years ago
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
13 years ago
Dean Camera
d0ac8e46f9
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
...
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.
Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.
Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
13 years ago
Dean Camera
3478178127
Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs.
13 years ago
Dean Camera
aceb015ea7
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
13 years ago
Dean Camera
5c274d106b
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
13 years ago
Dean Camera
110711598a
Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors.
14 years ago
Dean Camera
0c2ad9eb34
Add missing SVN eol-style property to files where it was missing.
14 years ago
Dean Camera
fdb82cd1e8
Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices.
14 years ago
Dean Camera
85e85befc4
More endianness porting of the LUFA device mode class drivers.
...
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
14 years ago
Dean Camera
b775995867
Oops: Fix compile error in the low level KeyboardMouse demo.
14 years ago
Dean Camera
04660d3793
Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface.
14 years ago
Dean Camera
75da0d1877
Update AudioInput and AudioOutput Class Driver device mode demos to use a switch statement when selecting the audio request type for clarity.
14 years ago
Dean Camera
84ddf237db
Oops - Mouse ClassDriver multi-arch demo changes were applied to trunk, rather than the correct branch.
14 years ago
Dean Camera
3bd36f811c
Update Mouse demo to support the UC3 devices in the MultiArchDemos branch.
14 years ago
Dean Camera
ca9f89ce82
Add new "checksource" target to the library makefiles, for automated source file existance checking.
14 years ago
Dean Camera
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
14 years ago
Dean Camera
d8fe01f19a
Rename new Audio class driver functions, callbacks and events to ensure that they contain the USB mode (Device or Host) in the function names.
14 years ago
Dean Camera
57eedebd19
Fix Doxygen documentation errors.
14 years ago
Dean Camera
1191da7b7b
Add missing AS4 and project description files to the new Audio Host demos.
...
Correct errors in the existing Audio demo description files due to the new demo features (variable sampling rate vs. a fixed sampling rate).
14 years ago
Dean Camera
1f1d0710f3
Add new Audio Class Driver Host demos.
...
Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.
Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
14 years ago
Dean Camera
567f7ecce0
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
14 years ago
Dean Camera
1a25b6f5f1
Update the Low Level Audio Input and Audio Output demos to support multiple sample rates.
...
Remove custom PIDs on the Class Driver Audio device demos and revert back to the original Audio PIDs, as the low level and class driver demo versions are now descriptor compatible once again.
14 years ago
Dean Camera
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
14 years ago
Dean Camera
2731c3a8ae
Added new callback to the Audio Class driver to allow for endpoint control manipulations such as data sample rates.
...
Modified the Class Driver AudioInput and AudioOutput demos to support multiple sample rates.
Fixed KeyboardHost and KeyboardHostWithParser demos displaying incorrect values when numerical keys were pressed.
Fix broken LowLevel audio demo descriptors.
Minor documentation fixes.
14 years ago
Dean Camera
f01a05415c
Spell check library source code files.
14 years ago
Dean Camera
2a26efc691
Altered the definition of the USB_Audio_Descriptor_Format_t descriptor so that the user is now responsible for supplying the supported audio sampling rates, to allow for multiple audio interfaces with different numbers of supported rates and/or continuous sample rates.
14 years ago
Dean Camera
ea922c98d1
Added new incomplete AudioInputHost Host LowLevel demo.
...
Added missing Audio class control request definitions.
Added support for the Audio class GET STATUS request so that it is correctly ACKed when sent by the host.
14 years ago
Dean Camera
f0ff633962
Lower the size of the HID report endpoint from 16 bytes to 8 bytes, to allow for Low Speed USB compatibility in the KeyboardMouseMultiReport demo (thanks to Kevin Chernoff).
14 years ago
Dean Camera
24ea531fab
Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity.
14 years ago
Dean Camera
3cba88e4c0
Add RNDIS Device support to the Webserver project, so that the files stored on the device can be viewed from a web-browser while the board is plugged into a host machine.
14 years ago
Dean Camera
9d733d44b4
Add new RNDIS_Host_IsPacketReceived(), RNDIS_Device_ReadPacket() and RNDIS_Device_WritePacket() functions to the Device RNDIS Class Driver.
...
Modify RNDIS demos to suit the simplified Ethernet_Frame_Info_t structure.
14 years ago
Dean Camera
852b5e612d
Remove redundant type information for bitfield elements, other than the signed/unsignedness of the element.
...
Change type of USB_SelectedPipe and USB_SelectedEndpoint for the AVR32 UC3 architecture to uint32_t to reduce the compiled code size.
14 years ago
Dean Camera
899df7d331
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
...
Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures.
14 years ago
Dean Camera
8f5ab27dc9
Use the MIN() macro where possible instead of manual "(x < y) ? x : y" constructs.
14 years ago
Dean Camera
aba7932a5c
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.
14 years ago
Dean Camera
f6f4ac588c
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
14 years ago
Dean Camera
fe62770a1e
Added new VirtualSerialMassStorage Device Class Driver demo.
14 years ago
Dean Camera
8b13f7f89a
Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the Pipe_ResetPipe() function name.
...
Fix undefined error in Pipe_UC3B.h.
Add missing migration notes.
14 years ago
Dean Camera
3d4d8e7f62
Add new ARCH option to the makefiles to (eventually) specify the target device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
14 years ago
Dean Camera
782614dbb5
Add static keyword to all project globals whose scope should be restricted to the same module as they are declared in.
...
Tighten up the HID class bootloader code slightly, document that it currently exceeds 2KB of bootloader space for all models other than the Series 2 USB AVRs.
14 years ago
Dean Camera
5430e1973c
Add missing svn:eol-style properties to the new KeyboardMouseMultiReport demo.
14 years ago
Dean Camera
5995c3f880
Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.
...
Add const to all project descriptor definitions for safety.
14 years ago
Dean Camera
b1d7568651
Fix incorrect #include filenames in the RNDIS demos.
14 years ago
Dean Camera
43c4735305
Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead.
...
Added new Serial_SendData() function to the Serial driver.
14 years ago
Dean Camera
afd828c095
Removed SerialStream module, rolled functionality into the base USART Serial peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods.
...
Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions.
Altered the serial byte receive function to make it non-blocking.
14 years ago
Dean Camera
30f6d2bfd8
Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
14 years ago
Dean Camera
e6dc951630
Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ClassDriver demos to use it.
...
Fix reversed byte ordering of multi-byte HID data.
Added support to the HID parser for extended USAGE items that contain the usage page as well as the usage index.
Removed the HID_IOF_NON_VOLATILE and HID_IOF_VOLATILE flags from HID INPUT items where the flag is invalid. Changed over HID OUTPUT items to use HID_IOF_NON_VOLATILE.
Change over MagStripe project to use HID_DESCRIPTOR_KEYBOARD() for its HID report. Change over MouseHostDevice demo to use HID_DESCRIPTOR_MOUSE() for its HID report.
14 years ago
Dean Camera
a852ea8e43
Added new KeyboardMouseMultiReport Device ClassDriver demo.
...
Fixed ReportID not being removed from the feature/out report data array in the HID class driver when Report IDs are used.
Added new MAX() and MIN() convenience macros.
14 years ago