ports: at32: allow boards to disable OTG ports

This commit is contained in:
Andrey Gusakov 2023-11-11 23:05:24 +03:00 committed by rusefillc
parent 3cc535707c
commit 5faa4304ab
1 changed files with 4 additions and 0 deletions

View File

@ -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