Dean Camera
8ccc2b2272
Minor build system improvements - force default shell.
13 years ago
Dean Camera
cce71a74e7
Enable GCC's -pipe option by default, to build projects using intermediary logical OS pipes rather than temporary files on disk.
13 years ago
Dean Camera
7e65340c31
Revert change to assembly file comment syntax; this apparently breaks on the current AVR32 GNU assembler.
13 years ago
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.
13 years ago
Dean Camera
c128d8783e
Minor build system improvements - move out AVRDUDE base flags into a makefile variable, clean up BUILD module.
13 years ago
Dean Camera
751806458b
Replace C style comments in assembly code with true assembly comments for consistency and to prevent it from confusing syntax highlighters.
13 years ago
Dean Camera
c4ebddd27a
Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functions for unsupported platforms.
13 years ago
Dean Camera
3d39cbe94b
Add ability to generate SYM files in the BUILD module. Clean up build system output to be slightly more human readable.
13 years ago
Dean Camera
e7e45baef1
Minor documentation improvements.
13 years ago
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.
13 years ago
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.
13 years ago
Dean Camera
fe3a5c2462
Fix up core library makefile clean target to properly remove dependency files.
13 years ago
Dean Camera
49424ce6b1
Make sure the main library core makefile does not interfere with the Doxygen module configuration if included in a legacy makefile.
13 years ago
Dean Camera
fae71b5780
Minor correction to the UC3 USB clock division formula (thanks to Kim Blomqvist).
13 years ago
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.
13 years ago
Dean Camera
44ff0af68c
Add a list of module provided make variables and macros to the build system modules.
13 years ago
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.
13 years ago
Dean Camera
21a6acff83
Add MAX_ENDPOINT_INDEX compile time option for the XMEGA devices.
13 years ago
Dean Camera
59056ce544
Add compile time warnings for experimental architectures, for those that don't read the manual.
13 years ago
Dean Camera
6dc85e4023
Minor build system sanity check fixes.
13 years ago
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.
13 years ago
Dean Camera
3808f5c36d
Spell check source code, fix mistakes.
13 years ago
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.
13 years ago
Dean Camera
7abaafb3ca
Minor documentation changes.
13 years ago
Dean Camera
6e29655b54
Update SVN line endings property on newer source files to native.
13 years ago
Dean Camera
082537f5bd
Oops - really fix logic errors in USBMode.h.
13 years ago
Dean Camera
940145ca6d
Fix errors in the SingleUSBModeTest build test. Fix logic errors in USBMode.h.
13 years ago
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").
13 years ago
Dean Camera
3f82cb8dc3
Simplify AVRDUDE build module, ensure that the correct target names for FLASH and EEPROM writing are passed to the programmer tool.
13 years ago
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.
13 years ago
Dean Camera
28a2739fa3
Improve DFU build module to use symbolic names for the target HEX and EEP filenames.
13 years ago
Dean Camera
511348fb13
Improve ATPROGRAM build module to support UC3 devices and use intelligent erase for XMEGA and UC3.
13 years ago
Dean Camera
fab1678602
Fix typo in the UC3 host pipe driver. Improve library TAR export exclusion filetype filter.
13 years ago
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.
13 years ago
Dean Camera
49ca5c3c83
Add new ATPROGRAM build system module. Add ATPROGRAM and CPPCHECK modules to all application makefiles.
13 years ago
Dean Camera
32f2d59bc0
Add default project template to the Doxygen manual of the library.
13 years ago
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.
13 years ago
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.
13 years ago
Dean Camera
41b4c5b645
Add new CPPCHECK build system module for static code analysis of projects.
13 years ago
Dean Camera
00aaf1cb41
Disable inbuilt make rules in the LUFA build system for speedups when compiling many projects recursively.
13 years ago
Dean Camera
5af18ba288
Add explicit blank checks in the build system for user-set but blank variables that must not be blank.
13 years ago
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.
13 years ago
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.
13 years ago
Dean Camera
fc0ff2f976
Update CORE build module to print out additional help information.
13 years ago
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.
13 years ago
Dean Camera
d0737f6ad5
Fix AVRDUDE and BUILD build system module comments.
13 years ago
Dean Camera
7655205aac
Clean up CORE build system module, use simple rather than recursive make variables for internal constants and $(shell) derived values.
13 years ago
Dean Camera
450ff51b7e
Add platform driver dispatch header and makefile module source variable.
13 years ago
Dean Camera
0d888458e1
Fix incorrect bank mask in Endpoint_ConfigureEndpoint() for the UC3 devices.
13 years ago
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.
13 years ago
Dean Camera
719a0e7f78
Add dependency file tracking to the BUILD build system module.
13 years ago
Dean Camera
4913678695
Fix UC3 support in the BUILD build system module. Fix bug in the EVK1101 board buttons driver.
13 years ago
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.
13 years ago
Dean Camera
a9bb2d5488
Minor documentation improvements.
13 years ago
Dean Camera
6a3a5f40da
Update library documentation on the standard LUFA makefile template configuration.
13 years ago
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.
13 years ago
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.
13 years ago
Dean Camera
fcf0b8a5bb
Ensure the BULD build system module produces a LSS listing file output when the "all" target is invoked.
13 years ago
Dean Camera
59ca4ec0ec
Strip trailing slash from the user-supplied LUFA_PATH directory, to prevent double slashes from appearing in the commands/output.
13 years ago
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.
13 years ago
Dean Camera
fc3768733e
Clean up ordering of build system module sanity checks.
13 years ago
Dean Camera
29874f6db7
Simplify build system mandatory parameter/variable sanity checks.
13 years ago
Dean Camera
276eb35d68
Don't print out full object file paths in the build system when cleaning object files.
13 years ago
Dean Camera
79ee9e755f
Add build system targets for lists of mandatory and optional parameters/variables.
13 years ago
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.
13 years ago
Dean Camera
8031d97a4f
Oops - fix accidental negation in the BUILD module architecture detection code. Add error if an unsupported architecture is requested.
13 years ago
Dean Camera
4453133d3c
Disable linker relaxations for the UC3 architecture, as this does not appear to be supported in the linker.
13 years ago
Dean Camera
2b332d3231
Replace architecture specific makefiles in the BuildTests with the new common build system makefiles.
13 years ago
Dean Camera
26cc2e9fa8
Make BUILD build system module not destroy C++ source files, and support multiple architectures.
13 years ago
Dean Camera
56e792c95b
Switch over Demos, Bootloaders and Projects to the new and improved build system.
13 years ago
Dean Camera
e309f42af3
Minor documentation improvements.
13 years ago
Dean Camera
8f2e82bd61
Minor cleanup to Attributes.h spacing and rename old multiple-inclusion macro guard.
13 years ago
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.
13 years ago
Dean Camera
c3dd6ac781
AppConfigHeaders: Merge in latest trunk.
13 years ago
Dean Camera
b5e850ffd6
Add missing documentation to custom BuiltTest hardware mapping files. Fix up old copyright years on some makefiles.
13 years ago
Dean Camera
1fe8e29ab3
Minor documentation improvements.
13 years ago
Dean Camera
910fd08ea1
Minor documentation improvements.
13 years ago
Dean Camera
a9d8af99e4
Minor documentation improvements.
13 years ago
Dean Camera
18d91ece3b
AppConfigHeaders: Merge in latest trunk.
13 years ago
Dean Camera
35564bb1a7
Fixed swapped Little Endian/Big Endian endpoint and pipe write code for the UC3 devices (thanks to Andrew Chu).
13 years ago
Dean Camera
f235021abe
Fix incorrect definition for the XMEGA Endpoint_BytesInEndpoint() function when used on OUT endpoints.
13 years ago
Dean Camera
063474561d
Merge in latest trunk.
13 years ago
Dean Camera
b181cf4fb8
Minor documentation improvements.
13 years ago
Dean Camera
d4f00fe7d5
Added new RESET_TOGGLES_LIBUSB_COMPAT compile time option to the AVRISP-MKII clone programmer project (thanks to Robert Spitzenpfeil).
13 years ago
Dean Camera
82162c710c
Additional fixes to the MIDI host driver due to not unfreezing/re-freezing pipes correctly (thanks to Michael Brown).
13 years ago
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.
13 years ago
Dean Camera
c9b3468f1e
Add missing CPPCheck unusedFunction check suppressions on the USB template functions.
13 years ago
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.
13 years ago
Dean Camera
80e278acde
Clean up and speed up build tests by turning off expensive and slow size optimizations, and generation of assembly listings (*.lst) for each compiled source file.
13 years ago
Dean Camera
5cba3ce3a4
AppConfigHeaders: Merge in latest trunk.
13 years ago
Dean Camera
380f014c4c
Added build test to verify correct compilation of all bootloaders using all supported devices.
...
Fixed compile error with the unreleased ATMEGA32U6 device.
13 years ago
Dean Camera
96fd39eda8
Fixed CDC and DFU bootloaders API function offsets incorrect on some devices (thanks to Rod DeMay).
13 years ago
Dean Camera
383eb6da84
AppConfigHeaders: Merge in minor changes from trunk.
13 years ago
Dean Camera
3e7e02c6dd
Minor documentation improvements.
13 years ago
Dean Camera
359fbfe14d
Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros.
13 years ago
Dean Camera
e5a7fa201e
Add support for the ATXMEGA384C3.
13 years ago
Dean Camera
9207e8b2fd
Changed board LED driver implementations of LEDs_ToggleLEDs() for the AVR8 architecture to use the fast PIN register toggle alternative function for speed.
13 years ago
Dean Camera
395e4287a1
Added support for the Olimex AVR-USB-32U4 and Olimex AVR-USB-T32U4 boards.
13 years ago
Dean Camera
1007317c5f
Fixed broken MIDI host driver MIDI_Host_ReceiveEventPacket() function due to not unfreezing the MIDI data IN pipe before use (thanks to Michael Brown).
13 years ago
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).
13 years ago
Dean Camera
0e434c8f8f
Add additional preprocessor sanity checks for the XMEGA platform based on the USB controller input clock speed.
13 years ago
Dean Camera
2d98e5499b
Fixed possible deadlock in the CDC device driver if the USB connection is dropped while the CDC_REQ_SetLineEncoding control request is being processed by the stack (thanks to Jonathan Hudgins).
13 years ago
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).
13 years ago
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.
13 years ago
Dean Camera
69ecaae732
Added support for the DorkbotPDX Duce board.
13 years ago
Dean Camera
bd6123e2c1
Fixed inverted LED logic in the USB2AX board LED driver (thanks to Nicolas Saugnier).
13 years ago
Dean Camera
e875d7cf9f
Changed MIDI event structure MIDI_EventPacket_t to use a single field for the combined virtual cable index and command ID, to prevent bitfield packing issues on some architectures (thanks to Darren Gibbs).
13 years ago
Dean Camera
5b5b73ce58
Add basic hardware mapping information for all supported boards.
13 years ago
Dean Camera
c7bfcf2cbb
Fix documentation of the board LED driver (thanks to Karl Lunt).
13 years ago
Dean Camera
cfa399a533
Remove an unused variable in the HID loader CLI application. Update known issues list.
13 years ago
Dean Camera
c48da94605
Add known issues to the documentation.
13 years ago
Dean Camera
56aed4b3e6
Fixed AVRISP-MKII programmer project reset line polarity inverted when the generated EEP file is loaded into the USB AVR's EEPROM and avr-dude is used.
13 years ago
Dean Camera
3703d50580
Minor documentation improvements.
13 years ago
Dean Camera
c0841d98c5
Fixed incorrect reponse to GET STATUS requests in device mode if NO_DEVICE_SELF_POWER or NO_DEVICE_REMOTE_WAKEUP tokens are defined (thanks to Georg Glock).
13 years ago
Dean Camera
2e757d8c38
Added new SerialToLCD user project contributed by Simon Foster.
13 years ago
Dean Camera
47f6a35013
Reintegrate the FullEPAddresses development branch into trunk.
13 years ago
Dean Camera
e8570c4a37
Fixed CDC and DFU bootloaders failing to compile when the bootloader section size is 8KB or more (thanks to Georg Glock).
13 years ago
Dean Camera
a19dc3d20c
Fix typos in the LUFAConfig.h header file. Add missing modules to the AVR8 architecture ModuleTest build test makefile.
13 years ago
Dean Camera
9add0d100d
Ensure Temperature.c and TWI_AVR8.c can be compiled silently in projects with non-supported hardware - produce errors only if the user application includes the module header files.
13 years ago
Dean Camera
d771099f62
Remove outdated documentation from the library, minor documentation improvements.
13 years ago
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.
13 years ago
Dean Camera
b2fe539d1c
Removed the old pseudo-scheduler from the library as it was unused and deprecated since the 090810 release.
13 years ago
Dean Camera
f11826fc47
Minor documentation improvements.
13 years ago
Dean Camera
a25a6dfd56
Minor documentation improvements.
13 years ago
Dean Camera
fde181a830
Minor documentation improvements.
13 years ago
Dean Camera
60d724e398
Move out Doxygen style assets into a seperate folder.
13 years ago
Dean Camera
3008f8ce13
Doxygen documentation style changes. Minor documentation corrections.
13 years ago
Dean Camera
512b4d87cc
Add additional specific sub-family parts to the ModuleTest build test as these may have minor header file differences to their standard family cousins.
...
Clean up of main library Makefile to extract out the library version once into a make variable for easy reference.
13 years ago
Dean Camera
f1bf7e1816
Move documentation images into a dedicated sub-folder.
13 years ago
Dean Camera
292df85620
Add guide for importing LUFA into an AS5/AS6 project.
13 years ago
Dean Camera
b9a486efe7
Oops - fix broken makefile tar rule.
13 years ago
Dean Camera
ae91ccc048
Fix up Doxygen documentation directives to allow for generation of documentation when the library code root folder is not "LUFA".
13 years ago
Dean Camera
8f4f48d963
Add architecture guards to all architecture-specific files, so that they can be bulk-added to existing IDE projects without having to exclude unused architecture files.
13 years ago
Dean Camera
d4b45e8502
Add extra LUFA TAR archive export exclusions.
13 years ago
Dean Camera
0fb92f0441
Add main library makefile target "export_tar" to export a copy of the library codebase in TAR format, for each integration into user applications.
13 years ago
Dean Camera
8b4fe84163
Minor documentation improvements.
13 years ago
Dean Camera
25ac76a251
Reverted AVRISP-MKII clone project watchdog based command timeout patch in favour of a hardware timer, to allow for use in devices with WDTRST fuse programmed.
13 years ago
Dean Camera
89f16f5d7f
Minor documentation improvements.
13 years ago
Dean Camera
1cc62c9282
Oops - typos in alterations to HID_DESCRIPTOR_JOYSTICK().
13 years ago
Dean Camera
b3aaffb792
Removed variable axis support from the HID_DESCRIPTOR_JOYSTICK() macro due to OS incompatibilities, replaced with fixed 3-axis joystick report structure.
13 years ago
Dean Camera
7cac5e22d7
Added additional bootloader API data to expose the bootloader start address and class to the DFU and CDC class bootloaders.
13 years ago
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.
13 years ago
Dean Camera
bbf9d14bf9
Fixed AVRISP-MKII programmer project failing to compile for the U4 chips when VTARGET_ADC_CHANNEL is defined to an invalid channel and NO_VTARGET_DETECT is defined (thanks to Steven Morehouse).
13 years ago
Dean Camera
a77c3edc37
Fixed inverted LED logic in the OLIMEX162 board LED driver.
13 years ago
Dean Camera
e58915344d
Fixed error in the AVRISP-MKII programmer when ISP mode is used at 64KHz (thanks to Ben R. Porter).
13 years ago
Dean Camera
01d5af3d6c
Add XMEGA C3 family to the ModuleTest build test.
...
Remove unnecessary GCC_MEMORY_BARRIER() at the end of GetGlobalInterruptMask().
Minor documentation improvements.
13 years ago
Dean Camera
1971a415e5
Fixed compile error if LEDs_Disable() is called and BOARD=NONE is set (thanks to Sam Lin).
13 years ago
Dean Camera
f87aec2264
Fixed incorrect call to the user callback CALLBACK_Audio_Device_GetSetInterfaceProperty() in the Audio Class device driver (thanks to Tiit Ratsep).
13 years ago
Dean Camera
77adb2ba52
Audio Device Class driver changed to also require the index of the Audio Control interface within the device, for SET/GET/CUR/MIN/MAX/RES property adjustments.
13 years ago
Dean Camera
c0f763db04
Reorder manual documentation sections, remove useless "AboutLUFA" section.
13 years ago