pub/lufa.git
3 years agoUpdate hid_bootloader_cli code
Drashna Jael're [Thu, 15 Jul 2021 15:06:14 +0000 (08:06 -0700)]
Update hid_bootloader_cli code

3 years agoWebserver Project: Fix RNDIS_Read_Packet() API usage to conform to the updated API.
Dean Camera [Sat, 19 Jun 2021 07:40:01 +0000 (17:40 +1000)]
Webserver Project: Fix RNDIS_Read_Packet() API usage to conform to the updated API.

3 years agoCCID Low Level Demo: Add missing request length check.
Dean Camera [Sat, 19 Jun 2021 07:37:55 +0000 (17:37 +1000)]
CCID Low Level Demo: Add missing request length check.

3 years agoRemove old TCP/IP stack code from the RNDIS examples, add explicit buffer length...
Dean Camera [Sat, 19 Jun 2021 07:18:31 +0000 (17:18 +1000)]
Remove old TCP/IP stack code from the RNDIS examples, add explicit buffer length to RNDIS class driver packet read functions.

3 years agoAVRISP-MKII Clone: Add length checks to SPI Multi and XPROG read/write commands.
Dean Camera [Sat, 19 Jun 2021 05:01:52 +0000 (15:01 +1000)]
AVRISP-MKII Clone: Add length checks to SPI Multi and XPROG read/write commands.

3 years agoMerge pull request #171 from fauxpark/line-endings
Dean Camera [Mon, 31 May 2021 09:11:23 +0000 (09:11 +0000)]
Merge pull request #171 from fauxpark/line-endings

Fix inconsistent line endings - convert CRLF line endings to LF.

3 years agoFix inconsistent line endings
fauxpark [Mon, 31 May 2021 02:37:22 +0000 (12:37 +1000)]
Fix inconsistent line endings

4 years agoMerge pull request #170 from exp/master
Dean Camera [Tue, 23 Mar 2021 10:23:13 +0000 (10:23 +0000)]
Merge pull request #170 from exp/master

BootloaderCDC: Fix flashing binaries over 32K failing due to missing explicitly cast.

4 years agoExplicitly cast FetchNextCommandByte to u32 to ensure correct handling
Paul R [Mon, 22 Mar 2021 12:19:25 +0000 (12:19 +0000)]
Explicitly cast FetchNextCommandByte to u32 to ensure correct handling

Without the explicit cast, avr-gcc generates incorrect asm which sets
only the lower bytes of the u32, leading the upper bytes to be set to
0xFFFF when the input value has MSB set. This results in flashing past
32k bytes failing. Explicit casting corrects this behaviour in testing.

4 years agoUpgrade Doxygen configuration files to the latest release.
Dean Camera [Sat, 30 Jan 2021 05:40:29 +0000 (16:40 +1100)]
Upgrade Doxygen configuration files to the latest release.

4 years agoReset version header release type and add dummy version changelog/known issues/migrat...
Dean Camera [Sat, 30 Jan 2021 05:40:04 +0000 (16:40 +1100)]
Reset version header release type and add dummy version changelog/known issues/migration notes.

4 years agoUpdate version numbers for the 2021-01-30 release. LUFA-210130
Dean Camera [Sat, 30 Jan 2021 05:14:25 +0000 (16:14 +1100)]
Update version numbers for the 2021-01-30 release.

4 years agoUpdate copyrights for 2021.
Dean Camera [Sat, 30 Jan 2021 05:14:02 +0000 (16:14 +1100)]
Update copyrights for 2021.

4 years agoBuild: Update to latest DMBS version.
Dean Camera [Sun, 19 Jul 2020 01:50:52 +0000 (11:50 +1000)]
Build: Update to latest DMBS version.

4 years agoFix multiple definition error in KeyboardMountMultiReport class driver demo.
Dean Camera [Sun, 19 Jul 2020 00:44:05 +0000 (10:44 +1000)]
Fix multiple definition error in KeyboardMountMultiReport class driver demo.

4 years agoRemove Atmel Studio integration.
Dean Camera [Mon, 15 Jun 2020 12:32:50 +0000 (22:32 +1000)]
Remove Atmel Studio integration.

4 years agoUpgrade Doxygen config file to 1.8.18.
Dean Camera [Mon, 15 Jun 2020 12:24:01 +0000 (22:24 +1000)]
Upgrade Doxygen config file to 1.8.18.

4 years agoDocumentation: Update copyrights to 2020.
Dean Camera [Mon, 15 Jun 2020 12:19:31 +0000 (22:19 +1000)]
Documentation: Update copyrights to 2020.

4 years agoFix control request hang in Printer device class driver (thanks to Juergen Borleis).
Dean Camera [Mon, 15 Jun 2020 12:02:06 +0000 (22:02 +1000)]
Fix control request hang in Printer device class driver (thanks to Juergen Borleis).

4 years agoFix truncated IEEE string returned in Printer device class driveer (thanks to Juergen...
Dean Camera [Mon, 15 Jun 2020 12:01:43 +0000 (22:01 +1000)]
Fix truncated IEEE string returned in Printer device class driveer (thanks to Juergen Borleis).

5 years agoMerge pull request #156 from jessexm/dragndrop
Dean Camera [Tue, 11 Feb 2020 08:56:38 +0000 (08:56 +0000)]
Merge pull request #156 from jessexm/dragndrop

MassStorageBootloader: Fix lower nibble cluster update.

5 years agoMassStorageBootloader: Fix lower nibble cluster update.
Jesse Marroquin [Tue, 11 Feb 2020 04:43:10 +0000 (22:43 -0600)]
MassStorageBootloader: Fix lower nibble cluster update.

5 years agoStaticAnalysis: Only fail on errors, only log warnings.
Dean Camera [Thu, 24 Oct 2019 08:48:26 +0000 (19:48 +1100)]
StaticAnalysis: Only fail on errors, only log warnings.

5 years agoBuild: Fix incorrect build target for Ubuntu CI builds.
Dean Camera [Wed, 23 Oct 2019 11:03:50 +0000 (22:03 +1100)]
Build: Fix incorrect build target for Ubuntu CI builds.

5 years agoDocumentation: Update doxygen config files to latest released version.
Dean Camera [Wed, 4 Sep 2019 12:24:16 +0000 (22:24 +1000)]
Documentation: Update doxygen config files to latest released version.

5 years agoDocumentation: Fix Doxygen grouping.
Dean Camera [Wed, 4 Sep 2019 12:22:34 +0000 (22:22 +1000)]
Documentation: Fix Doxygen grouping.

5 years agoDocumentation: Add additional project links.
Dean Camera [Mon, 2 Sep 2019 10:15:38 +0000 (20:15 +1000)]
Documentation: Add additional project links.

5 years agoBuildTests: Remove 4KB variants of MassStorage bootloader on U6/U7 devices.
Dean Camera [Mon, 29 Jul 2019 12:38:01 +0000 (22:38 +1000)]
BuildTests: Remove 4KB variants of MassStorage bootloader on U6/U7 devices.

5 years agoBootloader: MassStorage: Enlarge AUX section to 8KB to fit with newer GCC versions.
Dean Camera [Mon, 29 Jul 2019 12:30:46 +0000 (22:30 +1000)]
Bootloader: MassStorage: Enlarge AUX section to 8KB to fit with newer GCC versions.

5 years agoBootloaders: Enable LTO to reduce compiled size.
Dean Camera [Mon, 29 Jul 2019 11:30:06 +0000 (21:30 +1000)]
Bootloaders: Enable LTO to reduce compiled size.

5 years agoDocumentation: Add link to ProdikeysDM project.
Dean Camera [Wed, 24 Jul 2019 10:10:24 +0000 (20:10 +1000)]
Documentation: Add link to ProdikeysDM project.

6 years agoMassStorageBootloader: Move more code into AUX_BOOT_SECTION to save space in small...
Dean Camera [Wed, 27 Mar 2019 11:01:30 +0000 (22:01 +1100)]
MassStorageBootloader: Move more code into AUX_BOOT_SECTION to save space in small flash devices.

6 years agoBuld Tests: Update static analysis test for cppcheck 1.86.
Dean Camera [Tue, 8 Jan 2019 09:22:59 +0000 (20:22 +1100)]
Buld Tests: Update static analysis test for cppcheck 1.86.

6 years agoDocumentation: Update copyrights to 2019.
Dean Camera [Tue, 8 Jan 2019 08:59:41 +0000 (19:59 +1100)]
Documentation: Update copyrights to 2019.

6 years agoAVRISP-MKII Clone: Clean up ISP driver code, namespace module variables.
Dean Camera [Tue, 8 Jan 2019 08:52:34 +0000 (19:52 +1100)]
AVRISP-MKII Clone: Clean up ISP driver code, namespace module variables.

6 years agoMerge pull request #142 from jacobseptember/master
Dean Camera [Tue, 8 Jan 2019 08:26:54 +0000 (19:26 +1100)]
Merge pull request #142 from jacobseptember/master

Add support for RC calibration in AVRISP-MKII.

6 years agomodify copyright statement
jacobseptember [Mon, 7 Jan 2019 16:06:46 +0000 (11:06 -0500)]
modify copyright statement

6 years agoChanges to interrupt blocking, etc for PR change
jacobseptember [Fri, 4 Jan 2019 16:09:21 +0000 (11:09 -0500)]
Changes to interrupt blocking, etc for PR change

6 years agoDidn't mean to upload to root directory
jacobseptember [Fri, 4 Jan 2019 16:08:50 +0000 (11:08 -0500)]
Didn't mean to upload to root directory

I should really be using a desktop git client, oh well

6 years agoChanges to blocking interrupts, etc for PR change
jacobseptember [Fri, 4 Jan 2019 16:05:43 +0000 (11:05 -0500)]
Changes to blocking interrupts, etc for PR change

6 years agoCI: Don't use multiple jobs when building under CI, so that output is consistent.
Dean Camera [Sun, 9 Dec 2018 07:40:21 +0000 (18:40 +1100)]
CI: Don't use multiple jobs when building under CI, so that output is consistent.

6 years agoRemove unused/obsolete maintenance scripts.
Dean Camera [Sun, 9 Dec 2018 04:34:29 +0000 (15:34 +1100)]
Remove unused/obsolete maintenance scripts.

6 years agoSuppress cppcheck warnings on redundant stores.
Dean Camera [Sun, 9 Dec 2018 03:27:33 +0000 (14:27 +1100)]
Suppress cppcheck warnings on redundant stores.

6 years agoRemove cppcheck suppression that requires newer version than the one bundled in the...
Dean Camera [Sun, 9 Dec 2018 03:14:39 +0000 (14:14 +1100)]
Remove cppcheck suppression that requires newer version than the one bundled in the CI containers.

6 years agoFix invalid DHCP server socket creation in the Webserver project.
Dean Camera [Sun, 9 Dec 2018 03:08:33 +0000 (14:08 +1100)]
Fix invalid DHCP server socket creation in the Webserver project.

6 years agoFix static analysis false warnings.
Dean Camera [Sun, 9 Dec 2018 03:06:44 +0000 (14:06 +1100)]
Fix static analysis false warnings.

6 years agoFix HID report parser incorrectly decoding 32-bit USAGE elements.
Dean Camera [Sun, 9 Dec 2018 02:31:04 +0000 (13:31 +1100)]
Fix HID report parser incorrectly decoding 32-bit USAGE elements.

6 years agoFix static analysis warnings.
Dean Camera [Sun, 9 Dec 2018 02:24:51 +0000 (13:24 +1100)]
Fix static analysis warnings.

6 years agoCI: Update pipeline names.
Dean Camera [Sat, 8 Dec 2018 04:12:11 +0000 (15:12 +1100)]
CI: Update pipeline names.

6 years agoCI: Add dummy avr32-gcc compiler.
Dean Camera [Sat, 8 Dec 2018 03:53:29 +0000 (14:53 +1100)]
CI: Add dummy avr32-gcc compiler.

6 years agoFix unused function parameter warnings on internal event stub functions.
Dean Camera [Sat, 8 Dec 2018 03:48:25 +0000 (14:48 +1100)]
Fix unused function parameter warnings on internal event stub functions.

6 years agoCI: Build on Arch (bleeding-ege) and Ubuntu (stable) AVR-GCC toolchains.
Dean Camera [Sat, 8 Dec 2018 03:10:40 +0000 (14:10 +1100)]
CI: Build on Arch (bleeding-ege) and Ubuntu (stable) AVR-GCC toolchains.

6 years agoOptimize Endpoint_Discard_Stream() and Endpoint_Null_Stream().
Dean Camera [Sat, 8 Dec 2018 00:10:28 +0000 (11:10 +1100)]
Optimize Endpoint_Discard_Stream() and Endpoint_Null_Stream().

6 years agoCI: Check Doxygen documentation.
Dean Camera [Fri, 7 Dec 2018 11:55:04 +0000 (22:55 +1100)]
CI: Check Doxygen documentation.

6 years agoFix Doxygen documentation for conditionally enabled functions.
Dean Camera [Fri, 7 Dec 2018 11:54:53 +0000 (22:54 +1100)]
Fix Doxygen documentation for conditionally enabled functions.

6 years agoCI: Use bleeding-edge toolchain from Arch.
Dean Camera [Fri, 7 Dec 2018 10:27:46 +0000 (21:27 +1100)]
CI: Use bleeding-edge toolchain from Arch.

6 years agoPrinterBootloader: Don't store 32-bit HEX parser flash offsets on small flash devices.
Dean Camera [Wed, 5 Dec 2018 09:17:27 +0000 (20:17 +1100)]
PrinterBootloader: Don't store 32-bit HEX parser flash offsets on small flash devices.

6 years agoUpdate Drone CI image path.
Dean Camera [Wed, 5 Dec 2018 08:30:10 +0000 (19:30 +1100)]
Update Drone CI image path.

6 years agoDon't build project folders in parallel.
Dean Camera [Tue, 4 Dec 2018 10:31:54 +0000 (21:31 +1100)]
Don't build project folders in parallel.

6 years agoAdd Drone CI build configuration.
Dean Camera [Tue, 4 Dec 2018 10:10:30 +0000 (21:10 +1100)]
Add Drone CI build configuration.

6 years agoAdd support for RC calibration from AVR053
jacobseptember [Mon, 3 Dec 2018 15:23:27 +0000 (10:23 -0500)]
Add support for RC calibration from AVR053

Typo/style fixes

6 years agoAdd support for RC calibration from AVR053
jacobseptember [Mon, 3 Dec 2018 15:17:22 +0000 (10:17 -0500)]
Add support for RC calibration from AVR053

6 years agoAdd support for RC calibration from AVR053
jacobseptember [Mon, 3 Dec 2018 15:16:05 +0000 (10:16 -0500)]
Add support for RC calibration from AVR053

6 years agoAdd HostTestApp to device class driver CCID demo.
Dean Camera [Sat, 13 Oct 2018 03:44:46 +0000 (14:44 +1100)]
Add HostTestApp to device class driver CCID demo.

6 years agoAdd CCID class driver project description and Doxygen configuration files.
Dean Camera [Sat, 13 Oct 2018 03:42:45 +0000 (14:42 +1100)]
Add CCID class driver project description and Doxygen configuration files.

6 years agoMerge pull request #137 from abcminiuser/feature-ccid
Dean Camera [Mon, 27 Aug 2018 11:09:47 +0000 (21:09 +1000)]
Merge pull request #137 from abcminiuser/feature-ccid

New class driver: CCID

6 years agoUpdate documentation donation information.
Dean Camera [Thu, 9 Aug 2018 10:03:17 +0000 (20:03 +1000)]
Update documentation donation information.

6 years agoAdd const qualifiers to class driver callback parameters, fix parameter naming.
Dean Camera [Mon, 6 Aug 2018 10:04:01 +0000 (20:04 +1000)]
Add const qualifiers to class driver callback parameters, fix parameter naming.

6 years agoClean up CCID class driver and associated demos.
Dean Camera [Mon, 6 Aug 2018 09:43:44 +0000 (19:43 +1000)]
Clean up CCID class driver and associated demos.

6 years agoMerge pull request #135 from kidbomb/feature-ccid-get-set-parameters
Dean Camera [Mon, 6 Aug 2018 09:24:17 +0000 (19:24 +1000)]
Merge pull request #135 from kidbomb/feature-ccid-get-set-parameters

CCID: Support for Get and Set Parameters

6 years agoCCID: Initial support for GetParameters and SetParameters
Filipe Rodrigues [Mon, 9 Jul 2018 03:18:27 +0000 (20:18 -0700)]
CCID: Initial support for GetParameters and SetParameters

6 years agoMerge pull request #132 from erikarvstedt/update-pyusb
Dean Camera [Sun, 8 Jul 2018 08:47:59 +0000 (18:47 +1000)]
Merge pull request #132 from erikarvstedt/update-pyusb

Update Python USB host examples, to be compatible with PyUSB >= 1.0.0.

6 years agoUpgrade to PyUSB >= 1.0.0
Erik Arvstedt [Fri, 6 Jul 2018 16:43:02 +0000 (18:43 +0200)]
Upgrade to PyUSB >= 1.0.0

All major package managers provide PyUSB versions >= 1.0.0 by default.
LUFA used an older, incompatible version, which lead to broken
BulkVendor and GenericHID demo applications for new users.

Also, update the PyUSB homepage URL as the old one is unreachable.

6 years agoMerge pull request #131 from kidbomb/feature-ccid-xfrblock
Dean Camera [Fri, 29 Jun 2018 09:37:23 +0000 (19:37 +1000)]
Merge pull request #131 from kidbomb/feature-ccid-xfrblock

CCID: Add support for PC-to-Reader XfrBlock message

6 years agoCCID: Add support for PC-to-Reader XfrBlock message
Filipe Rodrigues [Mon, 18 Jun 2018 00:51:09 +0000 (17:51 -0700)]
CCID: Add support for PC-to-Reader XfrBlock message

6 years agoReformatting and add const qualifiers.
Dean Camera [Sun, 24 Jun 2018 06:41:58 +0000 (16:41 +1000)]
Reformatting and add const qualifiers.

6 years agoMerge pull request #126 from kidbomb/feature-ccid
Dean Camera [Sun, 24 Jun 2018 06:23:16 +0000 (16:23 +1000)]
Merge pull request #126 from kidbomb/feature-ccid

CCID: Multiple Low level and Class driver changes.

6 years agoSpaces to tabs
Filipe Rodrigues [Mon, 18 Jun 2018 01:42:58 +0000 (18:42 -0700)]
Spaces to tabs

6 years agoReview fixes
Filipe Rodrigues [Sun, 17 Jun 2018 22:50:25 +0000 (15:50 -0700)]
Review fixes

 - Added documentation
 - Removed incomplete XfrBlock message
 - Renamed Attr to Atr

6 years agoAdd CCID class driver and associated demos.
Dean Camera [Sun, 17 Jun 2018 04:21:45 +0000 (14:21 +1000)]
Add CCID class driver and associated demos.

6 years agoFix warning about possible string truncation in the TempDataLogger project.
Dean Camera [Sun, 17 Jun 2018 06:13:46 +0000 (16:13 +1000)]
Fix warning about possible string truncation in the TempDataLogger project.

6 years agoFix LEDNotifier project writing to the incorrect output stream.
Dean Camera [Sun, 17 Jun 2018 06:13:18 +0000 (16:13 +1000)]
Fix LEDNotifier project writing to the incorrect output stream.

6 years agoFix mismatched aliased event and event stub function prototypes.
Dean Camera [Sun, 17 Jun 2018 06:06:07 +0000 (16:06 +1000)]
Fix mismatched aliased event and event stub function prototypes.

6 years agoRemove unneccesary ATTR_CONST from stub functions (thanks to NicoHood).
Dean Camera [Sun, 17 Jun 2018 05:44:28 +0000 (15:44 +1000)]
Remove unneccesary ATTR_CONST from stub functions (thanks to NicoHood).

6 years agoFixed HID report parser corruption when parsing PUSH and POP report item elements.
Dean Camera [Sun, 17 Jun 2018 05:39:20 +0000 (15:39 +1000)]
Fixed HID report parser corruption when parsing PUSH and POP report item elements.

6 years agoMove class-specific functional descriptor definitions to their respective classes.
Dean Camera [Sun, 17 Jun 2018 03:55:06 +0000 (13:55 +1000)]
Move class-specific functional descriptor definitions to their respective classes.

6 years agoUpdate all project manufacturer strings with a generic title.
Dean Camera [Sun, 22 Apr 2018 06:10:55 +0000 (16:10 +1000)]
Update all project manufacturer strings with a generic title.

6 years agoAdd MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows.
Dean Camera [Sun, 22 Apr 2018 06:08:12 +0000 (16:08 +1000)]
Add MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows.

6 years agoFix USB_STRING_DESCRIPTOR_ARRAY() not accepting more than two byte long arrays.
Dean Camera [Sun, 22 Apr 2018 05:59:23 +0000 (15:59 +1000)]
Fix USB_STRING_DESCRIPTOR_ARRAY() not accepting more than two byte long arrays.

7 years agoFix bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden...
Dean Camera [Mon, 2 Apr 2018 04:51:18 +0000 (14:51 +1000)]
Fix bootloaders incorrectly checking the BOOTRST fuse on start (thanks to Braden Kell).

7 years agoRemove unused CDC_FUNCTIONAL_DESCRIPTOR macro.
Dean Camera [Mon, 12 Mar 2018 06:11:02 +0000 (17:11 +1100)]
Remove unused CDC_FUNCTIONAL_DESCRIPTOR macro.

7 years agoFixed CDC class Send_Device_*_P() and Send_Host_*_P() variant functions not compiled...
Dean Camera [Sun, 18 Feb 2018 08:58:33 +0000 (19:58 +1100)]
Fixed CDC class Send_Device_*_P() and Send_Host_*_P() variant functions not compiled out for UC3 architecture.

7 years agoFixed incorrect endpoint bank setup on the UC3 architecture (thanks to Andrus Aaslaid).
Dean Camera [Sun, 18 Feb 2018 06:55:12 +0000 (17:55 +1100)]
Fixed incorrect endpoint bank setup on the UC3 architecture (thanks to Andrus Aaslaid).

7 years agoEnsure USE_INTERNAL_SERIAL is set to NO_DESCRIPTOR if internal serial is disabled.
Dean Camera [Sun, 18 Feb 2018 06:49:50 +0000 (17:49 +1100)]
Ensure USE_INTERNAL_SERIAL is set to NO_DESCRIPTOR if internal serial is disabled.

7 years agoMerge pull request #121 from NicoHood/internalserial
Dean Camera [Sun, 18 Feb 2018 06:44:49 +0000 (17:44 +1100)]
Merge pull request #121 from NicoHood/internalserial

Allow user override of the USE_INTERNAL_SERIAL serial number string index (thanks to Nicohood).

7 years agoMake USE_INTERNAL_SERIAL configureable as makefile define
NicoHood [Mon, 22 Jan 2018 11:06:38 +0000 (12:06 +0100)]
Make USE_INTERNAL_SERIAL configureable as makefile define

7 years agoAdd short delays before detaching from the USB bus in the bootloaders (thanks to...
Dean Camera [Mon, 22 Jan 2018 05:27:39 +0000 (16:27 +1100)]
Add short delays before detaching from the USB bus in the bootloaders (thanks to NicoHood).

7 years agoFixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood).
Dean Camera [Mon, 22 Jan 2018 05:14:44 +0000 (16:14 +1100)]
Fixed bootloaders accepting flash writes to the bootloader region (thanks to NicoHood).

7 years agoFix CDC device driver not returning written character on putchar success.
Dean Camera [Mon, 22 Jan 2018 04:57:24 +0000 (15:57 +1100)]
Fix CDC device driver not returning written character on putchar success.

7 years agoMerge pull request #114 from NicoHood/patch-4
Dean Camera [Mon, 8 Jan 2018 10:39:31 +0000 (21:39 +1100)]
Merge pull request #114 from NicoHood/patch-4

Documentation: Corrected Hoodloader2 description.