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
22eeb9b4e9
Override the OBJDIR setting for the XPLAINBridge project, as this currently doesn't work. Turn off check-config test in the StaticAnalysisTest build test to save time - if the standard build fails this can be run manually to determine the problem cause.
2012-07-10 21:13:09 +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
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
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
6f90d45684
Fix accidental struct copies on the stack in the old RNDISEthernet demo TCP code.
2012-06-26 18:53:30 +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
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
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
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
3808f5c36d
Spell check source code, fix mistakes.
2012-06-09 20:33: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
56e792c95b
Switch over Demos, Bootloaders and Projects to the new and improved build system.
2012-06-01 22:32:43 +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
063474561d
Merge in latest trunk.
2012-05-20 15:43:51 +00:00
Dean Camera
82162c710c
Additional fixes to the MIDI host driver due to not unfreezing/re-freezing pipes correctly (thanks to Michael Brown).
2012-05-20 13:04:26 +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
666088a388
AppConfigHeaders: Fix branch validation error.
2012-05-15 21:01:40 +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
ae6a514929
AppConfigHeaders: Fix branch validation errors.
2012-05-13 18:42:12 +00:00
Dean Camera
9a373c4094
AppConfigHeaders: Switch class driver Device mode demos to use LUFAConfig.h configuration header files.
2012-05-13 17:17:45 +00:00
Dean Camera
7f4462267a
AppConfigHeaders: Oops - fix up AppConfig.h for the low level AudioOutput and AudioInput demos.
2012-05-13 15:11:57 +00:00
Dean Camera
13085a3351
AppConfigHeaders: Switch low level Device mode demos to use LUFAConfig.h configuration header files.
2012-05-13 15:03:17 +00:00
Dean Camera
64d00efd91
AppConfigHeaders: Switch class driver Host mode demos to use LUFAConfig.h configuration header files.
2012-05-13 14:19:52 +00:00
Dean Camera
a9f0369fac
AppConfigHeaders: Switch DualRole and low level Host mode demos to use LUFAConfig.h configuration header files.
2012-05-13 14:07:00 +00:00
Dean Camera
f9fb44b01c
AppConfigHeaders: Remove outdated incomplete BluetoothHost demo - updated Bluetooth stack code is in the ExplorerBot project ( http://www.fourwalledcubicle.com/ExplorerBot.php ).
2012-05-13 14:04:29 +00:00
Dean Camera
802910d49f
AppConfigHeaders: Update several additional user projects to use configuration header files, rather than makefile defines. Remove compile time warnings for projects lacking device serial support, remove incomplete StandaloneProgrammer project.
2012-05-12 15:32:53 +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
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).
2012-04-25 18:28:56 +00:00
Dean Camera
47f6a35013
Reintegrate the FullEPAddresses development branch into trunk.
2012-04-14 14:41:17 +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
bb055c24e3
Oops - fix compile errors in the AudioInput/AudioOutput class driver demos.
2012-03-29 19:47:37 +00:00
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.
2012-03-29 19:41:05 +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
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.
2012-03-14 22:12:40 +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
3ea356a720
Added Dataflash operational checks and aborts to all projects using the Dataflash to ensure it is working correctly before use.
2012-03-09 22:02:29 +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
ceed4e680f
Fix incorrect Doxygen references in the Audio Input/Output ClassDriver demos.
2012-03-07 19:11:24 +00:00
Dean Camera
dba5004684
Update Doxygen configuration files for all projects.
2012-03-07 19:11:15 +00:00
Dean Camera
7416ebd7c6
Update StaticAnalysisTest to check for missing header files. Fix found incorrect header file paths in the demos and projects.
2012-02-29 17:04:04 +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
6a9d1eab2d
Modified the CDC Host demos to set a default CDC Line Encoding on enumerated devices.
2012-02-24 20:28:27 +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
1dcc1fe527
Update the Android Accessory Host ClassDriver demo to use the updated class configuration API.
...
Enable -Wcast-align warning for the UC3 architecture in the ModuleTest build test now that the test passes with it.
Minor documentation improvements.
2012-02-20 22:07:25 +00:00
Dean Camera
e55946f972
Add missing svn:eol-style properties to /trunk/.
2012-02-04 23:00:22 +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
fc4d3ab400
Minor documentation improvements.
2012-02-01 21:28:25 +00:00
Dean Camera
a147cee95f
Added new CALLBACK_Audio_Device_GetSetInterfaceProperty() callback to the Audio Device Class driver.
2012-01-28 18:07:35 +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
676de74d9b
Don't validate the Device Descriptor's vendor ID when validating that a device is an Android Accessory device; the Product ID and (later) Accessory protocol support is enough to probe AOA class support without having to maintain a list of Android device manufacture VID values.
2011-12-14 02:52:42 +00:00
Dean Camera
0c59d5993e
Altered the Mass Storage Host class driver so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
...
Altered the Mass Storage Host LowLevel demo so that SCSI data STALLs from the attached device can be recovered from automatically without having to reset the Mass Storage interface.
2011-12-01 08:39:43 +00:00
Dean Camera
057972bd25
Remove unnecessary ErrorCode variable initializations from the LowLevel Host mode demos.
2011-11-28 13:14:51 +00:00
Dean Camera
7f8dbb4908
Convert the LowLevel AndroidAccessory demo to use the new class driver constants to reduce code duplication.
...
Add missing Doxygen documentation.
2011-11-24 01:31:31 +00:00
Dean Camera
8b5aa61601
Add new Android Open Accessory class driver to the library core and add a new Android Open Accessory Host ClassDriver demo.
2011-11-24 01:24:01 +00:00
Dean Camera
d619214854
Update library to indicate support for the Android Accessory Host demo.
2011-11-23 06:59:27 +00:00
Dean Camera
08f448407b
Move out Android Accessory Host demo to the Host mode LowLevel directory now that it is functionally complete.
2011-11-23 06:50:50 +00:00
Dean Camera
e9802253e2
Add const-correctness to the Android_SendString() function of the Android Accessory Host demo.
2011-11-23 06:46:19 +00:00
Dean Camera
c704131be4
Fix interface protocol match value for the Android Accessory Host demo interface configuration parser code (thanks to Opendous Inc.).
2011-11-23 00:16:33 +00:00
Dean Camera
eb2e883fd3
Added Class, ClassDevice, ClassHost and ClassCommon to the internal class driver source filenames to prevent ambiguities.
2011-11-18 06:26:51 +00:00
Dean Camera
3e04487279
Fixed misspelled HID_KEYBOARD_MODIFIER_* macros in the HID class driver (thanks to Laszlo Monda).
2011-11-16 08:19:34 +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
6519aaa571
Fix incorrect Android Accessory Host interface descriptor subclass value (thanks to Opendous Inc.).
2011-10-28 05:16:38 +00:00
Dean Camera
c9e817ff47
Fixed port state table corruption in the TCP layer of the RNDIS Ethernet device demos.
...
Fix additional warnings under GCC 4.6.
2011-10-09 13:14:53 +00:00
Dean Camera
6553bf5bfb
Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 devices.
2011-10-07 04:38:53 +00:00
Dean Camera
022fa26b43
Fix missing C++ linkage command in ArchitectureSpecific.h.
...
Fix missing closing brace in an Endpoint function for the UC3 targets.
2011-09-21 23:40:05 +00:00
Dean Camera
b5682f2c44
Add project name to the Doxygen makefile target output.
2011-09-21 06:45:09 +00:00
Dean Camera
aae59857a2
Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.
2011-09-21 06:25:31 +00:00
Dean Camera
8b420566cd
Fix Class Driver GenericHID demo using the wrong size for the returned reports.
2011-09-21 06:09:07 +00:00
Dean Camera
a233109909
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host.
...
Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons).
Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage.
Minor documentation corrections.
2011-08-24 09:50:21 +00:00
Dean Camera
2d9f98b592
Add multiple axis support to the HID joystick report in the HID_DESCRIPTOR_JOYSTICK() macro.
2011-08-23 07:07:34 +00:00
Dean Camera
d0ac8e46f9
Renamed the JTAG_DEBUG_ASSERT() macro to JTAG_ASSERT().
...
Changed the reports in the GenericHID device demos to control the board LEDs, to reduce user confusion over the callback routines.
Fixed swapped TWI_ADDRESS_READ and TWI_ADDRESS_WRITE values.
Fixed TWI_ReadPacket() not releasing the TWI bus on read completion.
2011-08-22 13:03:56 +00:00
Dean Camera
3478178127
Add shortcuts to SwapEndian_16() and SwapEndian_32() internal functions to improve optimization if called with constant inputs.
2011-08-16 05:00:45 +00:00
Dean Camera
c505ba047f
Set HOST_DEVICE_SETTLE_DELAY_MS to zero for the incomplete AndroidAccessoryHost demo to prevent a timeout on the Android device from aborting Accessory mode after a command it sent to switch modes (thanks to Opendous Inc).
2011-08-09 16:38:35 +00:00
Dean Camera
aceb015ea7
Fixed incorrect Dataflash buffer use in the DataflashManager_WriteBlocks_RAM() function of several demos/projects (thanks to Jeremy Willden).
2011-07-30 02:49:59 +00:00
Dean Camera
5c274d106b
Fixed USB_USBTask not being called internally in stream transfers between packets when Partial Stream Transfers are used.
...
Remove old unused function prototype in the LowLevel MassStorage device demo.
2011-07-25 01:11:24 +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
fdb82cd1e8
Fixed error in the pipe unordered allocation algorithm for the AVR8 devices breaking compatibility with some devices.
2011-07-12 07:22:36 +00:00
Dean Camera
85e85befc4
More endianness porting of the LUFA device mode class drivers.
...
Add endianness information to the class driver and core structure definitions.
Move out the unused Ethernet_Frame_Info_t structure definition to the RNDIS device demos where it is needed.
2011-07-11 09:50:54 +00:00
Dean Camera
7c7778e3ce
Minor style improvements to the incomplete AndroidAccessoryHost demo.
2011-07-11 09:44:09 +00:00