Dean Camera
5e0c807708
Fix incorrect printf format specifier in the HIDReportViewer project.
2011-06-20 01:33:42 +00:00
Dean Camera
a7dd984446
Code style fixes for the Device mode USB Audio Class driver to make it more in line with the style of the other library Device Class drivers.
2011-06-19 04:48:49 +00:00
Dean Camera
2e6370a6b9
Add missing project files for the new HIDReportViewer project to upgrade its status to a finished (working) project.
2011-06-19 04:47:53 +00:00
Dean Camera
bad956bace
Fix TWI driver documentation example (thanks to Jerome Colombie).
2011-06-18 08:04:25 +00:00
Dean Camera
00acc95ff6
Add new incomplete HIDReportViewer project.
2011-06-16 13:37:45 +00:00
Dean Camera
0ec2b55a7c
Add missing SVN eol-style properties to source files to prevent mixed end-of-line characters.
2011-06-16 12:18:46 +00:00
Dean Camera
f10126a95e
Added new \ref SPI_GetCurrentMode() function to the SPI peripheral driver.
2011-06-16 07:23:37 +00:00
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.
2011-06-16 06:49:08 +00:00
Dean Camera
21a012a018
Add macro guards to the templated C files to prevent compile errors if they are mistakenly compiled as regular source files in a LUFA project.
2011-06-14 12:54:46 +00:00
Dean Camera
f1cfd7ea7d
Rename Audio Host Class driver internal descriptor matching routines to be in line with the rest of the class driver function names.
2011-06-14 12:44:41 +00:00
Dean Camera
deaab90089
Ensure that only the requested Audio class pipes are mapped to endpoints within the device for a specific Audio Host Class driver instance.
...
Fix const-correctness of the Audio Host Class driver.
2011-06-13 00:19:40 +00:00
Dean Camera
6e0a26083a
Fix bugs in the Host mode Audio class driver.
2011-06-12 13:59:03 +00:00
Dean Camera
6e2a3174a5
Fix errors in the library Host mode Audio Class driver.
2011-06-09 08:00:19 +00:00
Dean Camera
e5e34f91fa
Fix compile errors when both Host and Device modes are enabled.
2011-06-09 04:32:52 +00:00
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.
2011-06-09 04:08:03 +00:00
Dean Camera
0bf5064aec
Pipe_BoundEndpointNumber() has been renamed to Pipe_GetBoundEndpointAddress(), and now returns the correct endpoint direction as part of the endpoint address.
...
Add Audio_GetSetEndpointProperty() function to the Host mode Audio class driver.
2011-06-08 02:45:32 +00:00
Dean Camera
34164a5550
Remove warnings in the documentation for the library class drivers about sequential pipe/endpoint allocation, as by default this is no longer as issue (unless ORDERED_EP_CONFIG is specified).
2011-06-08 01:32:44 +00:00
Dean Camera
e572ee7ff2
Added new Host mode Audio Class driver.
...
Added new EVENT_Audio_StreamStartStopChange() event to the Audio Device Class driver to detect stream start/stop events.
2011-06-08 01:26:52 +00:00
Dean Camera
605ef921cc
Fix compile errors when compiling for the AVR32 UC3 target.
2011-06-08 00:25:20 +00:00
Dean Camera
2e76ad721e
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
2011-06-08 00:25:03 +00:00
Dean Camera
73733275be
Partial commit: Rename USBFOO LED driver to fix capitalisation of file name, which will cause issues on *nix systems.
2011-06-08 00:24:01 +00:00
Dean Camera
567f7ecce0
Fix errors in the Audio device demos and class driver regarding multiple sample frequency support.
2011-06-07 02:05:19 +00:00
Dean Camera
2d778a3ff5
Add additional support files for the new low level AudioInputHost and AudioOutputHost demos.
2011-06-06 09:57:38 +00:00
Dean Camera
85f39a58c5
Move completed low level Audio Host demos into the LowLevel folder from the Incomplete folder.
2011-06-06 09:51:54 +00:00
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.
2011-06-06 09:43:09 +00:00
Dean Camera
7dffa15c16
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
2011-06-05 13:55:56 +00:00
Dean Camera
0210fa5648
Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors).
2011-06-05 12:21:52 +00:00
Dean Camera
3bd6336075
Added board driver support for the Busware TUL board.
2011-06-04 04:13:01 +00:00
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.
2011-06-03 07:56:12 +00:00
Dean Camera
f01a05415c
Spell check library source code files.
2011-06-01 14:33:40 +00:00
Dean Camera
6d2a08f1b7
Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2.
...
Minor documentation cleanups.
Modify the incomplete AudioInputHost demo for mono audio output.
2011-06-01 14:10:35 +00:00
Dean Camera
68468e0aea
Added new incomplete AudioOutputHost Host LowLevel demo.
2011-05-30 11:36:21 +00:00
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.
2011-05-30 11:07:57 +00:00
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.
2011-05-29 12:41:14 +00:00
Dean Camera
cc9b190919
Add new USB_Host_SetInterfaceAltSetting() convenience function.
2011-05-27 07:33:58 +00:00
Dean Camera
7e1e23af59
Update trunk documentation for new LUFA release.
2011-05-27 03:05:50 +00:00
Dean Camera
6e7fc21a94
Fix incorrect macro guard in the UC3 EndpointStream header file.
...
Fix incorrect project name in the Projects/ folder makefile.
2011-05-26 11:37:40 +00:00
Dean Camera
1ea5dae8a8
Copy out the EndpointStream and PipeStream functions to each architecture, so that each architecture can optimise the stream functions according to the available hardware (such as DMA, where available).
2011-05-26 11:27:21 +00:00
Dean Camera
edc4db41f4
Update Webserver project to remove DHCP IP configuration status notification.
2011-05-26 10:50:22 +00:00
Dean Camera
24ea531fab
Update MediaController project to remove the Record usage (not often needed) and explicitly declare each usage for maximum clarity.
2011-05-23 13:19:13 +00:00
Dean Camera
b88e0a7b90
Add new MediaController project, a simple Media Playback control manipulator (Play/Pause/Next Track/Volume/etc.).
2011-05-23 12:54:15 +00:00
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.
2011-05-22 08:28:40 +00:00
Dean Camera
e349974aa9
Fix broken Doxygen documentation.
2011-05-19 13:32:55 +00:00
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.
2011-05-18 14:33:34 +00:00
Dean Camera
41de1d1dab
Oops - fix bad include path in the moved USBKEY Dataflash board driver header.
2011-05-18 12:24:56 +00:00
Dean Camera
910bca557c
Seperated out board drivers by architecture in the library internals for better organisation.
2011-05-18 12:23:24 +00:00
Dean Camera
e10f5b4f14
Add new "version" makefile target to the main LUFA library makefile, to give an easy way to identify a LUFA release from the command-line.
2011-05-18 11:53:53 +00:00
Dean Camera
064643e066
Add skeleton LUFAConfig.h to the CodeTemplates directory.
2011-05-14 02:34:47 +00:00
Dean Camera
049e930963
Fixed possible invalid program execution when in host mode if corrupt descriptor lengths are supplied by the attached device.
...
Minor code cleanups to add const and reformat where missing, as well as abstract out the internal device signature start address into a macro, so that it can be altered to suit particular devices within a single architecture if needed.
Add missing documentation to the USB_Device_States_t enum.
2011-05-14 02:17:58 +00:00
Dean Camera
7d3150423d
Add new USE_LUFA_CONFIG_HEADER compile time option.
...
Add missing LEDS_ToggleLEDs() function to the LED driver for the EVK1101 board.
2011-05-09 14:04:40 +00:00
Dean Camera
a85fa30bf1
Minor documentation fixes.
2011-05-08 14:30:36 +00:00
Dean Camera
71c5d4e3e5
Fix up mistakes in the Device Support documentation page.
2011-04-27 10:21:40 +00:00
Dean Camera
f670bdeff8
Add __VA_ARGS__ support to the LUFA supplied ISR macro. Add proper result typecasting to the SWAPENDIAN_* macros.
...
Switch to using -1 on the UC3 target to obtain a register mask with all bits set (for clearing interrupts and status flags).
Fix incorrect USB controller mode on the UC3 when a fixed mode is specified as a compile time option due to AVR32_USBB.USBCON.uide being set by default.
Make USB_Descriptor_String_t use a uint16_t for Unicode strings on all targets except the AVR8 (retained for backwards compatibility).
2011-04-25 07:28:36 +00:00
Dean Camera
7b0cebc1d7
Add new LUFA powered user projects to the documentation.
2011-04-23 05:01:50 +00:00
Dean Camera
513db46548
Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running.
2011-04-23 03:45:29 +00:00
Dean Camera
2b0c9532a3
Fix reversed descriptions for the AVR8 USB pad regulator enable/disable masks (thanks to Omar).
2011-04-20 06:04:49 +00:00
Dean Camera
04263de4f0
Fix definition of pgm_read_ptr().
2011-04-13 06:58:29 +00:00
Dean Camera
e0852408de
Replace cast-as-char* byte access of multibyte variables with proper shifts and masks to preserve endianness across different architectures.
2011-04-13 06:12:52 +00:00
Dean Camera
4b1f6cac75
Slight cleanups to the architecture specific makefile templates to make the common configuration sections as identical as possible.
2011-04-12 04:57:47 +00:00
Dean Camera
e009aafe25
Update architecture specific makefile templates so that they are as close to one-another as possible.
2011-04-12 04:49:36 +00:00
Dean Camera
16f09ab50a
Add makefile template for the AVR32 UC3 architecture.
2011-04-12 04:38:53 +00:00
Dean Camera
995195a2b0
Add missing function attributes to the pipe/endpoint functions for all architectures.
...
Perform endianness correction in the HID report parser for big-endian platforms.
2011-04-12 03:03:56 +00:00
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.
2011-04-10 06:43:02 +00:00
Dean Camera
d08116b02f
Create a new Common module documentation group for the new Global Interrupt macros.
2011-04-08 05:54:56 +00:00
Dean Camera
c263ea837a
Move global interrupt enable/disable functions out to Common.h and document them.
2011-04-08 05:40:25 +00:00
Dean Camera
de9bd767dc
Correct UC3 global interrupt functions.
...
Replace all calls and references to _delay_ms() in the code with the architecture-agnostic Delay_MS() function.
Improve code generation for the Delay_MS() function on the AVR8 architecture when called with a constant input.
2011-04-08 05:05:05 +00:00
Dean Camera
70284d390f
Add in a new common Delay_MS() function, which provides a blocking delay for all architectures.
...
Remove use of avr-libc specific ATOMIC_BLOCK, replace with a new per-architecture set of inline functions to retrieve and manipulate the global interrupt enable bit for each architecture.
Add in documentation for the USB controller common interrupt routine which must be linked to the interrupt controller in the user application on the AVR32 UC3 architecture.
2011-04-08 04:49:20 +00:00
Dean Camera
0c5afda7e8
Oops - fix misnamed function call in Pipe_Discard_Stream().
2011-04-04 15:41:26 +00:00
Dean Camera
96a2da1813
Oops - fix incorrect variable name in the updated Pipe_Write_8() function.
2011-04-04 15:25:30 +00:00
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.
2011-04-04 12:52:30 +00:00
Dean Camera
2efa79d3ec
Conditionally add available address spaces to the address space enum, for multiple address space architectures.
...
Update Doxygen configuration file for the latest Doxygen release.
Minor documentation updates.
2011-04-04 10:24:57 +00:00
Dean Camera
06d00bb99b
Ensure the library builds cleanly in device mode for architectures lacking multiple address spaces.
2011-03-27 22:17:26 +00:00
Dean Camera
fa5c8700bc
Fix corner case in the HID report descriptor Mouse/Joystick tempates at the 8/16 bit boundary.
2011-03-23 09:25:13 +00:00
Dean Camera
f595043584
Add in new architecture attribute defines to selectively remove the EEPROM and FLASH memory space functions on architectures which do not have seperate memory address spaces.
2011-03-21 11:10:02 +00:00
Dean Camera
aba7932a5c
F_CLOCK changed to F_USB to be more descriptive, and applicable on future architecture ports.
2011-03-21 10:20:42 +00:00
Dean Camera
c7f4752d6b
Oops - Bootloader optimizations to GetDescriptor() don't work, as the Configuration Descriptor's header does not contain the full length of the descriptor, breaking full enumeration.
2011-03-18 04:58:39 +00:00
Dean Camera
f6f4ac588c
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
2011-03-16 22:54:31 +00:00
Dean Camera
b47374caf5
Fix incorrectly named include guards in the Board driver header files.
2011-03-16 06:00:02 +00:00
Dean Camera
fe62770a1e
Added new VirtualSerialMassStorage Device Class Driver demo.
2011-03-16 05:58:58 +00:00
Dean Camera
5eb1862d54
Remove redundant Doxygen guards from the internal preprocessor definitions.
2011-03-15 09:22:39 +00:00
Dean Camera
134e018b21
Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus).
...
Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers.
2011-03-15 08:07:29 +00:00
Dean Camera
95a1aa4c01
Add named macros to the board joystick drivers where a shift is needed to maintain unique joystick direction bits in the returned mask value.
2011-03-15 06:51:50 +00:00
Dean Camera
b35f93a372
Implemented on-demand PLL clock generation for the U4, U6 and U7 series USB AVRs when automatic PLL mode is specified.
2011-03-15 06:39:34 +00:00
Dean Camera
1a130eed6c
Updated the software USART code in the XPLAIN Bridge application so that the incomming bits are sampled at their mid-point instead of starting point, to give maximum reliability (thanks to Anton).
2011-03-15 04:02:15 +00:00
Dean Camera
0111fb515d
Oops - fix internal serial number extraction routine for the AVR8 architecture.
2011-03-14 00:24:14 +00:00
Dean Camera
ea361a0d30
Correct Endpoint/Pipe maximum constants for the AVR32 UC3 models.
2011-03-14 00:03:30 +00:00
Dean Camera
02dfd7dc3d
Simplify the internal serial extraction routines for each architecture.
2011-03-13 23:32:32 +00:00
Dean Camera
a7eca42996
Add experimental support for the AVR32 UC3A4 microcontrollers.
...
Add support for the inbuilt unique serial numbers in the UC3A3 and UC3A4 models.
2011-03-13 22:42:08 +00:00
Dean Camera
81fd8d4004
Re-add accidentally deleted Host_UC3.c and Host_UC3.h files.
2011-03-13 22:02:07 +00:00
Dean Camera
944e0d2009
Rename UC3B driver files to UC3, as they are generic to all AVR32 UC3 models.
2011-03-13 21:53:19 +00:00
Dean Camera
6005a42150
Add experimental support for the UC3A0, UC3A1 and UC3A3 series AVR32 microcontrollers.
2011-03-13 21:25:05 +00:00
Dean Camera
f301a4a21f
Oops - rename misnamed Endianess.h header file.
...
Remove UC3B temp macros related to EEPROM, to ensure that projects requiring this break at compile time rather than at runtime until a solution can be found.
2011-03-13 06:05:30 +00:00
Dean Camera
b1528a1256
Move out endianness management macros into a new common Endianness.h header.
...
Fix Doxygen documentation, broken due to the added ATTR_PACKED attribute on some structs breaking the Doxygen parser.
2011-03-13 05:54:13 +00:00
Dean Camera
13e2f71f15
Simplify AVR32 UC3B software FIFO, as it will only ever be accessed a byte at a time to prevent data alignment issues.
2011-03-11 07:03:34 +00:00
Dean Camera
c8a438d66c
Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.
...
Fix EVK1101 swapped joystick Right/Down masks.
2011-03-11 06:47:39 +00:00
Dean Camera
e4b3e3fc65
Fix UC3B architecture compile errors and ensure the architecture can be compiled with no special makefile tokens defined.
2011-03-05 16:36:57 +00:00
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.
2011-03-05 16:30:57 +00:00
Dean Camera
1e3d892b6a
Add software FIFOs to the UC3B pipe control interfaces, to match the endpoint control interfaces. Fix incorrect endianness for the Endpoint/Pipe read and write routines.
2011-03-05 12:13:35 +00:00
Dean Camera
b763c3f33e
Porting updates for the UC3B architecture - get UC3B partially enumerating using a modified mouse demo on the EVK1101. Implement a software FIFO for the endpoint banks; datasheet hints that this can be done through hardware as on the AVR8 architecture, but the correct method to do this not discovered yet.
2011-03-05 11:34:04 +00:00
Dean Camera
33a81bffb9
Minor documentation updates.
2011-03-05 10:58:35 +00:00
Dean Camera
c1c94fe5a0
Fixed Still Image Host class driver exiting the descriptor search routine prematurely if the data pipes (but not event pipe) is found.
...
Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
2011-03-03 19:32:27 +00:00
Dean Camera
8c6f26e19d
Add in USB_INT_RegisterHandlers() internal function to register the interrupt handler routines used by LUFA. Add dummy loads after clearing the interrupt lines according to the datasheet.
...
Add in temporary global interrupts enable/disable macros.
2011-02-28 22:30:40 +00:00
Dean Camera
86a2be8536
Fix EVK1101 board joystick driver movement masks.
2011-02-27 23:05:46 +00:00
Dean Camera
29ba88cffd
Add code to start the USBB Generic Clock from the user-specified master clock source (OSCx or PLLx) in the AVR32 UC3B core USB driver.
2011-02-27 22:06:31 +00:00
Dean Camera
c79f6e2586
Oops - ensure that only the relevant/available interrupts are defined and used on each architecture.
...
Make all USB driver headers include USBMode.h first, to ensure that the relevant USB mode macros are defined.
2011-02-27 20:38:47 +00:00
Dean Camera
04526d284d
Changed over the AVR8 USB controller interrupt management macros to be inlined functions instead, for better compile-time validity checking and to keep the per-architecture source files as uniform as possible.
2011-02-27 20:00:15 +00:00
Dean Camera
92b3553a07
General cleanup and more port work to the AVR32 UC3B.
2011-02-27 18:25:29 +00:00
Dean Camera
4a3b70e727
Fix USB Host mode compile errors for the UC3B architecture.
2011-02-27 15:23:09 +00:00
Dean Camera
381dd0d490
Move out common architecture-independent core definitions into the appropriate core dispatch header files.
2011-02-27 14:39:49 +00:00
Dean Camera
f3f481183a
More AVR32 UC3B architecture ports - USB device mode applications can now be sucessfully compiled, although they will be currently non-functional.
2011-02-27 14:04:29 +00:00
Dean Camera
cf2411435c
Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically cleared when Pipe_ClearError() is called.
...
More UC3B architecture porting.
2011-02-26 20:22:33 +00:00
Dean Camera
66c38cd940
Added TWI baud rate prescaler and bit length parameters to the TWI_Init() function (thanks to Thomas Herlinghaus).
2011-02-26 15:57:06 +00:00
Dean Camera
6f01b6afd5
More UC3B architecture port updates.
2011-02-26 15:54:11 +00:00
Dean Camera
a318f32b31
Update board driver common APIs to use uint_reg_t.
2011-02-20 19:18:06 +00:00
Dean Camera
86be7f9330
Fix incorrect Doxygen grouping in the incomplete AVR32 UC3B architecture port.
2011-02-20 18:27:09 +00:00
Dean Camera
3a00e41639
Make sure the peripheral driver .c files include the driver dispatch header, rather than the architecture specific header files.
2011-02-20 18:23:09 +00:00
Dean Camera
b6a3c78fa3
Rename architecture specific driver files, to make them appear with uniquely identifying filenames in the documentation.
2011-02-20 18:21:04 +00:00
Dean Camera
cad5e9ffca
Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
2011-02-20 17:53:17 +00:00
Dean Camera
f3ec62b5c6
More updates to remove architecture-specific comments from the documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
2011-02-20 14:43:13 +00:00
Dean Camera
28a1ee29a1
More Doxygen updates for multiple architecture support.
2011-02-20 14:07:20 +00:00
Dean Camera
5e73190582
Start update of documentation to support possible multiple architectures in the future - alter \file documentation to automatically copy in the module documentation where possible.
2011-02-20 13:08:29 +00:00
Dean Camera
1daa5e16f9
Initial restructuring of the core USB driver module to support multiple architectures in the future.
2011-02-19 22:59:27 +00:00
Dean Camera
3832182fe1
Fix documentation glitches from the restructuring changes.
2011-02-19 18:53:30 +00:00
Dean Camera
e0a3f26978
Move out Dataflash IC command constants headers into the general LUFA/Drivers/Misc/ directory rather than duplicating them inside the individual board driver folders.
2011-02-19 18:45:50 +00:00
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.
2011-02-19 18:37:22 +00:00
Dean Camera
100a197d0e
Reduced latency for executing the Start-Of-Frame events (if enabled in the user application).
2011-02-19 12:09:55 +00:00
Dean Camera
e4f3d9957e
Fix non-ASCII characters breaking LaTex documentation builds.
2011-02-17 22:08:29 +00:00
Dean Camera
4344b0621d
Added board driver support for the Sparkfun ATMEGA8U2 breakout board.
2011-02-16 21:00:46 +00:00
Dean Camera
0019fbd129
Add more const-ness to the stream endpoint/pipe functions where possible.
2011-02-13 21:27:24 +00:00
Dean Camera
272d446d32
Fix include path in the library RingBuffer.h header file.
2011-02-12 00:08:05 +00:00
Dean Camera
3d232953d9
Fix typos in the HID class bootloader makefile.
2011-02-11 20:00:48 +00:00
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.
2011-02-10 17:55:49 +00:00
Dean Camera
7d823d926f
Update HID bootloader loader application to support the VID/PID used by the bootloader.
2011-02-09 22:35:48 +00:00
Dean Camera
cae0fa73d7
Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com.
2011-02-09 21:34:00 +00:00
Dean Camera
088bfb10b2
Change bootloader makefiles to automatically compute the bootloader starting address from a flash size and bootloader section size, expressed in KB.
2011-02-09 17:58:21 +00:00
Dean Camera
279e1b6ece
Fixed programming errors in the AVRISP-MKII project when the programming packet is a round multiple of the endpoint bank size under avrdude (thanks to Steffan Woltjer).
2011-02-04 18:17:31 +00:00
Dean Camera
73718d7c57
Fixed incorect BUTTONS_BUTTON1 definition for the Minimus board.
2011-02-02 15:31:45 +00:00
Dean Camera
43b9d552bb
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
2011-01-30 23:12:06 +00:00
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.
2011-01-30 21:02:31 +00:00
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.
2011-01-30 19:47:31 +00:00
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.
2011-01-30 14:40:24 +00:00
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.
2011-01-30 14:14:04 +00:00
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.
2011-01-26 21:33:07 +00:00
Dean Camera
6c7ed7ecd6
Added new HID_DESCRIPTOR_MOUSE, HID_DESCRIPTOR_KEYBOARD and HID_DESCRIPTOR_JOYSTICK macros for easy automatic creation of basic USB HID device reports.
2011-01-23 20:02:51 +00:00
Dean Camera
6d67b1df3c
Change over Joystick demo HID report descriptor to use USAGE_MINIMUM and USAGE_MAXIMUM when describing the joystick buttons, to allow for easy extension of the number of supported buttons.
2011-01-23 17:41:16 +00:00
Dean Camera
26017b68b0
Changed AVRISP-MKII project to use the Watchdog interrupt for command timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
2011-01-22 17:48:06 +00:00
Dean Camera
ef44b8c036
Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID class driver (thanks to Joby Taffey).
...
Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.
2011-01-17 23:11:13 +00:00
Dean Camera
efd57cfe51
Abuse the the C preprocessor so that the HID macros can automatically encode data into the array from the HID macros automagically, by specifying the bit-width of the data, and the data itself as a single integer value of that width.
2011-01-17 19:44:48 +00:00
Dean Camera
47fec03694
Fixed several functions in the Host mode Still Image Class driver returning an error code from the incorrect error code enum (thanks to Daniel Seibert).
2011-01-16 23:13:54 +00:00
Dean Camera
787869c2fd
Minor documentation corrections for the new HID report item constant defines.
2011-01-16 19:41:26 +00:00
Dean Camera
039a714ee4
New HID report item macros (with HID_RI_ prefix) to allow for easy creation and editing of HID report descriptors.
...
Changed over all project and demo HID report descriptors to use the new HID report item macros.
Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
2011-01-16 19:34:28 +00:00
Dean Camera
32830a2b82
Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.
2011-01-16 16:13:22 +00:00
Dean Camera
70d55f6e0c
Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function.
...
Spell check source code files.
2011-01-13 22:56:49 +00:00
Dean Camera
7776aa4e2e
Changed TempDataLogger project's DS1307 driver to simplify the function interface and prevent a possible race condition.
2011-01-13 19:14:38 +00:00
Dean Camera
187ccb2e15
Fix typos and outdated information.
2011-01-10 21:53:38 +00:00
Dean Camera
154f934b22
Call USB_USBTask() in the Endpoint stream functions between packets if INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
2011-01-10 18:56:34 +00:00
Dean Camera
f555ad7ced
Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk).
...
Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions.
Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it.
Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
2011-01-10 18:43:34 +00:00
Dean Camera
477a2047f4
Oops - fix type preventing compilation of demos using the class drivers.
2011-01-08 15:54:57 +00:00
Dean Camera
7dc3d3a68f
Minor documentation improvements.
2011-01-08 11:47:20 +00:00
Dean Camera
d126146887
The FAST_STREAM_TRANSFERS compile time option has been removed due to lack of use and low cost/benefit ratio.
...
Add GCC_FORCE_POINTER_ACCESS() macro use to the RingBuffer library header, to attempt to force GCC into producing more efficient code for manipulating the buffers.
2011-01-08 00:54:30 +00:00
Dean Camera
1c74fd78bd
Add custom footer to the main library documentation.
2011-01-03 20:37:30 +00:00
Dean Camera
a49b5bfd8a
Update Doxygen documentation configuration file for the main project documentation to the latest version. Add missing data structure documentation briefs.
2011-01-03 20:13:06 +00:00
Dean Camera
1d433d4506
Update copyright year on all source files.
2011-01-01 13:00:56 +00:00
Dean Camera
b8fd4dd51c
Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab).
2010-12-31 15:03:57 +00:00
Dean Camera
64fe1cd0b2
Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so that it matches the header name.
2010-12-31 14:47:20 +00:00
Dean Camera
cb9ef559a0
Fixed inverted Minimus board LEDs.
2010-12-28 22:07:31 +00:00
Dean Camera
6026b9128b
Fix compile errors from the changes to the SerialStream and board Temperature drivers.
2010-12-26 15:44:10 +00:00
Dean Camera
c05e7cd7d9
More minor documentation corrections.
2010-12-26 15:09:27 +00:00
Dean Camera
a8b66f318d
Documentation improvements - put driver example code into its own section, fix incorrect and missing section names.
2010-12-26 14:55:26 +00:00
Dean Camera
2073b96d82
Added basic driver example use code to the library documentation.
...
Made the USARTStream global public and documented in the SerialStream module, allowing for the serial USART stream to be accessed via its handle rather than via the implicit stdout and stdin streams.
2010-12-26 14:25:34 +00:00
Dean Camera
39ac72f2d1
Make a new general RingBuffer.h misc library driver, instead of the per-application LightweightRingBuff.h ring buffers. Change over projects to use the new driver.
...
Add ORDERED_EP_CONFIG to the device Projects (only) that use only a single class driver, or where the endpoint ordering is fixed, to save on compiled binary size.
Added new GCC_FORCE_POINTER_ACCESS() macro to correct GCC's mishandling of struct pointers.
2010-12-26 13:01:37 +00:00
Dean Camera
12418e6eaf
Combined page and word ISP programming mode code in the AVRISP-MKII clone project to reduce compiled size and increase maintainability of the code.
2010-12-25 21:36:17 +00:00
Dean Camera
958b20a8ef
Fixed possible programming problem in the AVRISP-MKII clone project when programming specific patterns into a target memory space that is only byte (not page) addressable.
2010-12-25 17:49:30 +00:00
Dean Camera
bfa622d27e
Much more efficient algorithm for the Endpoint/Pipe configuration routine of unordered endpoints/pipes - only reconfigure the endpoints and pipes above the newly configured endpoint/pipe, and don't cache existing endpoint/pipe configuration before use to save SRAM.
2010-12-24 18:06:55 +00:00
Dean Camera
ec537fd84d
Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ORDERED_EP_CONFIG compile time option to override the workaround and use the previous behaviour that imposes correct Endpoint/Pipe ordering but produces smaller compiled code.
2010-12-24 17:05:41 +00:00
Dean Camera
a57287a59f
Fix a few more incorrectly ordered endpoint initialisations in the device demos.
2010-12-17 20:26:14 +00:00
Dean Camera
cbafc306b2
Fixed incorrect endpoint initialisation order in the LowLevel DualVirtualSerial demo (thanks to Rick Drolet).
2010-12-17 19:54:03 +00:00
Dean Camera
0aa950c241
Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver (thanks to Opendous Inc.).
...
Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
2010-12-13 06:05:05 +00:00
Dean Camera
46677b4589
Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).
2010-12-12 16:50:45 +00:00
Dean Camera
b67f9f3669
Added new RingBuffer_Peek() function to the lightweight ring buffer headers.
2010-12-12 16:39:46 +00:00
Dean Camera
8a7351c760
Added new completed MIDIToneGenerator project.
2010-12-03 03:51:46 +00:00
Dean Camera
b20d25854d
Fixed HID hpst class driver incorrectly binding to HID devices that do not have an OUT endpoint.
2010-12-02 04:28:53 +00:00
Dean Camera
ed9d77aeee
Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be more space efficient when compiled.
...
Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
2010-12-02 01:56:06 +00:00
Dean Camera
1c74525d2f
Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define.
2010-11-30 02:43:44 +00:00
Dean Camera
c879887dce
Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.
2010-11-29 03:01:31 +00:00
Dean Camera
82fa9149d7
Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground.
2010-11-27 01:27:55 +00:00
Dean Camera
9f7883fa2b
Added ability to write protect Mass Storage disk write operations from the host OS.
2010-11-26 04:16:47 +00:00
Dean Camera
b634ec50a0
Changed the XPLAINBridge software UART to use the regular CTC mode instead of the alternative CTC mode via the Input Capture register, to reduce user confusion.
2010-11-25 03:20:01 +00:00
Dean Camera
423d4018f0
Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy.
...
Minor documentation improvements.
2010-11-23 06:56:24 +00:00
Dean Camera
0595ac27d5
Commit for 101122 release.
2010-11-22 05:30:20 +00:00
Dean Camera
b87d0b45a2
Added board hardware driver support for the Microsin AVR-USB162 development board.
2010-11-21 10:34:15 +00:00
Dean Camera
55da77d85f
Remove internal USB_Device_NibbleToASCII() function in favour of manually inlined code to prevent compilation errors in -O0 optimisation level.
2010-11-21 10:16:44 +00:00
Dean Camera
8f981b5f38
Better documentation for the ANSI terminal escape codes header.
...
Organise the current version changelog better to group core and non-core changes together.
2010-11-17 06:34:04 +00:00
Dean Camera
8f7437dda2
Rename incorrectly named XPROGTarget_SendBreak() function to XPROGTarget_SendIdle(), as it is sending idle bits and not break bits.
2010-11-17 05:46:18 +00:00
Dean Camera
cbc00c843a
Fixed AVRISP-MKII clone project not starting the target's program automatically after exiting TPI programming mode.
2010-11-16 13:14:27 +00:00
Dean Camera
a9f313afa9
Slow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to issues with the XPLAINBridge when PDI programming at faster rates.
...
Speed up XMEGANVM_WaitWhileNVMControllerBusy() by preloading the status register address into the pointer register of the target's NVM controller and then reading via a faster indirect load command.
2010-11-16 12:30:00 +00:00
Dean Camera
002cd6df49
Added new XCK_RESCUE_CLOCK_ENABLE compile time option to the AVRISP-MKII clone programmer project (thanks to Tom Light).
2010-11-16 01:37:43 +00:00
Dean Camera
f2324fc2b4
Second patch to fix incorrect PDI/TPI programming speed.
2010-11-14 06:44:57 +00:00
Dean Camera
d41cd9a41a
Fixed PDI/TPI programming speed of ~250KHz in the AVRISP-MKII Clone project, instead of the desired 500KHz.
2010-11-12 06:24:01 +00:00
Dean Camera
50390867e7
Fixed incorrect PollingIntervalMS values in the demo/project/bootloader endpoint descriptors (thanks to MCS Electronics).
2010-11-10 12:38:25 +00:00
Dean Camera
622dc6486c
Remove link to (now deleted) public Mercurial mirror in the documentation.
2010-11-09 11:02:50 +00:00
Dean Camera
0ce2950d81
Added board hardware driver support for the Adafruit U4 breakout board.
...
Fixed calculation of timer register reload values derived from F_CPU; must subtract one from the division result for the compare value to be correct.
Change AVRISP-MKII rescue clock speed to 4MHz to ensure that a 125KHz ISP speed works regardless of the target's fuses (i.e. DIV8 set).
2010-11-08 03:41:48 +00:00
Dean Camera
bac860b173
Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor.
2010-11-07 12:54:52 +00:00
Dean Camera
210bd4db24
Fix documentation reference error.
2010-11-05 05:26:00 +00:00
Dean Camera
fb76acb084
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
2010-11-05 05:15:20 +00:00
Dean Camera
85cf202737
Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send buffer becomes full.
2010-11-03 11:24:34 +00:00
Dean Camera
8f9b5ae00d
Minor documentation improvements.
2010-11-03 06:50:02 +00:00
Dean Camera
f275edf6eb
Remove already implemented features from the Future Changes manual page.
2010-11-03 06:37:40 +00:00
Dean Camera
ee495ca500
Fixed MIDI class driver send routines silently discarding packets if the endpoint or pipe is busy (thanks to Robin Green).
2010-11-03 03:20:08 +00:00
Dean Camera
5ce8380a7d
Fix XPLAINBridge code broken during the changes to the Rescue Clock generation in the AVRISP-MKII clone project.
...
Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
2010-11-02 11:16:36 +00:00
Dean Camera
3bf760ad7d
Rescue clock of the AVRISP-MKII moved to the AVR's OCR1A pin, so that the clock can be generated at all times when 125KHz ISP programming mode is selected.
2010-11-02 07:57:23 +00:00
Dean Camera
40db485c79
Rename new CDC class bootloader NO_LOCK_BYTE_SUPPORT compile time option to NO_LOCK_BYTE_WRITE_SUPPORT as reads are still permitted.
...
Clean up CDC bootloader command processing code.
2010-10-29 08:20:36 +00:00
Dean Camera
475323e400
Added new NO_BLOCK_SUPPORT, NO_EEPROM_BYTE_SUPPORT, NO_FLASH_BYTE_SUPPORT and NO_LOCK_BYTE_SUPPORT compile time options to the CDC class bootloader.
2010-10-29 08:07:49 +00:00
Dean Camera
46f2e488b0
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.
2010-10-29 06:50:56 +00:00
Dean Camera
cd57e855f6
Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and Endpoint_AbortPendingIN() functions.
2010-10-29 06:22:03 +00:00
Dean Camera
b8dfa976ce
Added standard keyboard HID report scancode defines (thanks to László Monda).
2010-10-28 23:11:49 +00:00
Dean Camera
2d49c09b38
Move Set Feature and Clear Feature control request feature selector values into their own enum.
2010-10-28 22:51:03 +00:00
Dean Camera
b120c4e4cd
Move RNDISConstants.h into the RNDIS class driver common definition header.
...
Add logical grouping of related #define values for better Doxygen documentation.
2010-10-28 07:52:52 +00:00
Dean Camera
cb779e3d7d
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
2010-10-28 06:08:58 +00:00
Dean Camera
710f31c540
Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic flushing of interfaces when the USB management tasks for each driver is called.
...
The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
2010-10-27 07:23:51 +00:00
Dean Camera
08de757811
Changed AudioInput and AudioOutput demos to reload the next sample via an interrupt rather than polling the sample timer.
2010-10-26 06:52:09 +00:00
Dean Camera
55538dcef3
Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible.
...
Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos.
Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
2010-10-25 12:42:55 +00:00
Dean Camera
b37d77eab3
All USB class drivers are now automatically included when LUFA/Drivers/USB.h is included, and no longer need to be seperately included.
...
All LowLevel demos changed to use the constants and types defined in the USB class drivers.
2010-10-24 22:53:57 +00:00
Dean Camera
8f3bee7d86
Better algorithm to extract and convert the internal device serial number into a string descriptor (if present).
...
Fix incorrect warning text when an unsuitable F_CLOCK value is given.
2010-10-24 12:25:34 +00:00
Dean Camera
5517f96e86
Oops - fix broken SPI driver due to missing bit inversion on a port mask.
2010-10-20 08:08:59 +00:00
Dean Camera
bd337aced3
Added default test tone generation mode to the Device mode AudioInput demos.
2010-10-20 07:39:11 +00:00
Dean Camera
06f222b3ed
Added board hardware driver support for the Minimus board (thanks to the PSGroove team).
2010-10-17 23:14:03 +00:00
Dean Camera
9aa94fee81
Oops - add missing Maximus board LED hardware driver file.
2010-10-17 23:08:53 +00:00
Dean Camera
b4a02fa29d
Added board hardware driver support for the Maximus board (thanks to the PSGroove team).
2010-10-17 23:06:50 +00:00
Dean Camera
cb298295fb
Added board hardware driver support for the Blackcat USB JTAG board (thanks to the PSGroove team).
2010-10-17 23:00:23 +00:00
Dean Camera
9464fa168e
Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and changed it to return the maximum number of supported banks for the given endpoint.
2010-10-13 21:05:55 +00:00
Dean Camera
31daf04c6a
Fix SoftUART.c not compiling due to accidental check in of changes not yet complete in the rest of the XPLAINBridge project code.
2010-10-13 14:23:23 +00:00
Dean Camera
5a4def7478
Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda
2010-10-13 14:05:35 +00:00
Dean Camera
a8871c7fba
Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface was not configured.
...
Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
2010-10-12 13:52:06 +00:00
Dean Camera
7aaced1e8b
Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.
...
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic.
Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run.
Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
2010-10-12 12:22:11 +00:00
Dean Camera
c1cfffd8eb
Fixed random enumeration failure while in device mode due to interrupts causing the Set Address request to exceed maximum timings.
2010-10-12 11:27:15 +00:00
Dean Camera
bea72a8412
Minor documentation enhancements.
2010-10-12 10:40:42 +00:00
Dean Camera
292a631b62
Added new NO_SOF_EVENTS compile time option, enabled in the bootloaders to reduce the compiled binary size.
2010-10-07 11:55:20 +00:00
Dean Camera
ccc82ce745
Added board hardware driver support for the Busware CUL V3 board.
...
Added SVN eol-style property to the library driver files that are missing it.
2010-10-06 12:40:20 +00:00
Dean Camera
accadba2dd
Fixed SPI driver not explicitly setting /SS and MISO pins as inputs when SPI_Init() is called.
2010-10-06 11:51:53 +00:00
Dean Camera
3ae9e6042f
Cache the USB_DeviceState variable internally in the library core when multiple checks are required in a single loop iteration, to reduce compiled code size.
2010-10-06 10:16:02 +00:00
Dean Camera
93793679c9
Revert change to the AVRISP-MKII project for fuse byte programming via the CMDEX bit - this appears to be an error in the XMEGA manual external memory programming table.
2010-10-02 10:07:24 +00:00
Dean Camera
a447ae134f
Fixed broken lock byte programming in the AVRISP-MKII clone project for some XMEGA targets.
2010-10-02 10:02:24 +00:00
Dean Camera
824ce10390
Fixed broken FLASH/EEPROM programming in the AVRISP-MKII clone project when writing in non-paged mode and the polling byte cannot be used.
2010-10-02 08:41:08 +00:00
Dean Camera
c8942ef469
Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID interface's report descriptor size.
...
Simplified low level Host demo configuration descriptor parser routines.
2010-10-01 12:01:54 +00:00
Dean Camera
d06febbb59
Fix device mode for the U4 parts.
2010-10-01 11:22:24 +00:00
Dean Camera
383d167125
Whitespace corrections.
...
Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
2010-10-01 00:11:32 +00:00
Dean Camera
a1e453e900
Make Host mode Class drivers only set the class driver instance's state values once a compatible interface has been found within the device.
2010-09-30 23:23:05 +00:00
Dean Camera
86367574e6
Fix incorrectly named configuration descriptor callback routines in the host mode class drivers.
...
Fix typo in MIDI low level device demo.
2010-09-30 08:07:29 +00:00
Dean Camera
7166c7ba3e
Fix low level host mode demos not correctly fetching the next endpoint when an invalid interface is discarded.
...
Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
2010-09-30 07:56:47 +00:00