Updated all the STM32F4 mcuconf files because the new OTG options.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5221 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
24f6e5ca62
commit
086b5de61e
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 TRUE
|
#define STM32_USB_USE_OTG1 TRUE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -268,6 +268,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 TRUE
|
#define STM32_USB_USE_OTG1 TRUE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -275,5 +277,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -266,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -266,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -884,8 +884,9 @@ void usb_lld_start(USBDriver *usbp) {
|
||||||
/* OTG HS clock enable and reset.*/
|
/* OTG HS clock enable and reset.*/
|
||||||
#if STM32_USE_USB_OTG2_ULPI
|
#if STM32_USE_USB_OTG2_ULPI
|
||||||
rccEnableAHB1((RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN |
|
rccEnableAHB1((RCC_AHB1ENR_GPIOAEN | RCC_AHB1ENR_GPIOBEN |
|
||||||
RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIOHEN | RCC_AHB1ENR_GPIOIEN),
|
RCC_AHB1ENR_GPIOCEN | RCC_AHB1ENR_GPIOHEN |
|
||||||
FALSE);
|
RCC_AHB1ENR_GPIOIEN),
|
||||||
|
FALSE);
|
||||||
rccEnableAHB1(RCC_AHB1ENR_OTGHSULPIEN, FALSE);
|
rccEnableAHB1(RCC_AHB1ENR_OTGHSULPIEN, FALSE);
|
||||||
#endif
|
#endif
|
||||||
rccEnableOTG_HS(FALSE);
|
rccEnableOTG_HS(FALSE);
|
||||||
|
@ -908,7 +909,7 @@ void usb_lld_start(USBDriver *usbp) {
|
||||||
usbp);
|
usbp);
|
||||||
|
|
||||||
/* - Forced device mode.
|
/* - Forced device mode.
|
||||||
- USB turn-around time = TRDT_VALUE. */
|
- USB turn-around time = TRDT_VALUE.*/
|
||||||
#if STM32_USE_USB_OTG2_ULPI
|
#if STM32_USE_USB_OTG2_ULPI
|
||||||
/* High speed ULPI PHY */
|
/* High speed ULPI PHY */
|
||||||
otgp->GUSBCFG = GUSBCFG_FDMOD | GUSBCFG_TRDT(TRDT_VALUE) | GUSBCFG_SRPCAP | GUSBCFG_HNPCAP;
|
otgp->GUSBCFG = GUSBCFG_FDMOD | GUSBCFG_TRDT(TRDT_VALUE) | GUSBCFG_SRPCAP | GUSBCFG_HNPCAP;
|
||||||
|
@ -917,7 +918,6 @@ void usb_lld_start(USBDriver *usbp) {
|
||||||
otgp->GUSBCFG = GUSBCFG_FDMOD | GUSBCFG_TRDT(TRDT_VALUE) | GUSBCFG_PHYSEL;
|
otgp->GUSBCFG = GUSBCFG_FDMOD | GUSBCFG_TRDT(TRDT_VALUE) | GUSBCFG_PHYSEL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if STM32_USE_USB_OTG2_HS
|
#if STM32_USE_USB_OTG2_HS
|
||||||
/* USB 2.0 High Speed PHY.*/
|
/* USB 2.0 High Speed PHY.*/
|
||||||
otgp->DCFG = 0x02200000 | DCFG_DSPD_HS;
|
otgp->DCFG = 0x02200000 | DCFG_DSPD_HS;
|
||||||
|
@ -931,17 +931,15 @@ void usb_lld_start(USBDriver *usbp) {
|
||||||
|
|
||||||
if (&USBD2 == usbp) {
|
if (&USBD2 == usbp) {
|
||||||
#if STM32_USE_USB_OTG2_ULPI
|
#if STM32_USE_USB_OTG2_ULPI
|
||||||
otgp->GCCFG = 0;
|
otgp->GCCFG = 0;
|
||||||
#else
|
#else
|
||||||
otgp->GCCFG = GCCFG_VBUSASEN | GCCFG_VBUSBSEN | GCCFG_PWRDWN;
|
otgp->GCCFG = GCCFG_VBUSASEN | GCCFG_VBUSBSEN | GCCFG_PWRDWN;
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
/* Internal FS PHY activation.*/
|
/* Internal FS PHY activation.*/
|
||||||
otgp->GCCFG = GCCFG_VBUSASEN | GCCFG_VBUSBSEN | GCCFG_PWRDWN;
|
otgp->GCCFG = GCCFG_VBUSASEN | GCCFG_VBUSBSEN | GCCFG_PWRDWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Soft core reset.*/
|
/* Soft core reset.*/
|
||||||
otg_core_reset(usbp);
|
otg_core_reset(usbp);
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,14 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief ULPI support for OTH-HS.
|
* @brief High Speed support for OTG-HS.
|
||||||
|
*/
|
||||||
|
#if !defined(STM32_USE_USB_OTG2_HS) || defined(__DOXYGEN__)
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief ULPI support for OTG-HS.
|
||||||
*/
|
*/
|
||||||
#if !defined(STM32_USE_USB_OTG2_ULPI) || defined(__DOXYGEN__)
|
#if !defined(STM32_USE_USB_OTG2_ULPI) || defined(__DOXYGEN__)
|
||||||
#define STM32_USE_USB_OTG2_ULPI FALSE
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 FALSE
|
#define STM32_USB_USE_OTG1 FALSE
|
||||||
#define STM32_USB_USE_OTG2 FALSE
|
#define STM32_USB_USE_OTG2 FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -257,6 +257,8 @@
|
||||||
*/
|
*/
|
||||||
#define STM32_USB_USE_OTG1 TRUE
|
#define STM32_USB_USE_OTG1 TRUE
|
||||||
#define STM32_USB_USE_OTG2 TRUE
|
#define STM32_USB_USE_OTG2 TRUE
|
||||||
|
#define STM32_USE_USB_OTG2_HS FALSE
|
||||||
|
#define STM32_USE_USB_OTG2_ULPI FALSE
|
||||||
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
#define STM32_USB_OTG1_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
#define STM32_USB_OTG2_IRQ_PRIORITY 14
|
||||||
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
#define STM32_USB_OTG1_RX_FIFO_SIZE 512
|
||||||
|
@ -264,5 +266,3 @@
|
||||||
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
|
||||||
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
#define STM32_USB_OTG_THREAD_STACK_SIZE 128
|
||||||
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue