Richard Hughes
ff3efe77b4
trivial: Fix the DFU self tests when the ColorHug+ is connected
2017-11-13 14:07:50 +00:00
Richard Hughes
d25e2d543a
trivial: Add some self tests that use the Atmel Xplained boards in DFU mode
...
This does mean the tests have to be run as root to work, but they are just
skipped if run as a user.
2017-11-07 12:40:25 +00:00
Richard Hughes
24c452297d
dfu: Use the FuQuirk infrastructure to move the quirks out of the code
...
This is slightly more verbose than desired as we also have to include the quirk
information when running the dfu-tool, which does not have an already set-up
FuQuirks object as it has no plugin.
2017-11-02 19:08:51 +00:00
Richard Hughes
78c1e6c009
dfu: Correctly output Intel HEX files with > 16bit offset addresses
...
Also, fix the checksum to actually produce valid files...
2017-10-31 18:30:05 +00:00
Richard Hughes
c314b89316
dfu: Add DfuChunked
...
This allows us to segment a buffer taking into account page borders and maximum
transfer sizes.
2017-10-31 18:30:05 +00:00
Richard Hughes
9e79223ecf
trivial: C99ify more for-loops
2017-09-28 09:23:52 +01:00
Richard Hughes
b3c13461e9
trivial: Use the error domain from libfwupd
...
This means we don't need to convert the error code in the dfu plugin.
2017-09-08 13:33:34 +01:00
Richard Hughes
a81ee67356
dfu: Use FuDeviceLocker
2017-09-07 19:00:51 +01:00
Richard Hughes
68480a2069
trivial: Move the libdfu sources to the dfu plugin
2017-09-07 18:39:23 +01:00