2387 Commits

Author SHA1 Message Date
Dean Camera
d887c0c73c Fix typos in recursive make rules. 2012-06-04 17:09:44 +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
a57c4eabae Add emergency aborts to the recursive makefiles to prevent system failures due to infinite recursion if something happens while building the project lists. 2012-06-04 15:38:05 +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
60a2147a51 Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH. 2012-06-03 20:06:21 +00:00
Dean Camera
c7344c22ac Switch StaticAnalysisTest build test to use the new build system CPPCHECK module. Update additional build tests to all include the core build system module. 2012-06-03 19:44:15 +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
8f8f347891 Quiet initial recursive makefile invocation for all projects. 2012-06-03 15:20:51 +00:00
Dean Camera
316cae29b5 Use auto-detection of project directories for the demo, project and bootloader makefiles. 2012-06-03 15:04:10 +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
0b262c569f Remove space padding on the current time when automatically generating AVR Studio 4 project creation/modification timestamps. 2012-06-02 13:00:55 +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
d4684b29b9 Ensure the DFU bootloader disables and clears the activity LED toggle timer when a soft-reset to application space is used. 2012-05-29 19:40:05 +00:00
Dean Camera
2ff1370221 Merge in AppConfigHeaders branch to trunk, altering all projects and demos to use configuration headers for application and LUFA compile time settings, rather than defines in the project makefiles. 2012-05-27 19:12:07 +00:00
Dean Camera
1e42f7bd46 AppConfigHeaders: Add missing AppConfig.h file includes. 2012-05-27 18:31:53 +00:00
Dean Camera
0389288e27 AppConfigHeaders: Merge in latest trunk. 2012-05-27 17:24:09 +00:00