aboutsummaryrefslogtreecommitdiffstats
path: root/Projects
Commit message (Collapse)AuthorAgeFilesLines
...
* Add in a new common Delay_MS() function, which provides a blocking delay for ↵Dean Camera2011-04-081-4/+3
| | | | | | | | 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.
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-049-182/+182
| | | | | | 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.
* Use the MIN() macro where possible instead of manual "(x < y) ? x : y" ↵Dean Camera2011-03-233-9/+6
| | | | constructs.
* F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean Camera2011-03-2112-84/+84
| | | | architecture ports.
* Updated the software USART code in the XPLAIN Bridge application so that the ↵Dean Camera2011-03-151-2/+4
| | | | incomming bits are sampled at their mid-point instead of starting point, to give maximum reliability (thanks to Anton).
* Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically ↵Dean Camera2011-02-261-4/+2
| | | | | | cleared when Pipe_ClearError() is called. More UC3B architecture porting.
* Added TWI baud rate prescaler and bit length parameters to the TWI_Init() ↵Dean Camera2011-02-262-6/+2
| | | | function (thanks to Thomas Herlinghaus).
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-1912-12/+60
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Add more const-ness to the stream endpoint/pipe functions where possible.Dean Camera2011-02-132-2/+6
|
* Fix typos in the HID class bootloader makefile.Dean Camera2011-02-111-5/+5
|
* Add static keyword to all project globals whose scope should be restricted ↵Dean Camera2011-02-1018-51/+59
| | | | | | 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.
* Oops - fix missing constants in the TempDataLogger FatFS diskio.h header file.Dean Camera2011-02-0614-70/+88
| | | | Add const to all project descriptor definitions for safety.
* Update projects using FatFS and PetiteFatFS to the latest library versions.Dean Camera2011-02-0618-1913/+2484
|
* Fixed programming errors in the AVRISP-MKII project when the programming ↵Dean Camera2011-02-042-2/+20
| | | | packet is a round multiple of the endpoint bank size under avrdude (thanks to Steffan Woltjer).
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-303-3/+3
| | | | name *_Disable().
* Oops - fix up some calls to the old function names, include Serial ↵Dean Camera2011-01-301-1/+1
| | | | Peripheral driver in the RNDISEthernetHost project.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-304-5/+6
| | | | | | | | 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.
* Oops - forgot to add in LOGICAL MINIMUM and LOGICAL MAXIMUM report items ↵Dean Camera2011-01-301-1/+1
| | | | into the standard library Joystick HID report descriptor macro. Add in support for joystick resolution reporting via PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM items.
* Add new HID_DESCRIPTOR_VENDOR() macro, change over all projects and Device ↵Dean Camera2011-01-306-69/+34
| | | | | | | | | | | | 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.
* Changed AVRISP-MKII project to use the Watchdog interrupt for command ↵Dean Camera2011-01-228-35/+34
| | | | timeouts, to reduce CPU usage and free timer 0 for other uses in the future.
* Abuse the the C preprocessor so that the HID macros can automatically encode ↵Dean Camera2011-01-172-50/+46
| | | | 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.
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-162-39/+52
| | | | | | | | 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/.
* Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.Dean Camera2011-01-161-6/+1
|
* Added new high level TWI packet read/write commands, altered behaviour of ↵Dean Camera2011-01-132-45/+22
| | | | | | the TWI_StartTransmission() function. Spell check source code files.
* Oops - The DS1307 contains an unused "DayOfWeek" register that must be ↵Dean Camera2011-01-132-43/+52
| | | | accounted for in the new unified DS1307 Time/Day read and write routines.
* Changed TempDataLogger project's DS1307 driver to simplify the function ↵Dean Camera2011-01-135-130/+87
| | | | interface and prevent a possible race condition.
* Fix typos and outdated information.Dean Camera2011-01-102-2/+1
|
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-108-51/+38
| | | | | | | | | | 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).
* The FAST_STREAM_TRANSFERS compile time option has been removed due to lack ↵Dean Camera2011-01-081-1/+0
| | | | | | 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.
* Update copyright year on all source files.Dean Camera2011-01-01105-204/+204
|
* Rename RingBuffer header functions and typedefs from RingBuff_* to ↵Dean Camera2010-12-314-12/+12
| | | | RingBuffer_* so that it matches the header name.
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-2611-51/+51
| | | | fix incorrect and missing section names.
* Added basic driver example use code to the library documentation.Dean Camera2010-12-261-2/+2
| | | | 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.
* Make a new general RingBuffer.h misc library driver, instead of the ↵Dean Camera2010-12-2619-646/+37
| | | | | | | | 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.
* Combined page and word ISP programming mode code in the AVRISP-MKII clone ↵Dean Camera2010-12-252-110/+67
| | | | project to reduce compiled size and increase maintainability of the code.
* Fixed possible programming problem in the AVRISP-MKII clone project when ↵Dean Camera2010-12-251-13/+15
| | | | programming specific patterns into a target memory space that is only byte (not page) addressable.
* Add DEVICE_STATE_AS_GPIOR=0 compile time option to the library projects, to ↵Dean Camera2010-12-2412-2/+12
| | | | reduce compiled binary size.
* Fix a few more incorrectly ordered endpoint initialisations in the device demos.Dean Camera2010-12-171-1/+1
|
* Add missing AVRStudio4 project file for the MIDIToneGenerator project.Dean Camera2010-12-171-0/+1
|
* Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID ↵Dean Camera2010-12-131-0/+3
| | | | | | class driver (thanks to Opendous Inc.). Add extra comments to the ISPTarget.c source file in the AVRISP-MKII clone project.
* Fixed possible lost data in the XPLAINBridge, USBtoSerial and Benito ↵Dean Camera2010-12-123-9/+39
| | | | projects when the host exceeds the packet timeout period on received packets as set by USB_STREAM_TIMEOUT_MS (thanks to Justin Rajewski).
* Added new RingBuffer_Peek() function to the lightweight ring buffer headers.Dean Camera2010-12-123-0/+33
|
* Added new completed MIDIToneGenerator project.Dean Camera2010-12-037-8/+85
|
* Fixed broken DFU bootloader, added XPLAIN support for bootloader start when ↵Dean Camera2010-11-271-0/+1
| | | | XCK jumpered to ground.
* Fix typos in the XPLAINBridge project preventing compilation.Dean Camera2010-11-261-2/+2
|
* Added ability to write protect Mass Storage disk write operations from the ↵Dean Camera2010-11-269-7/+124
| | | | host OS.
* Changed the XPLAINBridge software UART to use the regular CTC mode instead ↵Dean Camera2010-11-253-9/+9
| | | | of the alternative CTC mode via the Input Capture register, to reduce user confusion.
* Make the incomplete MIDIToneGenerator project work with up to three notes, ↵Dean Camera2010-11-252-27/+61
| | | | using a LRU (Least Recently Used) algorithm to discard the oldest set note when the note table becomes full.
* Readd incomplete MIDIToneGenerator project, which can now correctly generate ↵Dean Camera2010-11-245-0/+1442
| | | | up to three simultaneous notes from MIDI channel 0.
* Fixed Benito project discarding incoming data from the USB virtual serial ↵Dean Camera2010-11-235-7/+6
| | | | | | port when the USART is busy. Minor documentation improvements.