aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Magstripe/makefile
Commit message (Collapse)AuthorAgeFilesLines
* 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-1/+2
| | | | 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-18/+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/+2
|
* 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.
* 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.
* New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which ↵Dean Camera2010-02-041-2/+2
| | | | | | 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.
* 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-2/+1
| | | | | | 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-31/+49
| | | | | | | | 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.
* Replace -finline-limit with -fno-inline-small-functions in project makefiles.Dean Camera2009-08-301-1/+1
|
* 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-39/+21
| | | | | | the board selection is printed during the build process. Fix warning in AudioOutput demos when AUDIO_OUT_STEREO output mode is selected.
* Added new TOTAL_NUM_CONFIGURATIONS option, removed ↵Dean Camera2009-07-161-1/+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.
* Fix makefiles -- the auto-addition of -D switches to each LUFA compile time ↵Dean Camera2009-06-191-6/+6
| | | | 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-4/+9
| | | | for clarity.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+1
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Removed new Start of Frame event from the library; performance suffered far ↵Dean Camera2009-06-021-1/+1
| | | | | | too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-2/+1
| | | | | | | | | | 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.
* Moved out each demos' functionality library files (e.g. Ring Buffer library) ↵Dean Camera2009-05-221-1/+1
| | | | to /Lib directories for a better directory structure.
* Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean Camera2009-05-221-2/+1
| | | | 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/+1
| | | | configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
* Applied STATIC_ENDPOINT_CONFIGURATION and FIXED_CONTROL_SIZE tokens to all ↵Dean Camera2009-04-221-0/+1
| | | | Device mode demos to reduce binary size.
* 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-13/+18
| | | | | | 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.
* Fixed broken Magstripe project and TeensyHID bootloader.Dean Camera2009-03-171-2/+2
|
* Added extra output to makefiles to indicate the currently selected BOARD ↵Dean Camera2009-03-161-7/+13
| | | | parameter.
* Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean Camera2009-03-041-4/+5
| | | | | | | | | | (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-2/+17
| | | | | | 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/+712