Commit Graph

1426 Commits

Author SHA1 Message Date
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