stm32_otghshost: if STM32F446 increase number of channels to 16
This commit is contained in:
parent
44668c00a0
commit
a03d26e88d
@ -139,11 +139,16 @@
|
||||
/* HCD Setup *******************************************************************/
|
||||
/* Hardware capabilities */
|
||||
|
||||
#define STM32_NHOST_CHANNELS 12 /* Number of host channels */
|
||||
#if defined(CONFIG_STM32_STM32F446)
|
||||
# define STM32_NHOST_CHANNELS 16 /* Number of host channels */
|
||||
# define STM32_MAX_TX_FIFOS 16 /* Max number of TX FIFOs */
|
||||
#else
|
||||
# define STM32_NHOST_CHANNELS 12 /* Number of host channels */
|
||||
# define STM32_MAX_TX_FIFOS 12 /* Max number of TX FIFOs */
|
||||
#endif
|
||||
#define STM32_MAX_PACKET_SIZE 64 /* Full speed max packet size */
|
||||
#define STM32_EP0_DEF_PACKET_SIZE 8 /* EP0 default packet size */
|
||||
#define STM32_EP0_MAX_PACKET_SIZE 64 /* EP0 HS max packet size */
|
||||
#define STM32_MAX_TX_FIFOS 12 /* Max number of TX FIFOs */
|
||||
#define STM32_MAX_PKTCOUNT 256 /* Max packet count */
|
||||
#define STM32_RETRY_COUNT 3 /* Number of ctrl transfer retries */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user