Dean Camera
634abab38a
Fix TWI driver not aborting when faced with no response after attempting to address a device on the bus.
15 years ago
Dean Camera
c0c982df7a
Added a timeout value to the TWI_StartTransmission() function, within which the addressed device must respond.
...
Fixed TWI_StartTransmission() corrupting the contents of the GPIOR0 register.
15 years ago
Dean Camera
14a5a94084
Fix incorrect error when directly including the LUFA internal USB library components.
15 years ago
Dean Camera
071fd8ce53
Revert changes made for the partial port to the AVR32 architecture.
15 years ago
Dean Camera
a7aaa45ec4
More AVR32 achitecture ports.
15 years ago
Dean Camera
3702ba1fb3
More porting of the USB core to the AVR32.
15 years ago
Dean Camera
0e6d5cf5b4
Start porting the USB core to the AVR32 UC3B.
15 years ago
Dean Camera
e11fddfe66
Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver is eventually ported. Make architecture includes explicit for both the AVR32 and the AVR8, to make way for future architecture ports.
...
Add SPI driver aliases for the old function names in the AVR8 driver, so that existing code will still compile against the new version.
15 years ago
Dean Camera
c24027f3b5
Fixed software PDI/TPI programming mode in the AVRISP project not correctly toggling just the clock pin.
...
Fix broken AVR8 Serial peripheral driver.
15 years ago
Dean Camera
2590452104
Change over board hardware drivers to use the custom uintN_t and intN_t native word size types.
15 years ago
Dean Camera
99a45fa97d
Add start of an AVR32 SPI driver.
15 years ago
Dean Camera
ff8e0ea2d6
Rename AVRU4U6U9 peripheral driver directory to AVR8.
15 years ago
Dean Camera
1d8bb8f9bc
Make SPI and USART peripheral dispatch driver headers in preparation for a set of AVR32 peripheral drivers.
15 years ago
Dean Camera
aae20139b9
Add drivers for the EVK1101 - begin full port to the AVR32 UC3B line of AVRs.
15 years ago
Dean Camera
012628f635
Turn OFF double banking in the Webserver demo - leaving it on seems to destroy the system throughput.
15 years ago
Dean Camera
67cb070810
Fix HID Host Class driver sending incorrect ReportType values to the device when issuing requests via the control pipe.
15 years ago
Dean Camera
a71820b259
Fixed accuracy of the SERIAL_UBBRVAL() and SERIAL_2X_UBBRVAL() macros for higher baudrates (thanks to Renaud Cerrato).
15 years ago
Dean Camera
d49cc0f783
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
15 years ago
Dean Camera
35a0fe9384
Fixed USB_GetHIDReportSize() returning the number of bits in the specified report instead of bytes.
...
Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code.
Make Webserver project report the LUFA version as part of the HTTP header.
15 years ago
Dean Camera
7ae91099e9
Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit.
...
Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
15 years ago
Dean Camera
0c5d6f5f97
Added Keyboard LED report masks (KEYBOARD_LED_*) to the HID class driver and demos.
15 years ago
Dean Camera
196724c62d
Added keyboard modifier masks (HID_KEYBOARD_MODIFER_*) to the HID class driver and Keyboard demos.
15 years ago
Dean Camera
7602566a05
Fixed SerialStream driver not setting stdin to the created serial stream.
15 years ago
Dean Camera
658234a0b0
Oops - serial stream driver should return _FDEV_EOF when no data has been received, not EOF.
15 years ago
Dean Camera
6ba0b860cc
Fixed SerialStream driver blocking while waiting for characters to be received instead of returning EOF.
15 years ago
Dean Camera
15f84bb8f5
New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will remove all board hardware drivers which do not adversely affect the code operation (currently only the LEDs driver).
...
Spell-check code/comments in the Webserver/AVRISP-MKII projects.
15 years ago
Dean Camera
a96d77eca7
Add documentation to the USB Class Drivers module on how to use the Host mode class drivers.
15 years ago
Dean Camera
84e1241f80
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
15 years ago
Dean Camera
4d246a82cb
Fixed incorrect values of USB_CONFIG_ATTR_SELFPOWERED and USB_CONFIG_ATTR_REMOTEWAKEUP tokens (thanks to Claus Christensen).
...
Mark the AVRISP-MKII project descriptors as being both Bus Powered and Device Powered.
Copy over file level documentation of the peripheral drivers to the module level documentation.
15 years ago
Dean Camera
a4ebf4e920
Make board specific and device peripheral specific drivers' file documentation copy over to the module documentation, so that it is visible in the normal module view of the library documentation.
15 years ago
Dean Camera
2ae397dc2f
Fixed STK525 Dataflash driver using incorrect bit-shifting for Dataflash addresses (thanks to Tim Mitchell).
15 years ago
Dean Camera
b6a4584a19
Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction into account.
...
Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
15 years ago
Dean Camera
d26a9ed5fd
Be doubly-certain that the incomming CDC class driver's endpoint/pipe is flushed only once when the bank is empty.
15 years ago
Dean Camera
cec699ac59
Clean up Webserver project - add more Doxygen documentation for the new DHCP client functions and defines.
15 years ago
Dean Camera
4bd44139b1
Move TWI.c driver into the straight LUFA/Drivers/Peripheral/ directory.
...
Fix TemperatureDataLogger and Webserver project builds.
15 years ago
Dean Camera
431db89b00
Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints should use two seperate pipes, not one half-duplex pipe.
15 years ago
Dean Camera
74b6993d66
Cleanup and partially fix AVRISP-MKII project's TPI programming support.
15 years ago
Dean Camera
857381185d
ADC2 and ADC3 channels do not exist on the U4 series USB AVRs.
15 years ago
Dean Camera
b68f7f1649
Added explicit ADC channel masks for the standard set of ADC channels, as the single-ended channel MUX masks are not equal to the channel number on some AVR models. Changed demos to use the new channel masks when using the ADC driver.
15 years ago
Dean Camera
60fd0ff418
Changed XPLAINBridge project to be both a USB to USART bridge and a PDI programmer, based on the state of a mode select pin.
15 years ago
Dean Camera
2746154652
Added master mode hardware TWI driver.
...
Fixed a bug in the incomplete Webserver project, where the packet data was not being written to and read from the correct buffer address.
15 years ago
Dean Camera
f3d370a777
Clean up and add more comments to the AVRISP-MKII project. Make sure the SPI_MULTI command handler supports multiple packet responses. Use slightly smaller/faster repeated indirect-load commands when retrieving the PDI target's memory CRCs.
15 years ago
Dean Camera
b0ce1eab66
Fix incorrect preprocessor checks in the PLL prescaler mask determination code for the ATMEGA32U2.
15 years ago
Dean Camera
77dda302ac
Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers
...
Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders
Changed incomplete Webserver project over to using the uIP timer library.
15 years ago
Dean Camera
89e4d73289
Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse demo class driver structures.
...
Added caveat information to the CDC device class driver.
15 years ago
Dean Camera
5fc294a650
Oops - incorrect Dataflash chip select mask in the XPLAIN Dataflash driver.
15 years ago
Dean Camera
a56d95e8c2
Fix XPLAIN Dataflash and LED drivers.
15 years ago
Dean Camera
d97db1120b
Added support to the MIDI Class drivers for packed data, where multiple MIDI events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
15 years ago
Dean Camera
60e9641222
Inline USB management functions in the Class drivers which are standardized but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
15 years ago
Dean Camera
6122ba93cf
Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed before the required library headers were included, causing a compilation error.
...
Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
15 years ago