aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU/makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-31/+61
| | | | | | | | compilation errors when invalid event names are used in a project. Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.) Fix allowable F_CPU values comment in project makefiles.
* Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the ↵Dean Camera2009-08-021-1/+1
| | | | existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
* Change project makefiles so that the current target settings and not just ↵Dean Camera2009-07-281-19/+20
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR ↵Dean Camera2009-07-281-1/+1
| | | | and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
* Added HOST_STATE_AS_GPIOR1 and DEVICE_STATE_AS_GPIOR0 compile time options, ↵Dean Camera2009-07-281-0/+1
| | | | the latter of which is used in the bootloaders, to reduce code size.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-2/+2
| | | | | | USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility). Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
* Added incomplete PrinterHost demo application.Dean Camera2009-07-111-1/+1
| | | | | | Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder. Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
* Optimize vendor/product description string display code in MassStorageHost.Dean Camera2009-06-261-4/+4
| | | | | | | | Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed. Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails. Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
* Add NO_INTERNAL_SERIAL compile time option to bootloaders to prevent them ↵Dean Camera2009-06-211-0/+1
| | | | from having unneccesary size increases from unused code.
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-191-8/+8
| | | | 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.
* Move LUFA compile time options to a new section in the application makefiles ↵Dean Camera2009-06-191-5/+12
| | | | for clarity.
* Added new USB_Host_ClearPipeStall() convenience function to clear a stall ↵Dean Camera2009-06-181-4/+0
| | | | | | | | | | condition on an attached device's endpoint. Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor. Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption. Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
* Minor documentation page updates.Dean Camera2009-06-041-1/+0
| | | | | | | | Redocumented all device demos, now that they have changed over to the new USB class drivers. Added C linkage to class drivers for C++ support. Added prefixes to most of the class driver constants to prevent name clashes.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-1/+0
| | | | | | | | | | MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
* Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean Camera2009-05-221-2/+2
| | | | 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.
* Rewritten event system to remove all macros, to make user code clearer.Dean Camera2009-05-181-1/+1
| | | | | | | | Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
* Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean Camera2009-05-041-1/+1
| | | | | | problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
* Endpoint configuration is now refined to give better output when all ↵Dean Camera2009-04-241-2/+2
| | | | configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
* Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set ↵Dean Camera2009-04-231-2/+2
| | | | | | Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
* More documentation changes for better module-level documentation rather than ↵Dean Camera2009-04-171-4/+9
| | | | file-level documentation.
* Fixed CDC demo not sending an empty packet after each transfer to prevent ↵Dean Camera2009-03-231-11/+16
| | | | | | the host from buffering incomming data. Altered Project and Bootloader makefiles so that the path to the LUFA library can be set in one place.
* Added extra output to makefiles to indicate the currently selected BOARD ↵Dean Camera2009-03-161-14/+18
| | | | parameter.
* Renamed NO_CLEARSET_FEATURE_REQUEST compile time token to ↵Dean Camera2009-03-111-1/+1
| | | | NO_FEATURELESS_CONTROL_ONLY_DEVICE and expanded its function to also remove parts of the Get Status chapter 9 request, to further reduce code usage.
* Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean Camera2009-03-041-33/+2
| | | | | | | | | | (supplied by Opendous, Inc.). Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts.
* Makefiles and library modified to add a new F_CLOCK constant to give the ↵Dean Camera2009-02-261-4/+20
| | | | | | 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. Started to clean up the AVRISP Programmer project code, donated by Opendous Inc.
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+714