ports: at32: allow boards to disable OTG ports
This commit is contained in:
parent
3cc535707c
commit
5faa4304ab
|
@ -405,8 +405,12 @@
|
|||
/*
|
||||
* USB driver system settings.
|
||||
*/
|
||||
#ifndef STM32_USB_USE_OTG1
|
||||
#define STM32_USB_USE_OTG1 TRUE
|
||||
#endif /* STM32_USB_USE_OTG1 */
|
||||
#ifndef STM32_USB_USE_OTG2
|
||||
#define STM32_USB_USE_OTG2 TRUE
|
||||
#endif /* STM32_USB_USE_OTG2 */
|
||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||
|
|
Loading…
Reference in New Issue