diff options
| author | Sylvain Munaut <[email protected]> | 2019-10-24 00:42:42 +0200 |
|---|---|---|
| committer | Sylvain Munaut <[email protected]> | 2019-10-28 16:11:08 +0100 |
| commit | ec4ecfa817d6af9d35cf814d6d8d57e8bf71c605 (patch) | |
| tree | 24b3b2399d2afb3498f6141cf646fc1fa290e558 /src/common | |
| parent | e413c9efa303d70de019a91aa415384fe80ca78f (diff) | |
Add support for DFU Runtime class for devices
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.
That latter part is delegated to the app since this is platform
specific.
Signed-off-by: Sylvain Munaut <[email protected]>
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index ad42baad7..737b17f76 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -86,6 +86,8 @@ typedef enum TUSB_DESC_BOS = 0x0F,
TUSB_DESC_DEVICE_CAPABILITY = 0x10,
+ TUSB_DESC_FUNCTIONAL = 0x21,
+
// Class Specific Descriptor
TUSB_DESC_CS_DEVICE = 0x21,
TUSB_DESC_CS_CONFIGURATION = 0x22,
|
