summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index ae19e5996..29ffa1ff4 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/arch/arm/src/stm32/Kconfig
@@ -2420,3 +2420,18 @@ config STM32_USBHOST_PKTDUMP
Dump all incoming and outgoing USB packets. Depends on DEBUG.
endmenu
+
+menu "USB Device Configuration"
+
+config STM32_USB_ITRMP
+ bool "Re-map USB interrupt"
+ default n if !STM32_CAN1
+ default y if STM32_CAN1
+ depends on STM32_USB && STM32_STM32F30XX
+ ---help---
+ The legacy USB in the F1 series shared interrupt lines with USB
+ device and CAN1. In the F3 series, a hardware options was added to
+ either retain the legacy F1 behavior or to map the USB interupts to
+ there own dedicated vectors. The option is available only for the
+ F3 family and selects the use of the dedicated USB interrupts.
+