aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/CDC/makefile
Commit message (Collapse)AuthorAgeFilesLines
...
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-191-58/+39
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Change over all makefiles to use C99 standards mode, rather than C99 + GNU ↵Dean Camera2010-07-181-1/+1
| | | | Extensions.
* Disable strict aliasing explicitly in the project makefiles, as this is ↵Dean Camera2010-07-151-0/+1
| | | | 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.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-17/+6
| | | | | | bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
* Add missing clean_doxygen phony targets to the project makefiles.Dean Camera2010-07-121-1/+1
|
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-021-0/+1
| | | | | | 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. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Small tweaks to ConfigDescriptor.c/.h to ensure pointers use the correct ↵Dean Camera2010-05-301-1/+3
| | | | type, and to remove const attribute from the descriptor comparator callback function pointer type define, and into the function prototype instead.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-712/+712
| | | | correctly converted to the target system's native end of line style.
* Change over instances of "make" in the makefiles to "$(MAKE)" to allow for ↵Dean Camera2010-05-071-1/+1
| | | | the make tool to be overridden.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-2/+2
| | | | LowLevel directory as it is hardware-dependent.
* Removed invalid dfu and flip related targets from the bootloaders - ↵Dean Camera2010-04-131-35/+2
| | | | bootloaders can only be replaced with an external programmer.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-1/+1
| | | | | | 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.
* Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.Dean Camera2009-12-201-0/+2
|
* Fix invalid Event name rule in demo/project makefiles.Dean Camera2009-10-161-1/+1
|
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-091-1/+0
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Add in new invalid event hook check targets to project makefiles to produce ↵Dean Camera2009-09-061-30/+60
| | | | | | | | 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.
* Added beginnings of a new AVRISP-MKII clone project.Dean Camera2009-08-171-1/+1
| | | | | | Added new Endpoint_SetEndpointDirection() macro to set the current endpoint direction for bidirectional endpoints. Renamed internal USB_INT_ENDPOINT_SETUP macro to USB_INT_RXSTPI to fit in with the rest of the interrupt vector macros.
* 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-5/+5
| | | | | | | | 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-7/+7
| | | | 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/+11
| | | | 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.
* 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-10/+17
| | | | parameter.
* Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean Camera2009-03-041-32/+0
| | | | | | | | | | (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-3/+19
| | | | | | 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/+711