HAL_ChibiOS: allow more OTG defines to be overridden
This commit is contained in:
parent
33a87194dc
commit
713006bb1d
@ -355,13 +355,27 @@
|
||||
/*
|
||||
* USB driver system settings.
|
||||
*/
|
||||
#ifndef STM32_USB_OTG1_IRQ_PRIORITY
|
||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||
#endif
|
||||
#ifndef STM32_USB_OTG2_IRQ_PRIORITY
|
||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||
#endif
|
||||
#ifndef STM32_USB_OTG1_RX_FIFO_SIZE
|
||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||
#endif
|
||||
#ifndef STM32_USB_OTG2_RX_FIFO_SIZE
|
||||
#define STM32_USB_OTG2_RX_FIFO_SIZE 1024
|
||||
#endif
|
||||
#ifndef STM32_USB_OTG_THREAD_PRIO
|
||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||
#endif
|
||||
#ifndef STM32_USB_OTG_THREAD_STACK_SIZE
|
||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||
#endif
|
||||
#ifndef STM32_USB_OTGFIFO_FILL_BASEPRI
|
||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||
#endif
|
||||
|
||||
/*
|
||||
* WDG driver system settings.
|
||||
|
Loading…
Reference in New Issue
Block a user