aboutsummaryrefslogtreecommitdiffstats
path: root/usb
AgeCommit message (Collapse)AuthorFilesLines
2019-01-16removed unused USB CDC stackKévin Redon6-1226/+0
Change-Id: Ib1735ad4add9278be9a1fb730752377de99c4f4b
2019-01-16restructure and complete the USB-side DFU state machineKévin Redon1-44/+133
the USB control request are now handled in separate function depending on the direction (IN or OUT). download and manifestation are handled. numerous additional state machine fixes are included. Change-Id: I5237393c2789fdeddca2182da25ef417a2e71216
2019-01-16make USB descriptor available for the two state machinesKévin Redon2-5/+12
this is required to know the DFU bmAttributes since they affect the state machine Change-Id: Ib3907423bb9e197f53ed4522e8a5789a3d29489e
2019-01-16declare variables so the main loop can read the data to be flashed provided ↵Kévin Redon2-2/+25
by the USB stack Change-Id: I092357aad95abef1a781be1ea77944f2ea523dab
2019-01-16add initial DFU class request handlingKévin Redon1-4/+49
downloading is not supported yet, but the rest works Change-Id: I4896d73602bb1b1001c1ce3af9b98e5173b45edf
2019-01-16add documentation and fix timeout valueKévin Redon2-10/+10
Change-Id: Ia1d6ef4e4a5c9929aefd149c4e3eaf2dfe37fea8
2019-01-16fix USB enablingKévin Redon1-21/+19
Change-Id: I22cdd77648ac21490909423bf529fb31f30d6af0
2019-01-16add USB DFU descriptionKévin Redon4-0/+507
uses the USB CDC ACM example code as template to create a USB DFU description according to USB DFU specification version 1.1 USB DFU stack is under LGPLv2.1 or later license Change-Id: I7bd6cb46b734ffe8a51f2de7083b4f9e76d385e6
2019-01-09use USB CDC Echo example projectKévin Redon13-0/+3796
this is the USB CDC Echo example project source code, for the Microchip SAM E54 Xplained Pro development board, based on the ATSAME54P20A micro-controller, exported from the Atmel START website, using the ASFv4 library. Change-Id: Ic0e58e42d1a4076bc84a0a8d3509ec4b09a37f46