summaryrefslogtreecommitdiff
path: root/src/tusb.h
diff options
context:
space:
mode:
authorSylvain Munaut <[email protected]>2019-10-24 00:42:42 +0200
committerSylvain Munaut <[email protected]>2019-10-28 16:11:08 +0100
commitec4ecfa817d6af9d35cf814d6d8d57e8bf71c605 (patch)
tree24b3b2399d2afb3498f6141cf646fc1fa290e558 /src/tusb.h
parente413c9efa303d70de019a91aa415384fe80ca78f (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/tusb.h')
-rw-r--r--src/tusb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tusb.h b/src/tusb.h
index 1a6ff0b10..bf4ad5730 100644
--- a/src/tusb.h
+++ b/src/tusb.h
@@ -87,6 +87,10 @@
#if CFG_TUD_USBTMC
#include "class/usbtmc/usbtmc_device.h"
#endif
+
+ #if CFG_TUD_DFU_RT
+ #include "class/dfu/dfu_rt_device.h"
+ #endif
#endif