summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/tusb_option.h')
-rw-r--r--tinyusb/tusb_option.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tinyusb/tusb_option.h b/tinyusb/tusb_option.h
index 025d3a0af..ba1ebf1e1 100644
--- a/tinyusb/tusb_option.h
+++ b/tinyusb/tusb_option.h
@@ -68,7 +68,12 @@
/// define this symbol will make tinyusb look for external configure file
#include "mcu_capacity.h"
-#include "tusb_config.h"
+
+#ifdef TUSB_CFG_CONFIG_FILE
+ #include TUSB_CFG_CONFIG_FILE
+#else
+ #include "tusb_config.h"
+#endif
//--------------------------------------------------------------------+
// CONTROLLER