Commit Graph

1691 Commits

Author SHA1 Message Date
Dean Camera 39ffce948a Fixed incorrect output in the HIDReportViewer project when no device is connected (thanks to Pavel Kuzmin). 2013-02-28 15:29:05 +00:00
Dean Camera 280fc85d1b Use a slightly less insane/redundant toolchain configuration from within Atmel Studio. 2013-02-27 22:10:22 +00:00
Dean Camera fa2a8fca69 Fixed potential NULL pointer dereference in the HID Host mode Class Driver (thanks to Pavel Kuzmin). 2013-02-27 19:57:28 +00:00
Dean Camera 95fd3bf0fe Fix incorrect memory space usage on the Device Descriptor in the device mode project template. 2013-02-26 16:51:46 +00:00
Dean Camera cfa48f5987 Changed all *_SendByte() function prototypes to accept a void pointer for the input buffer (thanks to Simon Küppers) instead of a uint8_t pointer. 2013-02-24 15:46:58 +00:00
Dean Camera 2b4658de2c Fix swapped product IDs for the ATMEGA8U2 and AT90USB82 in the DFU class bootloader. 2013-02-24 14:17:46 +00:00
Dean Camera 8703edc724 Fixed swapped LED3 and LED4 masks for the Olimex-32U4 development board LED driver. 2013-02-19 21:07:55 +00:00
Dean Camera 6c531a10c0 Update author information. 2013-02-17 19:06:08 +00:00
Dean Camera 4bd36a9775 Reset XMEGA NVM read command to the symbolic NO_OPERATION constant rather than a hard-coded zero. 2013-02-13 19:50:30 +00:00
Dean Camera 300a05d6c6 Remove CPPCheck suppressions for unused functions, disable checking for them in the StaticAnalysisTest build test as it can't cope with GCC aliasing and mixed library/application code. 2013-02-05 20:57:49 +00:00
Dean Camera 7ce76f2d81 Update extension XML format to match latest XDK schema. 2013-02-02 08:53:39 +00:00
Dean Camera 3d2c39d267 Tweak Atmel Studio VSIX extension script output filename to contain the release version. 2013-01-29 21:20:12 +00:00
Dean Camera 5b089fbbf3 Whitespace fixes in the LUFA configuration files. 2013-01-29 19:59:52 +00:00
Dean Camera da42e8840d Suppress unused function parameter warnings in the USB driver. 2013-01-27 19:48:29 +00:00
Dean Camera fb18c315d0 Fix broken XMEGA USB support. 2013-01-27 19:35:40 +00:00
Dean Camera f8f8ac0b1a Fix typos in the new board hardware information header files. 2013-01-27 16:09:27 +00:00
Dean Camera 2cd4c5aaa1 Update Programmers Notepad project file to ensure it is current. 2013-01-27 15:57:53 +00:00
Dean Camera 0e64a9d0c2 Update Atmel Studio core board templates to use different templates for each driver, so that the project caption contains the architecture. Update individual board modules to include the relevant board hardware drivers. 2013-01-27 15:48:09 +00:00
Dean Camera 3929cae00e Fix typo in the board hardware info dispatch driver header file. 2013-01-27 15:40:07 +00:00
Dean Camera a05dd56239 Add code template for the new board hardware information driver. 2013-01-27 15:28:17 +00:00
Dean Camera bc8e686e51 Added new Board Hardware Information board driver. 2013-01-27 15:27:02 +00:00
Dean Camera 22b04429e6 Fixed incorrectly issuing STALL response to unsupported control request SETUP packets, rather than in the data/status stage. 2013-01-27 13:07:48 +00:00
Dean Camera 5937a134ab Fix missing references to the ANSI terminal driver codes in the USART peripheral driver module. 2013-01-27 12:00:04 +00:00
Dean Camera 0878957241 Fix device support typo preventing the XMEGA A3BU from being allowed as a device target in the Atmel Studio extension. 2013-01-26 14:56:41 +00:00
Dean Camera 2413d114b7 Upgrade Doxygen configuration files to the latest version. 2013-01-20 13:58:53 +00:00
Dean Camera 3059a33db2 Fix incorrect URLs for the Stange-ISP board. 2013-01-19 23:09:20 +00:00
Dean Camera 180180e234 Add support for the Dimex Stange-ISP programmer board (thanks to Gerhard Wesser). 2013-01-19 17:04:32 +00:00
Dean Camera 5fea1abd22 Switch extension inner archive to store compression mode and switch outer VSIX archive to maximum compression, to improve project generation speed within Atmel Studio. 2013-01-19 10:04:10 +00:00
Dean Camera 2709627970 Clean up VSIX generation scripts. 2013-01-17 20:07:19 +00:00
Dean Camera af241316de Fix oops - forgot to save changelog after previous update. 2013-01-15 19:41:59 +00:00
Dean Camera 730db924c9 Fixed bug in the TWI peripheral driver for the AVR8 devices causing incorrect failure codes to be returned in some cases (thanks to Peter K). 2013-01-15 19:34:35 +00:00
Dean Camera 7eaf3d18d2 Offline help is currently ignored in AS6 extensions - reduce extension size by omitting it from the generated extension VSIX. 2013-01-13 18:22:05 +00:00
Dean Camera 397d77cb44 Updated AVRISP-MKII Clone Programmer project so that the SCK clock period is saved in EEPROM (thanks to Gerhard Wesser). 2013-01-13 12:46:23 +00:00
Dean Camera f2c2415480 Move out dummy board module and add strong-references to it in each project, so that the correct project caption is generated inside Atmel Studio. 2013-01-12 22:23:58 +00:00
Dean Camera 184efdaba6 Add Atmel Studio keywords to all project XML files. 2013-01-12 16:54:26 +00:00
Dean Camera 33bc48fa46 Check referenced distribute build files in the project XML files, as well as C source and header files. 2013-01-11 23:10:25 +00:00
Dean Camera ed372b031c Alter VSIX build script to verify all referenced filenames in all modules and projects, rather than just the core modules. Fix discovered errors in the project XML files. 2013-01-11 22:43:17 +00:00
Dean Camera cff8a751bb Fix mistakes in the board XML module file paths. 2013-01-11 22:10:59 +00:00
Dean Camera cae97e1ac3 Add board definitions to the pseudo-board selector module in the Atmel Studio integration files. Make sure all projects require the base board module, so that it appears as a top level module in the project ASF explorer for easy board switching. 2013-01-11 22:05:12 +00:00
Dean Camera 5cdc29616c Update and add missing Atmel Studio project description XML files. 2013-01-10 21:09:53 +00:00
Dean Camera bdd74a5ed9 Fix invalid module IDs and update VSIX packing script to ensure the database cache files are always updated. 2013-01-10 20:14:38 +00:00
Dean Camera 5b5957f9ea Add and update more Atmel Studio project description XML files. 2013-01-10 20:08:31 +00:00
Dean Camera bbffe94a9d Ensure the VSIX Python script aborts if the ASF project generator is missing. 2013-01-09 20:42:14 +00:00
Dean Camera 0254a7e980 Clean up VSIX generation scripts. 2013-01-09 19:01:28 +00:00
Dean Camera 132de6ed22 Add Python script and update VSIX generator rules to pre-generate the Atmel Studio cache files required to make the extension visible. 2013-01-08 20:35:27 +00:00
Dean Camera 841bb33e36 Add ASF provider manifest file and adjust VSIX packing to compress the library contents. 2013-01-07 20:39:25 +00:00
Dean Camera 48e87c8e8f Add device and host mode template projects. 2013-01-07 16:27:33 +00:00
Dean Camera 30545fdec7 Fix up broken Studio pseudo-board configuration module, add missing USB driver files. 2013-01-07 16:27:17 +00:00
Dean Camera 3edd686a05 No Studio UI to switch boards yet, so make a dummy board that is used by all projects, and have a Select-By-Config module select the actual board drivers. 2013-01-07 16:05:21 +00:00
Dean Camera 09b2254b33 Minor clean up of maintenance and integrations scripts. 2013-01-06 19:47:30 +00:00
Dean Camera fc876438f6 Minor documentation improvements. 2013-01-06 13:41:23 +00:00
Dean Camera c50072c3c4 Use nicer LUFA documentation links in the VSIX extension, rather than direct FourWalledCubicle links. 2013-01-06 13:41:03 +00:00
Dean Camera 1da700e4fb Add licence to VSIX extension. 2013-01-05 16:07:09 +00:00
Dean Camera ab8ae60058 Fixed incorrect ordering of the linker options in the build system causing link failures in some cases. 2013-01-05 15:45:27 +00:00
Dean Camera 26015d432d Make VSIX packing quiet, increase compression to the maximum level allowed. 2013-01-05 14:01:01 +00:00
Dean Camera f644ffe873 Minor documentation improvements. 2013-01-05 13:28:14 +00:00
Dean Camera fbab860902 Add transform to update the VSIX extension version automatically when built. 2013-01-05 13:11:49 +00:00
Dean Camera 78e6e4f4c2 Add Atmel Studio Extension (VSIX) packaging files and scripts. 2013-01-05 11:18:49 +00:00
Dean Camera 56f03a793c Move out Studio Integration XML transform files to their own directory for neatness. 2013-01-03 16:16:45 +00:00
Dean Camera 5386a5a7ff Update Studio Integration XML transform files to add top-level descriptions for each transform. Update module transform to remove spacing between modules in the generated document and to remove the unused doxygen-entry-point nodes once they have been converted into online and offline documentation nodes. 2013-01-03 16:08:44 +00:00
Dean Camera 340b2dc0bc Ensure that the core USB driver source filenames are not duplicated in the LUFA_SRC_USB makefile variable of the LUFA sources build module, so that parallel builds still work. 2013-01-03 14:09:26 +00:00
Dean Camera 4167f3aa6b Split up USB source files in lufa_sources.mk build system module so that applications can pull in mode-specific USB support rather than having to compile all files even if it is known they will not be used. 2013-01-03 13:44:00 +00:00
Dean Camera 5724b28151 Minor documentation improvements. 2013-01-03 12:11:02 +00:00
Dean Camera a016942a3e Add missing include to the USB driver core mode header file. 2013-01-03 12:07:16 +00:00
Dean Camera de0df8b162 Update copyright year to 2013. 2013-01-03 11:37:33 +00:00
Dean Camera 13dd494cfe Upgrade Doxygen configuration files to the latest Doxygen version. 2013-01-03 11:32:19 +00:00
Dean Camera 2608fd1dd4 Fixed hardware race condition that could cause failed device enumerations for AVR8 and UC3 architectures (thanks to Mike Beyhs).
Fixed incorrect Minimus board LED definitions (thanks to Joonas Lahtinen).

Fixed incorrect LED masks for received data display in the Device GenericHID demos (thanks to Denys Berkovskyy).
2013-01-03 10:53:47 +00:00
Dean Camera 7d037c7db8 Remove support for devices that were not put into production. 2013-01-03 10:49:44 +00:00
Dean Camera 04d13d264c Add Atmel Studio integration files. 2013-01-03 10:40:35 +00:00
Dean Camera aa61ee1c11 Minor typo corrections. 2013-01-02 19:31:08 +00:00
Dean Camera 2957f2bc8c Minor documentation improvements. 2012-11-12 18:45:59 +00:00
Dean Camera c786d8a0b7 Remove dependency on the "bc" command line calculator tool in the bootloaders to make compiling on Windows easier with only MinGW. 2012-11-10 16:47:04 +00:00
Dean Camera 2b43a6d7df Add troubleshooting page to the build system section of the documentation. 2012-10-28 13:53:55 +00:00
Dean Camera fe49fd51b2 Increased throughput in the USBtoSerial project now that data transmission is non-blocking (thanks to Joseph Lacerte). 2012-10-20 11:31:24 +00:00
Dean Camera 72fc4a204d Clean up unnecessary CPPCheck static analysis suppression comments, force Doxygen and GCC compiler specific macros as being always undefined when performing a static analysis of the code. 2012-10-14 20:18:46 +00:00
Dean Camera 826a77e90c Fixed maximum allowed keyboard key code usage of 0x65 rather than 0xFF for the HID_DESCRIPTOR_KEYBOARD() macro (thanks to David Monro) 2012-10-14 13:58:08 +00:00
Dean Camera 9a04475c23 Fixed incorrect definitions of HID_KEYBOARD_LED_KANA, HID_KEYBOARD_SC_KEYPAD_EQUAL_SIGN and HID_KEYBOARD_SC_KEYPAD_EQUAL_SIGN_AS400 and added a missing definition for HID_KEYBOARD_SC_APPLICATION (thanks to David Monro). 2012-10-14 11:51:57 +00:00
Dean Camera eee252603b Minor documentation improvements. 2012-10-05 20:22:19 +00:00
Dean Camera 4641acc691 Add LINKER_RELAXATIONS option to the LUFA BUILD build system module. 2012-09-30 14:01:30 +00:00
Dean Camera 4cd80263ff Minor documentation improvements. Remove AS4 project generator script as it is buggy; replace with a better system in the future for both AS4 and AS6. 2012-09-23 11:09:09 +00:00
Dean Camera 217f1eebc1 Minor documentation improvements. 2012-09-22 12:30:50 +00:00
Dean Camera 9da01ee78b Fix flip-ee DFU build target accidentally erasing the target FLASH memory space. 2012-09-22 12:29:39 +00:00
Dean Camera 97046965ee Add missing preprocessor logic to the USBKEY board Dataflash driver so that DATAFLASH_TOTALCHIPS parameter for the board could theoretically be changed to 1 and have the code still work. 2012-09-21 21:16:50 +00:00
Dean Camera f3049d958e Fixed incorrect Dataflash functionality in the USBKEY board if the driver is modified for a single Dataflash chip (thanks to Jonathan Oakley). 2012-09-19 19:12:52 +00:00
Dean Camera 7fd2349e1a Minor documentation corrections. 2012-09-19 18:57:05 +00:00
Dean Camera e1803e3adb Enable sorting of the member functions in the Doxygen output, so that functions in the documentation are listed in alphabetical order rather than order of definition. 2012-09-19 18:47:13 +00:00
Dean Camera 5f6235b195 Fix missing briefs in the documentation for several modules, fix up invalid documentation references. 2012-09-19 18:43:56 +00:00
Dean Camera 7d259eac4c Rename AVR32CLK_*() clock management functions to UC3CLK_*() to be in line with the naming scheme of the rest of the platform modules. 2012-09-19 18:42:31 +00:00
Dean Camera 11fa17a7db Add architecture test for the non-standard avr-size patch, so that it is not tested on architectures where the patch isn't available. 2012-09-18 16:00:49 +00:00
Dean Camera 92ee5ad826 Enable strict prototype matching in the library Doxygen configuration file, to ensure all documentation references are as correct as possible. 2012-09-17 20:59:20 +00:00
Dean Camera a032d77d0e Fix up some missing target dependencies and output messages in the LUFA build system makefiles. 2012-09-17 20:58:47 +00:00
Dean Camera e186907e39 Fixed lengthy timeouts in the USBtoSerial project if no application on the host is consuming data (thanks to Nicolas Saugnier).
Fixed lengthy automatic data flushing in the CDC and MIDI device class drivers.
2012-09-16 18:18:07 +00:00
Dean Camera 45a56b4df7 Added support for the Xevelabs USB2AX revision 3.1 board. 2012-09-15 13:47:00 +00:00
Dean Camera 5f1428bb50 Add error message for debugging purposes to the low level AudioInputHost and AudioOutputHost demos, if the request to set the audio sample rate fails. 2012-09-14 15:19:43 +00:00
Dean Camera cd40797a4d Fixed possible rounding in the VERSION_BCD() macros for some 0.01 step increments (thanks to Oliver Zander). 2012-09-12 17:23:53 +00:00
Dean Camera 6936fcbd60 Minor build system tweaks for platform compatibility. 2012-09-11 19:48:22 +00:00
Dean Camera 5f614861a6 Minor documentation improvements. 2012-09-09 14:00:23 +00:00
Dean Camera 7a51e97c3b Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch. 2012-09-09 14:00:03 +00:00
Dean Camera 7aa8dc1de0 Add support for the Atmel UC3-A3 Xplained board. 2012-09-08 09:16:41 +00:00
Dean Camera 1adf8174cf Add additional driver documentation to the AVRISP-MKII clone programmer project. 2012-09-03 20:52:40 +00:00
Dean Camera 80dc196031 Remove incomplete Microsoft Sideshow device demo. 2012-09-01 23:50:10 +00:00
Dean Camera b9f3ff39a4 Use an early-abort in the USB_DeviceTask() function rather than wrapping the entire implementation in a conditional. 2012-09-01 22:55:56 +00:00
Dean Camera 376160e2c0 Add human readable license information and add some missing module documentation briefs. 2012-09-01 22:08:59 +00:00
Dean Camera 43658f336e Remove unused check-source rule from the BUILD build system module. 2012-08-29 20:14:20 +00:00
Dean Camera 44aea22949 Fixed logic hole breaking USB operations on a USB controller with only one supported USB mode and no USB_DEVICE_ONLY or USB_HOST_ONLY configuration token set. 2012-08-28 20:09:14 +00:00
Dean Camera e225de8a83 Fix include path of the LUFA SOURCES build module from the master build module when used in a legacy LUFA project makefile. 2012-08-27 18:53:58 +00:00
Dean Camera ff00644cb8 Minor documentation corrections. 2012-08-27 16:55:52 +00:00
Dean Camera 9eef78d21e Fixed incompatibility in the CDC class bootloader on some systems (thanks to Sylvain Munaut). 2012-08-27 16:39:06 +00:00
Dean Camera 302ec480cc Remove broken settings info output from the AVRDUDE build module. 2012-08-20 21:02:48 +00:00
Dean Camera a69a0cbeb8 Minor documentation improvements. 2012-08-20 21:02:17 +00:00
Dean Camera 1cb60c1214 Spell-check latest trunk source code. 2012-08-18 14:54:37 +00:00
Dean Camera 8d8e5c06b9 Added new doxygen_upgrade and doxygen_create targets to the DOXYGEN build system module. Clean up CORE build system module. 2012-08-18 12:07:05 +00:00
Dean Camera 7750783809 Minor documentation improvements. 2012-08-18 10:58:52 +00:00
Dean Camera 0598d622d8 Fix broken Doxygen documentation due to lack of HTML encoding. 2012-08-18 10:51:14 +00:00
Dean Camera 7375c789e1 Document build system targets. Add a rule to the BUILD module that is run if a source file does not exist to show an error to the user, rather than running the check-source rule before each build (slightly faster/more portable and the generated error is then a true make error). 2012-08-18 10:45:29 +00:00
Dean Camera 84fadb255e Clean up BUILD module info output formatting, remove explicit gcc-version target and add ability to generate assembly listings of compiled source files for debug purposes. 2012-08-16 19:17:26 +00:00
Dean Camera 1ba60b4a18 Fixed missing Win-32bit compatibility sections in the LUFA INF driver files (thanks to Christan Beharrell). 2012-08-16 19:15:18 +00:00
Dean Camera 00ab25d321 Update the BUILD build system module to early abort and display an error if needed before trying to create the OBJDIR output object file directory. 2012-08-15 16:40:25 +00:00
Dean Camera 1f1bd69b85 Minor documentation and formatting updates. 2012-08-15 16:39:44 +00:00
Dean Camera 94f5f31f10 Upgrade Doxygen configuration files, custom style CSS and DOXYGEN build module for the latest Doxygen release. 2012-08-13 05:11:27 +00:00
Dean Camera 63fb35f319 Fix incorrect LED masks for the Olimex 32U4 and Leonardo boards. 2012-08-12 18:00:04 +00:00
Dean Camera e92a9845d3 Leonardo LEDs are RX/TX active Low and USER active high, not the other way around. 2012-08-12 17:29:50 +00:00
Dean Camera 40755d4fde Fixed inverted LED driving code for the Arduino Leonardo board. Fixed inverted LEDs_GetLEDs() function implementation for the Benito, Minimus and Arduino UNO boards. 2012-08-12 17:25:39 +00:00
Dean Camera 6fb6c628fa Fix typo in the LED dispatch header, breaking builds for Leonardo board or boards without a LUFA provided LED driver. 2012-08-12 14:11:41 +00:00
Dean Camera f0e5425208 Added support for the Arduino Leonardo board. Swap Olimex 32U4 RX/TX LED masks so that it lines up with the Arduino boards. 2012-08-12 14:03:57 +00:00
Dean Camera ffbb30e0f8 Added workaround for broken VBUS detection on AVR8 devices when a bootloader starts the application via a software jump without first turning off the OTG pad (thanks to Simon Inns) 2012-08-12 13:46:24 +00:00
Dean Camera fa664f8b46 Fixed broken RESET_TOGGLES_LIBUSB_COMPAT compile time option in the AVRISP-MKII project. 2012-08-12 13:25:27 +00:00
Dean Camera 9c590e41d7 Add help text to the project makefiles to help new users get information on the improved build system. 2012-08-11 11:51:43 +00:00
Dean Camera a5abb0eb3f Clean up CORE build system mode makefile. 2012-08-11 11:45:02 +00:00
Dean Camera f1a2bca684 Minor documentation improvements. 2012-08-11 11:35:47 +00:00
Dean Camera a148d63e8b Minor documentation fixes. 2012-08-08 18:35:05 +00:00
Dean Camera fb917b7016 Revert the default DEBUG_LEVEL setting from 3 to 2, as this is apparently causing segfaults on some builds of binutils-avr. 2012-08-01 20:01:56 +00:00
Dean Camera 85f4f2c2b1 Minor code style and documentation changes. 2012-07-31 17:13:43 +00:00
Dean Camera af3c001cba Reset to placeholder version values in the library after the 120730 release. 2012-07-30 17:52:34 +00:00
Dean Camera e90eeb791d Commit for the 120730 release. 2012-07-30 16:59:38 +00:00
Dean Camera bcc45e24aa Fix broken code sample section spacing in the Doxygen documentation due to a missing line-height CSS property. 2012-07-29 15:28:54 +00:00
Dean Camera e5781d172e Upgrade Doxygen configuration files to 1.8.1.2. 2012-07-29 15:18:21 +00:00
Dean Camera 16cd7c6896 Add support for the Olimex AVR-ISP-MK2 board. 2012-07-26 19:23:15 +00:00
Dean Camera 5a0bd85330 Fix errors in some board driver LED_Disable() functions. 2012-07-26 19:16:58 +00:00
Dean Camera c90b9b507d Add missing UC3 architecture F_USB configuration checks. 2012-07-24 05:03:11 +00:00
Dean Camera 5b6bae3445 Make the bootloader generation maintenance script copy over the project license text when generation is complete. 2012-07-23 19:19:34 +00:00
Dean Camera c0da7660fc Add missing INTC_GetInterruptHandler() function prototype. 2012-07-22 14:00:58 +00:00
Dean Camera badbca5791 Fixed endianess issues in the RNDIS host class driver for UC3 devices (thanks to Andrew Chu). Fix broken build for UC3 devices when ORDERED_EP_CONFIG compile time option is set. 2012-07-22 13:32:39 +00:00
Dean Camera 8e1328dc6a Commit for the LUFA-120730-BETA release. 2012-07-16 17:07:47 +00:00
Dean Camera 5b8b5018f2 Minor documentation improvements. 2012-07-15 18:49:42 +00:00
Dean Camera 3ca025f214 Add DEBUG_FORMAT and DEBUG_LEVEL optional parameters to the BUILD module. Turn off generation of debug information when performing a validation build, and when running the build tests. 2012-07-15 09:59:35 +00:00
Dean Camera a57ed1abfb Update makefile template with the new build module filenames. 2012-07-14 16:14:17 +00:00
Dean Camera 79122426c9 Fix up main library core makefile include paths. 2012-07-14 13:24:59 +00:00
Dean Camera b7e3c86e4e Rename build system module makefiles from "lufa.MODULE.in" to "lufa_MODULE.mk" to prevent makefile from assuming the include is an old style build rule, slowing down the build process.
Prevent the BUILD module from shell-executing multiple processes to determine the avr-size flags to speed up the build, unless the size rule is invoked.

Add warnings and set warnings as errors to the SingleUSBModeTest build test makefile.
2012-07-14 13:18:13 +00:00
Dean Camera d4980e58d4 Rename hid-teensy and hid-teensy-ee targets to teensy and teensy-ee to be in line with the DFU module target names. 2012-07-14 12:59:53 +00:00
Dean Camera 1faa5ba70a Fix project makefiles - remove trailing slash from LUFA_PATH entries and the XPLAINBridge project AVRISP file include path to prevent build errors. 2012-07-11 19:57:19 +00:00
Dean Camera 3bf7ce15d5 Fix up makefile .NOTPARALLEL heuristics so that linear building is only enforced if no object folder set and the "all" target is run. Rename library "ConfigDescriptor.c" file to "ConfigDescriptors.c" to ensure that object filenames are unique. 2012-07-10 19:33:39 +00:00
Dean Camera b2920402b4 Add check and error to the BUILD module if OBJDIR option is set but object filenames are not unique. 2012-07-10 18:51:21 +00:00
Dean Camera fafb52118d Fix broken builds when OBJDIR is specified in the BUILD build system module. 2012-07-09 16:17:57 +00:00
Dean Camera 73a87a8c7b Remove unnecessary build system modules from the HID EEPROM Loader shim application makefile. 2012-07-09 16:17:20 +00:00
Dean Camera 5087e6c303 Clean up HID EEPROM loader shim application code, simplify project makefile. Ensure shim application is properly rebuild by explicitly cleaning it before requesting a rebuild. 2012-07-08 19:38:38 +00:00
Dean Camera c4da1929cd Update BUILD build system module with OBJECT_FILES variable, for additional user-specified object files. Update HID build module with a small shim application to reprogram the EEPROM of a target. 2012-07-08 10:24:39 +00:00
Dean Camera 8881e5a52d Minor documentation improvements. 2012-07-06 20:16:22 +00:00
Dean Camera f7ad67cf18 Fix LUFA_SRC_PLATFORM makefile variable in the SOURCES build module to use LUFA_ROOT_PATH rather than LUFA_PATH. 2012-07-05 18:32:50 +00:00
Dean Camera 4b8a46193e Fixed incorrect Micropendous board LED driver LEDs_SetAllLEDs() and LEDs_ChangeLEDs() function implementations (thanks to MitchJS). 2012-07-03 15:54:17 +00:00
Dean Camera 34c1b49cd1 Minor documentation improvements. 2012-07-03 15:53:44 +00:00
Dean Camera 5d9403fde4 Fix up non-relative header file include paths (thanks to Kim Blomqvist). 2012-07-01 13:20:16 +00:00
Dean Camera 2e27cc2670 Fixed CDC and DFU bootloaders API page erase and write function failures (thanks to Martin Lambert). 2012-06-29 04:55:44 +00:00
Dean Camera 579fbb68fc Fixed invalid configuration descriptor in the low level KeyboardMouse device demo (thanks to Jun Wako). 2012-06-27 19:41:30 +00:00
Dean Camera c9ba8f2a2c Clean up bootloader makefiles to make them a bit more readable. 2012-06-26 17:54:04 +00:00
Dean Camera 80fab49e1d Add "mostlyclean" makefile target to the BUILD build system module. 2012-06-26 17:37:25 +00:00
Dean Camera 3f4efc6159 Make sure dependency files are generated for assembly files too in the BUILD build system module. Minor code cleanups. 2012-06-24 15:48:30 +00:00
Dean Camera 8b985b44b5 Fix hard-coded cross-arch utility name in the BUILD build system module. 2012-06-24 13:32:39 +00:00
Dean Camera 6655815b32 Clean up DOXYGEN and SOURCES build system modules - use non-recursively evaluated make variables. 2012-06-23 17:03:01 +00:00
Dean Camera 90b6bf9e25 Clean up BUILD build system module, expose "check-source" target for use in user applications. 2012-06-23 17:01:08 +00:00
Dean Camera e5cf169469 Move out BUILD build system module start and end messages to the respective targets, as they are only used once. 2012-06-23 15:18:16 +00:00
Dean Camera bf5b49ecf5 Add ability to archive build object files into a .a library file to the BUILD build system module. 2012-06-23 15:15:52 +00:00
Dean Camera 924edb2f9a Oops - fix HID build system module documentation error. 2012-06-21 21:22:05 +00:00
Dean Camera ef06eefc8b Add svn:eol-style property on all source files where it was missing. Fix line endings of all makefile, *.c and *.h files. 2012-06-21 20:27:00 +00:00
Dean Camera 393fc71d8e Add HID bootloader build module (thanks to Stefan Hellermann). 2012-06-21 20:24:29 +00:00
Dean Camera 532b3a18f1 Add additional sanity checks to the inputs of several AVR32 platform clock management driver functions. 2012-06-21 20:21:06 +00:00
Dean Camera 8ccc2b2272 Minor build system improvements - force default shell. 2012-06-21 20:06:10 +00:00
Dean Camera cce71a74e7 Enable GCC's -pipe option by default, to build projects using intermediary logical OS pipes rather than temporary files on disk. 2012-06-19 19:36:03 +00:00
Dean Camera 7e65340c31 Revert change to assembly file comment syntax; this apparently breaks on the current AVR32 GNU assembler. 2012-06-19 19:31:01 +00:00
Dean Camera 6fa8da4e56 Minor makefile fixes - add phony targets, remove silence switch from the root makefile and add missing build modules to the ClassDriver VirtualSerial device demo. 2012-06-18 20:36:51 +00:00
Dean Camera c128d8783e Minor build system improvements - move out AVRDUDE base flags into a makefile variable, clean up BUILD module. 2012-06-17 11:40:50 +00:00
Dean Camera 751806458b Replace C style comments in assembly code with true assembly comments for consistency and to prevent it from confusing syntax highlighters. 2012-06-17 10:59:49 +00:00
Dean Camera c4ebddd27a Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms. 2012-06-12 19:49:15 +00:00
Dean Camera 3d39cbe94b Add ability to generate SYM files in the BUILD module. Clean up build system output to be slightly more human readable. 2012-06-11 18:58:14 +00:00
Dean Camera e7e45baef1 Minor documentation improvements. 2012-06-10 20:02:52 +00:00
Dean Camera c41bbf9fcc Add checks to the endpoint and pipe configure functions and fail if the requested endpoint or pipe number is above the maximum for that device. 2012-06-10 19:53:20 +00:00
Dean Camera 9ab445518a Add OBJDIR optional build variable to the BULD build system module, to allow the user project to relocate the output object and dependency files to a different directory. 2012-06-10 19:39:40 +00:00
Dean Camera fe3a5c2462 Fix up core library makefile clean target to properly remove dependency files. 2012-06-10 18:40:39 +00:00
Dean Camera 49424ce6b1 Make sure the main library core makefile does not interfere with the Doxygen module configuration if included in a legacy makefile. 2012-06-10 18:35:57 +00:00
Dean Camera fae71b5780 Minor correction to the UC3 USB clock division formula (thanks to Kim Blomqvist). 2012-06-10 15:59:09 +00:00
Dean Camera 857641b98e Update CORE build system module to convert the sorted module data lists into printable lists, substituting in a "(None)" entry when no data is available. 2012-06-10 15:37:49 +00:00
Dean Camera 44ff0af68c Add a list of module provided make variables and macros to the build system modules. 2012-06-10 15:31:03 +00:00
Dean Camera b9952f4809 Add Build System documentation to the library manual. Update CPPCHECK build system module so that it uses the SRC variable rather than just the project directory. 2012-06-10 14:59:13 +00:00
Dean Camera 21a6acff83 Add MAX_ENDPOINT_INDEX compile time option for the XMEGA devices. 2012-06-10 13:09:39 +00:00
Dean Camera 59056ce544 Add compile time warnings for experimental architectures, for those that don't read the manual. 2012-06-10 10:59:13 +00:00
Dean Camera 6dc85e4023 Minor build system sanity check fixes. 2012-06-10 10:31:38 +00:00
Dean Camera 53be52922f Change the build system build module makefiles to have a set of sanity check macros they can call to verify user data. Add additional sanity checks. 2012-06-10 08:06:13 +00:00
Dean Camera 3808f5c36d Spell check source code, fix mistakes. 2012-06-09 20:33:56 +00:00
Dean Camera cd0bd7bf90 Added new JTAG_ENABLE() macro for the AVR8 architecture. Fixed the JTAG_DISABLE() macro clearing all other bits in MCUSR when called.
Moved the XPLAIN board specific bootloader entry condition code to the Application_Jump_Check() function of the DFU bootloader, added support for the original XPLAIN board to the CDC class bootloader.
2012-06-09 13:00:56 +00:00
Dean Camera 7abaafb3ca Minor documentation changes. 2012-06-07 20:50:03 +00:00
Dean Camera 6e29655b54 Update SVN line endings property on newer source files to native. 2012-06-07 20:49:47 +00:00
Dean Camera 082537f5bd Oops - really fix logic errors in USBMode.h. 2012-06-06 19:58:51 +00:00
Dean Camera 940145ca6d Fix errors in the SingleUSBModeTest build test. Fix logic errors in USBMode.h. 2012-06-06 19:39:38 +00:00
Dean Camera 0c012ede5f Fix BUILD module so that user flags are applied after all auto-generated flags, ensure dependency files are generated with a .d extension rather than a .o.d extension, allow use of full part names ("at32uc3a0256") instead of GCC truncted part names ("uc3a0256"). 2012-06-06 19:24:22 +00:00
Dean Camera 3f82cb8dc3 Simplify AVRDUDE build module, ensure that the correct target names for FLASH and EEPROM writing are passed to the programmer tool. 2012-06-06 19:22:20 +00:00
Dean Camera 94a1b4da06 Add optional CPPCHECK_FLAGS parameter to the CPPCHECK build module, for miscellaneous user flags. Ensure the user flags are applied after all auto-generated flags. 2012-06-06 19:21:40 +00:00
Dean Camera 28a2739fa3 Improve DFU build module to use symbolic names for the target HEX and EEP filenames. 2012-06-06 19:12:21 +00:00
Dean Camera 511348fb13 Improve ATPROGRAM build module to support UC3 devices and use intelligent erase for XMEGA and UC3. 2012-06-06 19:10:52 +00:00
Dean Camera fab1678602 Fix typo in the UC3 host pipe driver. Improve library TAR export exclusion filetype filter. 2012-06-06 19:09:06 +00:00
Dean Camera 000c4c6c5c Strip out BuildTest sub-makefile contents as much as possible. Remove old UC3 build test makefile from the ModuleTest build test. Add platform module to the example LUFA makefile. 2012-06-05 18:35:05 +00:00
Dean Camera 49ca5c3c83 Add new ATPROGRAM build system module. Add ATPROGRAM and CPPCHECK modules to all application makefiles. 2012-06-04 16:31:50 +00:00
Dean Camera 32f2d59bc0 Add default project template to the Doxygen manual of the library. 2012-06-04 15:39:06 +00:00
Dean Camera 7d9467e431 Add symbol-sizes target to the BUILD build system module to print a size-sorted list of symbols from a compiled application, in decimal bytes. 2012-06-04 15:38:45 +00:00
Dean Camera 4124534144 Don't show a list of object/dependency files in the human friendly output of the BUILD module clean command. Use a unique message prefix for assembling vs. compiling. 2012-06-03 20:34:46 +00:00
Dean Camera 41b4c5b645 Add new CPPCHECK build system module for static code analysis of projects. 2012-06-03 19:43:36 +00:00
Dean Camera 00aaf1cb41 Disable inbuilt make rules in the LUFA build system for speedups when compiling many projects recursively. 2012-06-03 14:32:29 +00:00
Dean Camera 5af18ba288 Add explicit blank checks in the build system for user-set but blank variables that must not be blank. 2012-06-03 12:39:53 +00:00
Dean Camera 88425d7dab Add .PHONY targets in all build system modules. Alter BUILD module so that the existence of source files are checked before the build is started. 2012-06-03 12:17:37 +00:00
Dean Camera 9f7f595382 Add $(MAKEFILE_LIST) as a dependency on build rules that could be altered by changes to the makefiles - if the user alters the project makefile, require that all modules are rebuilt. 2012-06-03 11:00:38 +00:00
Dean Camera fc0ff2f976 Update CORE build module to print out additional help information. 2012-06-02 22:14:24 +00:00
Dean Camera 7197893006 Rename program_ee AVRDUDE module target to program-ee. Update CORE build module to print out lists one item per line, rather than all on one line. 2012-06-02 21:58:24 +00:00
Dean Camera d0737f6ad5 Fix AVRDUDE and BUILD build system module comments. 2012-06-02 21:47:16 +00:00
Dean Camera 7655205aac Clean up CORE build system module, use simple rather than recursive make variables for internal constants and $(shell) derived values. 2012-06-02 21:45:51 +00:00
Dean Camera 450ff51b7e Add platform driver dispatch header and makefile module source variable. 2012-06-02 19:56:50 +00:00
Dean Camera 0d888458e1 Fix incorrect bank mask in Endpoint_ConfigureEndpoint() for the UC3 devices. 2012-06-02 19:34:10 +00:00
Dean Camera 85579e12e4 Clean up BUILD build system module - seperate architecture utility prefix code and sanity check from the CC_FLAGS construction code. Add target to print GCC version. 2012-06-02 19:24:02 +00:00
Dean Camera 719a0e7f78 Add dependency file tracking to the BUILD build system module. 2012-06-02 16:49:28 +00:00
Dean Camera 4913678695 Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver. 2012-06-02 16:35:29 +00:00
Dean Camera 5ce60f25e6 Ensure that USB_DEVICE_ONLY or USB_HOST_ONLY is properly set for devices that physically do not support a particular mode. Fix main LUFA library makefile default target. 2012-06-02 15:50:10 +00:00
Dean Camera a9bb2d5488 Minor documentation improvements. 2012-06-02 14:14:56 +00:00
Dean Camera 6a3a5f40da Update library documentation on the standard LUFA makefile template configuration. 2012-06-02 14:10:02 +00:00
Dean Camera ecdffe2e41 Remove any variables in the optional build variable list that are marked as mandatory by one or more included build system modules in the CORE build system module. Alter DOXYGEN build system module to by default override the Doxygen configuration file stylesheet and replace it with the LUFA Doxygen stylesheet. 2012-06-02 13:14:31 +00:00
Dean Camera e24993c13a Ensure build tests use the system provided $(MAKE) variable to determine the command to invoke make, rather than a hard-coded name. Strip off excess whitespace from the list of object files when printing them out to the shell in the build system BUILD module. 2012-06-02 13:00:22 +00:00
Dean Camera fcf0b8a5bb Ensure the BULD build system module produces a LSS listing file output when the "all" target is invoked. 2012-06-02 12:38:36 +00:00
Dean Camera 59ca4ec0ec Strip trailing slash from the user-supplied LUFA_PATH directory, to prevent double slashes from appearing in the commands/output. 2012-06-02 12:29:36 +00:00
Dean Camera 7c75623e43 Add EEPROM programming target to the AVRDUDE build system module. Correct message output test for the BUILD build system module. Clean up DOXYGEN build system module logic. 2012-06-02 12:21:14 +00:00
Dean Camera fc3768733e Clean up ordering of build system module sanity checks. 2012-06-02 12:04:34 +00:00
Dean Camera 29874f6db7 Simplify build system mandatory parameter/variable sanity checks. 2012-06-02 12:00:51 +00:00
Dean Camera 276eb35d68 Don't print out full object file paths in the build system when cleaning object files. 2012-06-02 11:41:25 +00:00
Dean Camera 79ee9e755f Add build system targets for lists of mandatory and optional parameters/variables. 2012-06-02 11:38:12 +00:00
Dean Camera 924c0eb6ac Add C_FLAGS, CPP_FLAGS and ASM_FLAGS variables to the build system BUILD module to allow for language-specific compiler/assembler flags. 2012-06-02 11:18:28 +00:00
Dean Camera 8031d97a4f Oops - fix accidental negation in the BUILD module architecture detection code. Add error if an unsupported architecture is requested. 2012-06-02 10:53:35 +00:00
Dean Camera 4453133d3c Disable linker relaxations for the UC3 architecture, as this does not appear to be supported in the linker. 2012-06-02 10:50:38 +00:00
Dean Camera 2b332d3231 Replace architecture specific makefiles in the BuildTests with the new common build system makefiles. 2012-06-02 10:46:25 +00:00
Dean Camera 26cc2e9fa8 Make BUILD build system module not destroy C++ source files, and support multiple architectures. 2012-06-01 23:23:18 +00:00
Dean Camera 56e792c95b Switch over Demos, Bootloaders and Projects to the new and improved build system. 2012-06-01 22:32:43 +00:00
Dean Camera e309f42af3 Minor documentation improvements. 2012-05-29 20:03:43 +00:00
Dean Camera 8f2e82bd61 Minor cleanup to Attributes.h spacing and rename old multiple-inclusion macro guard. 2012-05-29 20:03:21 +00:00
Dean Camera 851fcd0c2f Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header. 2012-05-29 20:01:04 +00:00
Dean Camera c3dd6ac781 AppConfigHeaders: Merge in latest trunk. 2012-05-27 16:48:19 +00:00