Commit Graph

344 Commits

Author SHA1 Message Date
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 603a7d86e9 Add human readable definitions for the AVR109 protocol commands in the CDC class bootloader. 2012-08-27 16:38:00 +00:00
Dean Camera 1cb60c1214 Spell-check latest trunk source code. 2012-08-18 14:54:37 +00:00
Dean Camera 3e50a59486 Fix up non-unique DFU/CDC bootloader signatures. 2012-08-16 19:18:07 +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 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 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 e5781d172e Upgrade Doxygen configuration files to 1.8.1.2. 2012-07-29 15:18:21 +00:00
Dean Camera db3f8565b8 Enhance bootloader descriptor strings in the CDC and DFU bootloaders. 2012-07-29 15:14:56 +00:00
Dean Camera 5b8b5018f2 Minor documentation improvements. 2012-07-15 18:49:42 +00:00
Dean Camera 3c1b28cf5f Use immediate variable expansion in the second-deepest level makefile scripts to prevent multiple evaluation of the PROJECT_DIRECTORIES variable. 2012-07-14 23:04:37 +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 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 7f29c468d7 Slightly better method of recursive make - use proper make dependencies to allow for parallel builds. 2012-07-10 18:30:41 +00:00
Dean Camera 56d368f2de Reduce bootloader magic key to 16 bits to save FLASH space. 2012-07-07 15:30:35 +00:00
Dean Camera 10944d9ddf Update CDC driver INF files so that they should work even on systems without usbser.sys extracted by default (see MS KB entry 837637). 2012-07-07 13:43:15 +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 c9ba8f2a2c Clean up bootloader makefiles to make them a bit more readable. 2012-06-26 17:54:04 +00:00
Dean Camera aba33a0334 Don't enforce silent output on submake - pass down the value set by the user implicitly instead. 2012-06-24 19:38:37 +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 7d83e10b7f Re-add in DFU bootloader Manufacturer string, as the dfu-programmer utility breaks if it is not present. 2012-06-17 12:55: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 4da2ba9f1c 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. 2012-06-15 16:02:19 +00:00
Dean Camera deb6fce7bc Remove unused makefile macro from the DFU bootloader. 2012-06-12 17:10:24 +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 61b5740a25 Clean up bootloader makefile comments. 2012-06-09 13:39: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 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 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 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 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 56e792c95b Switch over Demos, Bootloaders and Projects to the new and improved build system. 2012-06-01 22:32:43 +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 c3dd6ac781 AppConfigHeaders: Merge in latest trunk. 2012-05-27 16:48:19 +00:00
Dean Camera 7d65c54eef Remove legacy AS4 project files, now that they can be automatically generated by the new maintenance script. 2012-05-27 16:36:37 +00:00
Dean Camera b5e850ffd6 Add missing documentation to custom BuiltTest hardware mapping files. Fix up old copyright years on some makefiles. 2012-05-27 14:42:30 +00:00
Dean Camera 5ec9d04bca AppConfigHeaders: Merge in latest trunk. 2012-05-21 20:48:57 +00:00
Dean Camera 615d34f1b7 Turn off watchdog before jumping to the user application in the DFU and CDC based bootloaders, for the specific case of /HWB being low during reset (where the bootloader will re-enter). 2012-05-21 16:37:34 +00:00
Dean Camera 063474561d Merge in latest trunk. 2012-05-20 15:43:51 +00:00
Dean Camera f2ae4dc255 Upgrade Doxygen configuration files for Doxygen 1.8.1, fix broken stylesheet and footer HTML, add explicit spacing into documentation code fragments to prevent Doxygen from removing empty lines in the output. 2012-05-20 10:55:59 +00:00
Dean Camera c31fdbd03e Minor documentation adjustments to the demos, projects and bootloaders to ensure correct formatting of application device support. 2012-05-18 18:39:35 +00:00
Dean Camera 8cfb3d9f09 Update project Doxygen and makefiles so that the resulting project documentation hides the unused version value, and uses the same HTML CSS stylesheet as the library core. 2012-05-17 21:08:53 +00:00
Dean Camera cca24c8dc9 Update CDC and DFU class bootloader documentation with a device memory map illustration. 2012-05-17 20:07:16 +00:00
Dean Camera cb9e7392c5 AppConfigHeaders: Make sure that in applications using an AppConfig.h configuration file, all application headers include the configuration file. 2012-05-15 19:51:41 +00:00
Dean Camera e9e6730d49 AppConfigHeaders: Move out the last of the demo/app configurations into new AppConfig.h header files. 2012-05-13 21:01:23 +00:00
Dean Camera 5cba3ce3a4 AppConfigHeaders: Merge in latest trunk. 2012-05-13 13:13:45 +00:00
Dean Camera 96fd39eda8 Fixed CDC and DFU bootloaders API function offsets incorrect on some devices (thanks to Rod DeMay). 2012-05-13 10:13:24 +00:00
Dean Camera 40fd566dba AppConfigHeaders: Fix broken documentation in the HID class bootloader. 2012-05-12 16:21:17 +00:00
Dean Camera 70fd816b09 Fix broken documentation in the HID class bootloader. 2012-05-12 16:20:21 +00:00
Dean Camera 926a83bbc1 AppConfigHeaders: Update several user projects to use configuration header files, rather than makefile defines. 2012-05-10 20:11:47 +00:00
Dean Camera 74fb2d895e AppConfigHeaders: Update bootloaders to use configuration header files, rather than makefile defines. 2012-05-10 19:42:42 +00:00
Dean Camera b601043e17 Fix broken documentation in the CDC and DFU class bootloaders due to Doxygen's confusion over the ATTR_NO_INIT attribute macro. 2012-05-10 19:33:38 +00:00
Dean Camera 359fbfe14d Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros. 2012-05-10 19:24:58 +00:00
Dean Camera 590d9b5ff8 Increased endpoint polling interval for all demos and projects to 5ms, as 1ms was causing some enumeration issues on some machines (thanks to Riku Salminen). 2012-05-06 11:10:25 +00:00
Dean Camera 430973263b Fix bootloaders to make the StaticAnalysis build test happy. 2012-05-05 21:27:07 +00:00
Dean Camera 46d511c021 Fixed incorrect DFU version number reported to the host in the DFU bootloader descriptors. Fixed incorrect version hundredths value encoding in VERSION_BCD() macro (thanks to Georg Glock). 2012-05-05 15:25:27 +00:00
Dean Camera 04740d680e The library bootloaders will now correctly start the user application after a watchdog-based application start, even if the /HWB line is held low externally during the reset phase. 2012-04-29 17:15:06 +00:00
Dean Camera cfa399a533 Remove an unused variable in the HID loader CLI application. Update known issues list. 2012-04-19 19:55:16 +00:00
Dean Camera 1ab76048c9 Alter the bootloader section sizes to all be 8KB, to be in line with the default AT90USB1287 fuses, as that is the default target MCU. Add instructions to the documentation to clarify this for the user (thanks to Georg Glock). 2012-04-18 18:59:40 +00:00
Dean Camera 02120ebc38 Minor documentation improvements. 2012-04-15 13:51:11 +00:00
Dean Camera 47f6a35013 Reintegrate the FullEPAddresses development branch into trunk. 2012-04-14 14:41:17 +00:00
Dean Camera e8570c4a37 Fixed CDC and DFU bootloaders failing to compile when the bootloader section size is 8KB or more (thanks to Georg Glock). 2012-04-14 10:09:45 +00:00
Dean Camera 3211b35a4c Make Doxygen fail for any Doxygen output other than unsupported tags (as these are somewhat benign).
Improve exclusion list for the main library export_tar rule to exclude any compiled library files from the export.
2012-04-09 10:04:40 +00:00
Dean Camera 55b315b00f Clean up Bootloader API tables. 2012-04-01 13:55:49 +00:00
Dean Camera 7cac5e22d7 Added additional bootloader API data to expose the bootloader start address and class to the DFU and CDC class bootloaders. 2012-03-29 19:35:40 +00:00
Dean Camera 00b6b0140f Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos. 2012-03-25 12:12:08 +00:00
Dean Camera d5291c2e10 Only abort Doxygen documentation generation if a non-unsupported tag warning is encountered. 2012-03-09 22:36:56 +00:00
Dean Camera 663f9bd5f5 Update Doxygen documentation build scripts to fail if any warnings are generated. 2012-03-09 21:28:44 +00:00
Dean Camera 62c5a14fbb Fix corrupt Doxygen configuration files, update project names. 2012-03-08 19:17:11 +00:00
Dean Camera eb2431ecd8 Update Doxygen configuration files to disable Markdown support. 2012-03-08 16:59:55 +00:00
Dean Camera dba5004684 Update Doxygen configuration files for all projects. 2012-03-07 19:11:15 +00:00
Dean Camera 9ffeac6992 Update code and StaticAnlysisTest so that missingInclude warnings do not have to be suppressed, and so that all code except for third party libraries can be checked.
Update SingleUSBModeTest makefile to separate out the messages from the test commands.
2012-03-04 16:15:59 +00:00
Dean Camera bb85d083a7 Fix warnings and errors found by the new cppcheck provided static code analysis. 2012-02-28 20:40:24 +00:00
Dean Camera 63a65a9598 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation. 2012-02-24 20:26:19 +00:00
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012. 2012-02-04 22:38:44 +00:00
Dean Camera 2c806f6cee Update file header copyrights for 2012. 2012-02-04 22:32:30 +00:00
Dean Camera df33278d91 Minor documentation corrections. 2012-02-04 15:17:49 +00:00
Dean Camera 43a3350981 Add API support signature to the CDC and DFU class bootloaders, so that the application can detect the bootloader's API support. 2012-02-03 21:49:36 +00:00
Dean Camera fc4d3ab400 Minor documentation improvements. 2012-02-01 21:28:25 +00:00
Dean Camera 401ff1cef1 Add missing reference to the BootloaderAPI.S source file in the DFU and CDC class bootloader AVRStudio 4 project files. 2012-01-29 14:42:18 +00:00
Dean Camera 9f99c7fa03 Fixed DFU class bootloader not resetting the LED pins as high impedance inputs when a software jump to the user applications is requested. 2012-01-29 14:37:30 +00:00
Dean Camera bc3db793e9 Minor bootloader tweaks; make some functions static where possible to reduce the compiled binary size, add additional comments to the makefiles. 2012-01-15 14:07:14 +00:00
Dean Camera 3038ea1c6e USB_CONFIG_ATTR_BUSPOWERED constant renamed to USB_CONFIG_ATTR_RESERVED, as this was misnamed (thanks to NXP Semiconductors). 2012-01-02 05:43:23 +00:00
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 2011-12-23 01:51:39 +00:00
Dean Camera ecba8bcecf Fix incorrect Capabilities value in the CDC class Bootloader descriptors. 2011-12-01 08:40:14 +00:00
Dean Camera b0a258722d Add missing const qualifier to bootloader API function parameters. 2011-11-28 13:14:15 +00:00
Dean Camera 075538abb9 Use the proper "-Wl,--undefined=BootloaderAPI_JumpTable" linker command line parameter in the bootloaders to ensure that the API jump tables are not discarded, rather than the previous C volatile pointer hack (thanks to Opendous Inc.). 2011-11-23 14:09:01 +00:00
Dean Camera e30be658c9 Add missing SVN eol-style property to ensure that source code line endings and converted to the native values on checkout. 2011-11-09 23:35:16 +00:00
Dean Camera 1a4a26271e Added User Application APIs to the CDC and DFU class bootloaders. 2011-10-11 06:20:18 +00:00
Dean Camera b5682f2c44 Add project name to the Doxygen makefile target output. 2011-09-21 06:45:09 +00:00
Dean Camera 110711598a Removed the ENDPOINT_DESCRIPTOR_DIR_* macros in favour of the shorter ENDPOINT_DIR_* macros, which can now be used with both Endpoint_ConfigureEndpoint() and in the device descriptors. 2011-07-19 07:02:19 +00:00
Dean Camera 0c2ad9eb34 Add missing SVN eol-style property to files where it was missing. 2011-07-15 08:46:08 +00:00
Dean Camera 08eeceeb5f Remove custom CDC class descriptor definitions from the CDC bootloader, and switch it to use the CDC Class Driver descriptor definitions. 2011-07-01 05:30:29 +00:00
Dean Camera 04660d3793 Seperate out the device demos and project's configuration descriptor structure definitions to clearly indicate what descriptors belong to which interface. 2011-07-01 05:26:25 +00:00
Dean Camera ca9f89ce82 Add new "checksource" target to the library makefiles, for automated source file existance checking. 2011-06-20 14:38:21 +00:00
Dean Camera 7dffa15c16 Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru. 2011-06-05 13:55:56 +00:00
Dean Camera c2135f2776 Expand the documentation for each Bootloader to give sample usage instructions for the command line programmer utilities.
Fix typo in the HID class bootloader CLI programmer application usage instructions.
2011-06-02 13:40:53 +00:00