Dean Camera
088bfb10b2
Change bootloader makefiles to automatically compute the bootloader starting address from a flash size and bootloader section size, expressed in KB.
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
355d12e039
Tighten up the Bootloader GetDescriptor() function, as the descriptor size can be extracted from the header after the address has been found.
14 years ago
Dean Camera
a95d224185
Update projects using FatFS and PetiteFatFS to the latest library versions.
14 years ago
Dean Camera
b1d7568651
Fix incorrect #include filenames in the RNDIS demos.
14 years ago
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).
14 years ago
Dean Camera
73718d7c57
Fixed incorect BUTTONS_BUTTON1 definition for the Minimus board.
14 years ago
Dean Camera
43b9d552bb
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
14 years ago
Dean Camera
9051d3beb0
Oops - fix up some calls to the old function names, include Serial Peripheral driver in the RNDISEthernetHost project.
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
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.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
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).
14 years ago
Dean Camera
787869c2fd
Minor documentation corrections for the new HID report item constant defines.
14 years ago
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/.
14 years ago
Dean Camera
32830a2b82
Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.
14 years ago
Dean Camera
70d55f6e0c
Added new high level TWI packet read/write commands, altered behaviour of the TWI_StartTransmission() function.
...
Spell check source code files.
14 years ago
Dean Camera
9c7594e7db
Oops - The DS1307 contains an unused "DayOfWeek" register that must be accounted for in the new unified DS1307 Time/Day read and write routines.
14 years ago
Dean Camera
7776aa4e2e
Changed TempDataLogger project's DS1307 driver to simplify the function interface and prevent a possible race condition.
14 years ago
Dean Camera
187ccb2e15
Fix typos and outdated information.
14 years ago
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.
14 years ago
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).
14 years ago
Dean Camera
477a2047f4
Oops - fix type preventing compilation of demos using the class drivers.
14 years ago
Dean Camera
7dc3d3a68f
Minor documentation improvements.
14 years ago
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.
14 years ago
Dean Camera
1c74fd78bd
Add custom footer to the main library documentation.
14 years ago
Dean Camera
a49b5bfd8a
Update Doxygen documentation configuration file for the main project documentation to the latest version. Add missing data structure documentation briefs.
14 years ago
Dean Camera
1d433d4506
Update copyright year on all source files.
14 years ago
Dean Camera
b8fd4dd51c
Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab).
14 years ago
Dean Camera
64fe1cd0b2
Rename RingBuffer header functions and typedefs from RingBuff_* to RingBuffer_* so that it matches the header name.
14 years ago
Dean Camera
cb9ef559a0
Fixed inverted Minimus board LEDs.
14 years ago
Dean Camera
6026b9128b
Fix compile errors from the changes to the SerialStream and board Temperature drivers.
14 years ago
Dean Camera
c05e7cd7d9
More minor documentation corrections.
14 years ago
Dean Camera
a8b66f318d
Documentation improvements - put driver example code into its own section, fix incorrect and missing section names.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
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.
14 years ago
Dean Camera
5489af7fa0
Add ORDERED_EP_CONFIG compile time option to the CDC class bootloader, to reduce the compiled binary size, as the endpoint initialization order is fixed in the code.
14 years ago
Dean Camera
7d83bd0dcc
Add DEVICE_STATE_AS_GPIOR=0 compile time option to the library projects, to reduce compiled binary size.
14 years ago
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.
14 years ago
Dean Camera
a57287a59f
Fix a few more incorrectly ordered endpoint initialisations in the device demos.
14 years ago