summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-07 13:25:41 +0700
committerhathach <[email protected]>2018-03-07 13:25:41 +0700
commit889169d4d06266e1f827e79259a1ac1aac1bbcb3 (patch)
tree40a5548c9eb06687e2f5a4a60bd0976e80e9147b /tinyusb
parentacea45c094f574e4c3da13d3cbd2b4d65dd33566 (diff)
add new example device_virtual_com
Diffstat (limited to 'tinyusb')
-rw-r--r--tinyusb/tusb_option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h
index 9e2a4576e..377d3756e 100644
--- a/tinyusb/tusb_option.h
+++ b/tinyusb/tusb_option.h
@@ -119,6 +119,9 @@
#error TUSB_CFG_ATTR_USBRAM is not defined, please help me know how to place data in accessible RAM for usb controller
#endif
+#ifndef TUSB_OS_NONE
+#define TUSB_CFG_OS TUSB_OS_NONE
+#endif
#if (TUSB_CFG_OS != TUSB_OS_NONE) && !defined (TUSB_CFG_OS_TASK_PRIO)
#error TUSB_CFG_OS_TASK_PRIO need to be defined (hint: use the highest if possible)