Dean Camera [Tue, 26 Jun 2012 17:54:04 +0000 (17:54 +0000)]
Clean up bootloader makefiles to make them a bit more readable.
Dean Camera [Tue, 26 Jun 2012 17:37:25 +0000 (17:37 +0000)]
Add "mostlyclean" makefile target to the BUILD build system module.
Dean Camera [Sun, 24 Jun 2012 19:38:37 +0000 (19:38 +0000)]
Don't enforce silent output on submake - pass down the value set by the user implicitly instead.
Dean Camera [Sun, 24 Jun 2012 15:48:30 +0000 (15:48 +0000)]
Make sure dependency files are generated for assembly files too in the BUILD build system module. Minor code cleanups.
Dean Camera [Sun, 24 Jun 2012 13:32:39 +0000 (13:32 +0000)]
Fix hard-coded cross-arch utility name in the BUILD build system module.
Dean Camera [Sat, 23 Jun 2012 17:03:01 +0000 (17:03 +0000)]
Clean up DOXYGEN and SOURCES build system modules - use non-recursively evaluated make variables.
Dean Camera [Sat, 23 Jun 2012 17:02:15 +0000 (17:02 +0000)]
Clean up BuildTest and Maintenance makefiles - use non-recursively evaluated make variables.
Dean Camera [Sat, 23 Jun 2012 17:01:08 +0000 (17:01 +0000)]
Clean up BUILD build system module, expose "check-source" target for use in user applications.
Dean Camera [Sat, 23 Jun 2012 15:18:16 +0000 (15:18 +0000)]
Move out BUILD build system module start and end messages to the respective targets, as they are only used once.
Dean Camera [Sat, 23 Jun 2012 15:15:52 +0000 (15:15 +0000)]
Add ability to archive build object files into a .a library file to the BUILD build system module.
Dean Camera [Thu, 21 Jun 2012 21:22:05 +0000 (21:22 +0000)]
Oops - fix HID build system module documentation error.
Dean Camera [Thu, 21 Jun 2012 20:27:00 +0000 (20:27 +0000)]
Add svn:eol-style property on all source files where it was missing. Fix line endings of all makefile, *.c and *.h files.
Dean Camera [Thu, 21 Jun 2012 20:24:29 +0000 (20:24 +0000)]
Add HID bootloader build module (thanks to Stefan Hellermann).
Dean Camera [Thu, 21 Jun 2012 20:21:06 +0000 (20:21 +0000)]
Add additional sanity checks to the inputs of several AVR32 platform clock management driver functions.
Dean Camera [Thu, 21 Jun 2012 20:06:10 +0000 (20:06 +0000)]
Minor build system improvements - force default shell.
Dean Camera [Tue, 19 Jun 2012 19:36:03 +0000 (19:36 +0000)]
Enable GCC's -pipe option by default, to build projects using intermediary logical OS pipes rather than temporary files on disk.
Dean Camera [Tue, 19 Jun 2012 19:35:12 +0000 (19:35 +0000)]
Add extra human readable output to the build test makefile scripts.
Dean Camera [Tue, 19 Jun 2012 19:31:01 +0000 (19:31 +0000)]
Revert change to assembly file comment syntax; this apparently breaks on the current AVR32 GNU assembler.
Dean Camera [Mon, 18 Jun 2012 20:36:51 +0000 (20:36 +0000)]
Minor makefile fixes - add phony targets, remove silence switch from the root makefile and add missing build modules to the ClassDriver VirtualSerial device demo.
Dean Camera [Sun, 17 Jun 2012 15:35:17 +0000 (15:35 +0000)]
Oops - forgot to fix up the command timeout reset code in the AVRISP-MKII clone programmer.
Dean Camera [Sun, 17 Jun 2012 12:55:50 +0000 (12:55 +0000)]
Re-add in DFU bootloader Manufacturer string, as the dfu-programmer utility breaks if it is not present.
Dean Camera [Sun, 17 Jun 2012 11:40:50 +0000 (11:40 +0000)]
Minor build system improvements - move out AVRDUDE base flags into a makefile variable, clean up BUILD module.
Dean Camera [Sun, 17 Jun 2012 10:59:49 +0000 (10:59 +0000)]
Replace C style comments in assembly code with true assembly comments for consistency and to prevent it from confusing syntax highlighters.
Dean Camera [Fri, 15 Jun 2012 16:02:19 +0000 (16:02 +0000)]
Modify CDC and DFU bootloaders so that the various BootloaderAPI components are in unique sections and mapped explicitly - this will ensure the API and signature entries are always linked at the correct explicit address.
Dean Camera [Tue, 12 Jun 2012 19:49:15 +0000 (19:49 +0000)]
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
Dean Camera [Tue, 12 Jun 2012 17:10:24 +0000 (17:10 +0000)]
Remove unused makefile macro from the DFU bootloader.
Dean Camera [Mon, 11 Jun 2012 18:58:14 +0000 (18:58 +0000)]
Add ability to generate SYM files in the BUILD module. Clean up build system output to be slightly more human readable.
Dean Camera [Sun, 10 Jun 2012 20:08:02 +0000 (20:08 +0000)]
Fix broken StaticAnalysisTest build test due to the changes to the CPPCHECK build module.
Dean Camera [Sun, 10 Jun 2012 20:02:52 +0000 (20:02 +0000)]
Minor documentation improvements.
Dean Camera [Sun, 10 Jun 2012 19:53:20 +0000 (19:53 +0000)]
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.
Dean Camera [Sun, 10 Jun 2012 19:39:40 +0000 (19:39 +0000)]
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.
Dean Camera [Sun, 10 Jun 2012 18:40:39 +0000 (18:40 +0000)]
Fix up core library makefile clean target to properly remove dependency files.
Dean Camera [Sun, 10 Jun 2012 18:35:57 +0000 (18:35 +0000)]
Make sure the main library core makefile does not interfere with the Doxygen module configuration if included in a legacy makefile.
Dean Camera [Sun, 10 Jun 2012 15:59:09 +0000 (15:59 +0000)]
Minor correction to the UC3 USB clock division formula (thanks to Kim Blomqvist).
Dean Camera [Sun, 10 Jun 2012 15:37:49 +0000 (15:37 +0000)]
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.
Dean Camera [Sun, 10 Jun 2012 15:31:03 +0000 (15:31 +0000)]
Add a list of module provided make variables and macros to the build system modules.
Dean Camera [Sun, 10 Jun 2012 14:59:13 +0000 (14:59 +0000)]
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.
Dean Camera [Sun, 10 Jun 2012 13:10:07 +0000 (13:10 +0000)]
Minor tweak to the BuildTest master makefile for better console output.
Dean Camera [Sun, 10 Jun 2012 13:09:39 +0000 (13:09 +0000)]
Add MAX_ENDPOINT_INDEX compile time option for the XMEGA devices.
Dean Camera [Sun, 10 Jun 2012 11:42:11 +0000 (11:42 +0000)]
Fix BoardDriverTest build test clean target.
Dean Camera [Sun, 10 Jun 2012 10:59:13 +0000 (10:59 +0000)]
Add compile time warnings for experimental architectures, for those that don't read the manual.
Dean Camera [Sun, 10 Jun 2012 10:31:38 +0000 (10:31 +0000)]
Minor build system sanity check fixes.
Dean Camera [Sun, 10 Jun 2012 08:06:13 +0000 (08:06 +0000)]
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.
Dean Camera [Sat, 9 Jun 2012 20:33:56 +0000 (20:33 +0000)]
Spell check source code, fix mistakes.
Dean Camera [Sat, 9 Jun 2012 19:47:14 +0000 (19:47 +0000)]
Fix RESET_TOGGLES_LIBUSB_COMPAT option not being applied in the AVRISP-MKII descriptors.
Dean Camera [Sat, 9 Jun 2012 13:39:56 +0000 (13:39 +0000)]
Clean up bootloader makefile comments.
Dean Camera [Sat, 9 Jun 2012 13:00:56 +0000 (13:00 +0000)]
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.
Dean Camera [Thu, 7 Jun 2012 20:50:03 +0000 (20:50 +0000)]
Minor documentation changes.
Dean Camera [Thu, 7 Jun 2012 20:49:47 +0000 (20:49 +0000)]
Update SVN line endings property on newer source files to native.
Dean Camera [Wed, 6 Jun 2012 19:58:51 +0000 (19:58 +0000)]
Oops - really fix logic errors in USBMode.h.
Dean Camera [Wed, 6 Jun 2012 19:39:38 +0000 (19:39 +0000)]
Fix errors in the SingleUSBModeTest build test. Fix logic errors in USBMode.h.
Dean Camera [Wed, 6 Jun 2012 19:24:22 +0000 (19:24 +0000)]
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").
Dean Camera [Wed, 6 Jun 2012 19:22:20 +0000 (19:22 +0000)]
Simplify AVRDUDE build module, ensure that the correct target names for FLASH and EEPROM writing are passed to the programmer tool.
Dean Camera [Wed, 6 Jun 2012 19:21:40 +0000 (19:21 +0000)]
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.
Dean Camera [Wed, 6 Jun 2012 19:12:21 +0000 (19:12 +0000)]
Improve DFU build module to use symbolic names for the target HEX and EEP filenames.
Dean Camera [Wed, 6 Jun 2012 19:10:52 +0000 (19:10 +0000)]
Improve ATPROGRAM build module to support UC3 devices and use intelligent erase for XMEGA and UC3.
Dean Camera [Wed, 6 Jun 2012 19:09:06 +0000 (19:09 +0000)]
Fix typo in the UC3 host pipe driver. Improve library TAR export exclusion filetype filter.
Dean Camera [Tue, 5 Jun 2012 18:35:05 +0000 (18:35 +0000)]
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.
Dean Camera [Mon, 4 Jun 2012 17:09:44 +0000 (17:09 +0000)]
Fix typos in recursive make rules.
Dean Camera [Mon, 4 Jun 2012 16:31:50 +0000 (16:31 +0000)]
Add new ATPROGRAM build system module. Add ATPROGRAM and CPPCHECK modules to all application makefiles.
Dean Camera [Mon, 4 Jun 2012 15:39:06 +0000 (15:39 +0000)]
Add default project template to the Doxygen manual of the library.
Dean Camera [Mon, 4 Jun 2012 15:38:45 +0000 (15:38 +0000)]
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.
Dean Camera [Mon, 4 Jun 2012 15:38:05 +0000 (15:38 +0000)]
Add emergency aborts to the recursive makefiles to prevent system failures due to infinite recursion if something happens while building the project lists.
Dean Camera [Sun, 3 Jun 2012 20:34:46 +0000 (20:34 +0000)]
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.
Dean Camera [Sun, 3 Jun 2012 20:06:21 +0000 (20:06 +0000)]
Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
Dean Camera [Sun, 3 Jun 2012 19:44:15 +0000 (19:44 +0000)]
Switch StaticAnalysisTest build test to use the new build system CPPCHECK module. Update additional build tests to all include the core build system module.
Dean Camera [Sun, 3 Jun 2012 19:43:36 +0000 (19:43 +0000)]
Add new CPPCHECK build system module for static code analysis of projects.
Dean Camera [Sun, 3 Jun 2012 15:20:51 +0000 (15:20 +0000)]
Quiet initial recursive makefile invocation for all projects.
Dean Camera [Sun, 3 Jun 2012 15:04:10 +0000 (15:04 +0000)]
Use auto-detection of project directories for the demo, project and bootloader makefiles.
Dean Camera [Sun, 3 Jun 2012 14:32:29 +0000 (14:32 +0000)]
Disable inbuilt make rules in the LUFA build system for speedups when compiling many projects recursively.
Dean Camera [Sun, 3 Jun 2012 12:39:53 +0000 (12:39 +0000)]
Add explicit blank checks in the build system for user-set but blank variables that must not be blank.
Dean Camera [Sun, 3 Jun 2012 12:17:37 +0000 (12:17 +0000)]
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.
Dean Camera [Sun, 3 Jun 2012 11:00:38 +0000 (11:00 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 22:14:24 +0000 (22:14 +0000)]
Update CORE build module to print out additional help information.
Dean Camera [Sat, 2 Jun 2012 21:58:24 +0000 (21:58 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 21:47:16 +0000 (21:47 +0000)]
Fix AVRDUDE and BUILD build system module comments.
Dean Camera [Sat, 2 Jun 2012 21:45:51 +0000 (21:45 +0000)]
Clean up CORE build system module, use simple rather than recursive make variables for internal constants and $(shell) derived values.
Dean Camera [Sat, 2 Jun 2012 19:56:50 +0000 (19:56 +0000)]
Add platform driver dispatch header and makefile module source variable.
Dean Camera [Sat, 2 Jun 2012 19:34:10 +0000 (19:34 +0000)]
Fix incorrect bank mask in Endpoint_ConfigureEndpoint() for the UC3 devices.
Dean Camera [Sat, 2 Jun 2012 19:24:02 +0000 (19:24 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 16:49:28 +0000 (16:49 +0000)]
Add dependency file tracking to the BUILD build system module.
Dean Camera [Sat, 2 Jun 2012 16:35:29 +0000 (16:35 +0000)]
Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver.
Dean Camera [Sat, 2 Jun 2012 15:50:10 +0000 (15:50 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 14:14:56 +0000 (14:14 +0000)]
Minor documentation improvements.
Dean Camera [Sat, 2 Jun 2012 14:10:02 +0000 (14:10 +0000)]
Update library documentation on the standard LUFA makefile template configuration.
Dean Camera [Sat, 2 Jun 2012 13:14:31 +0000 (13:14 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 13:00:55 +0000 (13:00 +0000)]
Remove space padding on the current time when automatically generating AVR Studio 4 project creation/modification timestamps.
Dean Camera [Sat, 2 Jun 2012 13:00:22 +0000 (13:00 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 12:38:36 +0000 (12:38 +0000)]
Ensure the BULD build system module produces a LSS listing file output when the "all" target is invoked.
Dean Camera [Sat, 2 Jun 2012 12:29:36 +0000 (12:29 +0000)]
Strip trailing slash from the user-supplied LUFA_PATH directory, to prevent double slashes from appearing in the commands/output.
Dean Camera [Sat, 2 Jun 2012 12:21:14 +0000 (12:21 +0000)]
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.
Dean Camera [Sat, 2 Jun 2012 12:04:34 +0000 (12:04 +0000)]
Clean up ordering of build system module sanity checks.
Dean Camera [Sat, 2 Jun 2012 12:00:51 +0000 (12:00 +0000)]
Simplify build system mandatory parameter/variable sanity checks.
Dean Camera [Sat, 2 Jun 2012 11:41:25 +0000 (11:41 +0000)]
Don't print out full object file paths in the build system when cleaning object files.
Dean Camera [Sat, 2 Jun 2012 11:38:12 +0000 (11:38 +0000)]
Add build system targets for lists of mandatory and optional parameters/variables.
Dean Camera [Sat, 2 Jun 2012 11:18:28 +0000 (11:18 +0000)]
Add C_FLAGS, CPP_FLAGS and ASM_FLAGS variables to the build system BUILD module to allow for language-specific compiler/assembler flags.
Dean Camera [Sat, 2 Jun 2012 10:53:35 +0000 (10:53 +0000)]
Oops - fix accidental negation in the BUILD module architecture detection code. Add error if an unsupported architecture is requested.
Dean Camera [Sat, 2 Jun 2012 10:50:38 +0000 (10:50 +0000)]
Disable linker relaxations for the UC3 architecture, as this does not appear to be supported in the linker.
Dean Camera [Sat, 2 Jun 2012 10:46:25 +0000 (10:46 +0000)]
Replace architecture specific makefiles in the BuildTests with the new common build system makefiles.
Dean Camera [Fri, 1 Jun 2012 23:23:18 +0000 (23:23 +0000)]
Make BUILD build system module not destroy C++ source files, and support multiple architectures.