Commit Graph

240 Commits (b5285c14113b0339a164c936a45054613ddae328)

Author SHA1 Message Date
Dean Camera ca9f89ce82 Add new "checksource" target to the library makefiles, for automated source file existance checking. 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 c2135f2776 Expand the documentation for each Bootloader to give sample usage instructions for the command line programmer utilities. 14 years ago
Dean Camera 6d2a08f1b7 Fixed incorrect signature in the CDC and DFU class bootloaders for the ATMEGA8U2. 14 years ago
Dean Camera 0407b92584 Make DFU and CDC class bootloaders also toggle the LEDs on command activity in addition to the periodic flashing. 14 years ago
Dean Camera 513db46548 Added LED flashing to the CDC and DFU class bootloaders to indicate when they are running. 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. 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 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. 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. 14 years ago
Dean Camera 7d823d926f Update HID bootloader loader application to support the VID/PID used by the bootloader. 14 years ago
Dean Camera cae0fa73d7 Added HID class bootloader, compatible with a modified version of the command line Teensy loader from PJRC.com. 14 years ago
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. 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 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). 14 years ago
Dean Camera 1d433d4506 Update copyright year on all source files. 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 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 857a82674f Readd incomplete MIDIToneGenerator project, which can now correctly generate up to three simultaneous notes from MIDI channel 0. 14 years ago
Dean Camera c43605612d Lower bulk endpoint polling rate in the descriptors to the lowest possible value to give maximum throughput. 14 years ago
Dean Camera 50390867e7 Fixed incorrect PollingIntervalMS values in the demo/project/bootloader endpoint descriptors (thanks to MCS Electronics). 14 years ago
Dean Camera 99a132709e Fix incorrect ADEFS and CPPDEFS entries in the DFU and CDC class bootloader makefiles. 14 years ago
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. 15 years ago
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. 15 years ago
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. 15 years ago
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. 15 years ago
Dean Camera 55538dcef3 Add descriptor class, subclass and protocol constants to the class drivers, modify all demos to use them where possible. 15 years ago
Dean Camera 5a4def7478 Clean up excessive whitespace at the end of each line using the wspurify tool made by Laszlo Monda 15 years ago
Dean Camera 292a631b62 Added new NO_SOF_EVENTS compile time option, enabled in the bootloaders to reduce the compiled binary size. 15 years ago
Dean Camera 158afe9109 Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability. 15 years ago
Dean Camera 25d896a507 Added board hardware driver support for the Arduino Uno development board. 15 years ago
Dean Camera b2a30cd48a Added CDC functional descriptor structs to the Low Level CDC demos and CDC class bootloader, to improve the readability of the descriptors. 15 years ago
Dean Camera bd85422d2b Added the --suppress-bootloader-mem option to the makefile dfu target, to ensure that writes to the bootloader section of the AVR's flash memory are ignored (thanks to Axel Rohde). 15 years ago
Dean Camera 6d2f091cec Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany). 15 years ago
Dean Camera e61345f872 Fixed incorrect signature reported in the CDC class bootloader for the ATMEGA32U2. 15 years ago
Dean Camera fdcb486e22 Fix typos in the project overview text files. 15 years ago
Dean Camera 4dece08bef Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of. 15 years ago
Dean Camera 092f82e06f Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch). 15 years ago
Dean Camera 5f3a1b2629 Fix invocations of avr-size in all makefiles broken on unpatched *nix systems, due to the recent update to the latest WinAVR makefile template. 15 years ago
Dean Camera 3c72896e84 Fixed software application start command broken in the DFU class bootloader when dfu-programmer is used due to application start address corruption. 15 years ago
Dean Camera 48c5cdced4 Hide the PROGMEM attribute from Doxygen, as it appears to confuse the parser in some situations. 15 years ago
Dean Camera 5dfa25f81a Re-add deleted linker options to the Bootloader makefiles, which was preventing the compiled application from being shifted into the bootloader section address space. 15 years ago
Dean Camera 0f45b9c8e0 More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary. 15 years ago
Dean Camera fd9b34aac4 Add the formula used to obtain the bootloader start address to the Bootloader makefiles to help users compute the correct address for each device based on the bootloader section size. 15 years ago
Dean Camera 28401f7bb7 Spell check all source files once again to find any typos. 15 years ago
Dean Camera 6bda628718 Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. 15 years ago
Dean Camera 6b5e684c77 Update makefiles to use the latest WinAVR/Atmel toolchain makefile template. 15 years ago
Dean Camera 42ac34b484 Change over all makefiles to use C99 standards mode, rather than C99 + GNU Extensions. 15 years ago
Dean Camera 9299735c75 Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase. 15 years ago
Dean Camera f4710f6f86 Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. 15 years ago
Dean Camera 975e9d772d Add AVRStudio 4 project files for the library bootloaders. 15 years ago
Dean Camera ae9dab1398 Add missing clean_doxygen phony targets to the project makefiles. 15 years ago
Dean Camera 8b053d6ba5 Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. 15 years ago
Dean Camera fc92f9969c Minor documentation cleanups. 15 years ago
Dean Camera 152b2764c3 Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead. 15 years ago
Dean Camera 885170f5b4 Removed unused line encoding data and control requests from the CDC Bootloader code, to save space. 15 years ago
Dean Camera 54e69dbee1 Switch to using the correct intptr_t type use where a pointer must be cast to an integer type. 15 years ago
Dean Camera 776485a6c5 Remove obsolete entry from the Doxygen configuration files. 15 years ago
Dean Camera a883cf65dc Renamed CDC device class demos' ManagementEndpoint descriptor to NotificationEndpoint to more accurately indicate its purpose. 15 years ago
Dean Camera 071e02c6b6 Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style. 15 years ago
Dean Camera e331b531c6 Change over instances of "make" in the makefiles to "$(MAKE)" to allow for the make tool to be overridden. 15 years ago
Dean Camera 9c8bd6ed9b Remove incorrect Abstract Call Management class specific descriptor from the CDC demos, bootloaders and projects. 15 years ago
Dean Camera c3db72afdc Make CDC class bootloader hard-reset the AVR when exited instead of a soft-reset. Reduce size of the TeensyHID bootloader slightly. 15 years ago
Dean Camera e977774d4e Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the LowLevel directory as it is hardware-dependent. 15 years ago
Dean Camera 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run. 15 years ago
Dean Camera 19ecd04f37 Removed invalid dfu and flip related targets from the bootloaders - bootloaders can only be replaced with an external programmer. 15 years ago
Dean Camera 49b09a2042 Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects. 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). 15 years ago
Dean Camera 77e86e7d82 Exlude the "INCLUDE_FROM_*" macros from the individual project's documentation. 15 years ago
Dean Camera 254a0c1ae8 Update driver INF files - change manufacturer name from the original template's name to the Four Walled Cubicle website. 15 years ago
Dean Camera 5f776f4785 Fix up project documentation files' overview tables, so that multiple items occupy multiple lines in the same cell, rather than multiple cells. 15 years ago
Dean Camera db420853ce Add Webserver project Doxygen configuration file and overview document. 15 years ago
Dean Camera 77dda302ac Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllers 15 years ago
Dean Camera efb6c35778 Update Doxygen configuration files to the latest Doxygen version. 15 years ago
Dean Camera 7f9f97c792 Update copyright year to 2010. 15 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer. 15 years ago
Dean Camera 8b75659563 Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options. 15 years ago
Dean Camera d6edfe35c8 Spell check all source code variables, comments and strings. 16 years ago
Dean Camera c3dfc58707 Fix invalid Event name rule in demo/project makefiles. 16 years ago
Dean Camera dc68de15b6 Make Audio device demos compatible with AVRs running at 16MHz instead of 8MHz. 16 years ago
Dean Camera 664a292181 Application documentation/comment cleanup. 16 years ago
Dean Camera 51566d1a81 Added new Pipe_IsFrozen() macro to determine if the currently selected pipe is frozen. 16 years ago
Dean Camera b221e7d175 Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. 16 years ago
Dean Camera 7882da1ed8 Remove information about 64 bit Windows OS signing requirements for the CDC based demos -- apparently the native CDC driver can be installed without first disabling the OS's driver signing requirements. 16 years ago
Dean Camera 1190652c0b Fixed DFU and CDC class bootloaders on the AT90USBXXX2 series USB AVRs. 16 years ago
Dean Camera 0486f12e3e Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project. 16 years ago
Dean Camera f6700c0ea5 Added 64 bit OS driver installation instructions to the readme for all CDC based projects. 16 years ago
Dean Camera 064e6a2f32 Changed Still Image Host class driver to auto-fill TransactionID element of sent headers depending on the current session state. 16 years ago
Dean Camera ecd82778cf Added beginnings of a new AVRISP-MKII clone project. 16 years ago
Dean Camera 99abd1a8b7 Added explicit attribute masks to the device mode demos' descriptors. 16 years ago
Dean Camera 99c447c754 Fixed issue in USBtoSerial demos where the USART Rx line was not having its pullup enabled at startup, leading to noise being received from the Rx pin when left floating. 16 years ago
Dean Camera c5038f1bf4 Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. 16 years ago
Dean Camera 6f4cc344ab Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option. 16 years ago
Dean Camera 3472af91a5 Change project makefiles so that the current target settings and not just the board selection is printed during the build process. 16 years ago
Dean Camera e426463355 Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use. 16 years ago
Dean Camera c1be307393 Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, the latter of which is used in the bootloaders, to reduce code size. 16 years ago
Dean Camera e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state. 16 years ago
Dean Camera 4f747e7b76 Change Doxygen configuration files to not produce 4096 directories for the documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories. 16 years ago
Dean Camera 37f8a84f35 Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). 16 years ago
Dean Camera 1d26e78258 Added compatibility list to the documentation of each individual demo. 16 years ago
Dean Camera e0af6014a7 Added incomplete PrinterHost demo application. 16 years ago
Dean Camera f1076ac4d6 Added const modifiers to device mode class drivers. 16 years ago
Dean Camera 1756087c3e Optimize vendor/product description string display code in MassStorageHost. 16 years ago
Dean Camera 7d391eb04c Add NO_INTERNAL_SERIAL compile time option to bootloaders to prevent them from having unneccesary size increases from unused code. 16 years ago
Dean Camera e0420015df Re-add signature byte defines to the DFU and CDC class bootloaders -- the SIGNATURE_x defines in the AVR device header files only exist in a newer version of avr-libc than is in the Debian repositories, causing build issues on Linux. 16 years ago
Dean Camera feabfd12ce Fix makefiles -- the auto-addition of -D switches to each LUFA compile time option was faulty, due to GNUMake becomming confused by the spaces in the USE_STATIC_OPTIONS lines. Make user add in the switches explicitly instead. 16 years ago
Dean Camera beb0b2bda0 Move LUFA compile time options to a new section in the application makefiles for clarity. 16 years ago
Dean Camera e338cb6f32 Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint. 16 years ago
Dean Camera 2b21a1552d Remove hardcoded DOT path from all Doxygen config files. 16 years ago
Dean Camera c75f8bf223 More Doxygen fixes - ensure no undocumented function parameters. 16 years ago
Dean Camera 28343b1475 Updated bootloaders to use the new main() function layout and remove any references to the scheduler to keep them in line with the rest of the library. 16 years ago
Dean Camera ac70ddd0a1 Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments. 16 years ago
Dean Camera dd2cc7eda7 Remove outdated AVRStudio project files from demos, projects, bootloaders. Fix makefiles of ClassDriver device demos. 16 years ago
Dean Camera a67bd74e3e Minor documentation page updates. 16 years ago
Dean Camera d1e5266036 Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. 16 years ago
Dean Camera d0806c817c Deleted StdDescriptors.c, renamed USB_GetDescriptor() to CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs. 16 years ago
Dean Camera 2ee9fc7077 Rewritten event system to remove all macros, to make user code clearer. 16 years ago
Dean Camera 72c2922e38 Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code. 16 years ago
Dean Camera 253deb996f Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. 16 years ago
Dean Camera 6a8e27f7ee Fixed Endpoint_Write_Control_* functions writing more data than expected by the host, causing it to panic (thanks to Johannes Raschke). 16 years ago
Dean Camera 13935a31b9 Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke). 16 years ago
Dean Camera a504a3a010 Endpoint configuration is now refined to give better output when all configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token. 16 years ago
Dean Camera d860e9e842 USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. 16 years ago
Dean Camera e5e7eaee7a Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints). 16 years ago
Dean Camera 37b2130fb2 Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander). 16 years ago
Dean Camera d38fa49cb6 More documentation changes for better module-level documentation rather than file-level documentation. 16 years ago
Dean Camera 8f6b4ddf76 Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). 16 years ago
Dean Camera cb7884da50 Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to outdated avr-libc versions. 16 years ago
Dean Camera 6933f2e1a5 All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected. 16 years ago
Dean Camera 350141e085 Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data. 16 years ago
Dean Camera 88051e78a2 Combined Mouse, MouseViaInt and MouseFullInt demos into a single unified demo. 16 years ago
Dean Camera ceb68a0640 Corrected CDC class bootloader to fix a few bugs, changed address counter to store x2 addresses for convenience. 16 years ago
Dean Camera e611b250c1 Added extra output to makefiles to indicate the currently selected BOARD parameter. 16 years ago
Dean Camera 3803976534 Fixed incorrect/missing control status stage transfers on demos, bootloaders and applications (thanks to Nate Lawson). 16 years ago
Dean Camera 4a09da2098 Removed SetSystemClockPrescaler() macro, the clock_prescale_set() avr-libc macro has been corrected in recent avr-libc versions 16 years ago
Dean Camera 7e7124e40b Updated makefiles to reflect new dfu-ee programming target invocations (supplied by Opendous, Inc.). 16 years ago
Dean Camera 99145a8d7c Makefiles and library modified to add a new F_CLOCK constant to give the unprescaled master input clock frequency, so that the correct PLL mask can be determined even when the CPU (F_CPU) clock rate is prescaled outside the normal input range of the PLL. 16 years ago
Dean Camera c1a1b6eeec Moved all source to the trunk directory. 16 years ago