summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index f5ee003308..d59b259fb9 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -721,15 +721,19 @@ Lyre prototype 1 */
721 721
722#define HAVE_SEMAPHORE_OBJECTS 722#define HAVE_SEMAPHORE_OBJECTS
723 723
724#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_ARC 724#ifdef HAVE_USBSTACK
725#if CONFIG_USBOTG == USBOTG_ARC
725#define USB_STATUS_BY_EVENT 726#define USB_STATUS_BY_EVENT
726#define USB_DETECT_BY_DRV 727#define USB_DETECT_BY_DRV
727#define INCLUDE_TIMEOUT_API 728#define INCLUDE_TIMEOUT_API
728#endif /* HAVE_USBSTACK && USBOTG_ARC */ 729#elif CONFIG_USBOTG == USBOTG_AS3525
729 730#define USB_STATUS_BY_EVENT
730#if defined(HAVE_USBSTACK) && CONFIG_USBOTG == USBOTG_AS3525
731#define USB_DETECT_BY_DRV 731#define USB_DETECT_BY_DRV
732#endif /* HAVE_USBSTACK && USBOTG_AS3525 */ 732#elif CONFIG_USBOTG == USBOTG_AS3525v2
733#define USB_STATUS_BY_EVENT
734#define USB_DETECT_BY_CORE
735#endif /* CONFIG_USB == */
736#endif /* HAVE_USBSTACK */
733 737
734#endif /* BOOTLOADER */ 738#endif /* BOOTLOADER */
735 739