mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
STM32 F401: Only 3 USARTS, but need to set STM32_NUSARTS to six because they are not numbered sequentially
This commit is contained in:
parent
033de28cfa
commit
b01d3e396e
1 changed files with 1 additions and 1 deletions
|
|
@ -1215,7 +1215,7 @@
|
|||
# define STM32_NDMA 2 /* DMA1-2 with 8 streams each*/
|
||||
# define STM32_NSPI 4 /* SPI1-4 */
|
||||
# define STM32_NI2S 2 /* I2S1-2 (multiplexed with SPI2-3) */
|
||||
# define STM32_NUSART 3 /* USART1, 2 and 6 */
|
||||
# define STM32_NUSART 6 /* Actually only 3: USART1, 2 and 6 */
|
||||
# define STM32_NI2C 3 /* I2C1-3 */
|
||||
# define STM32_NCAN 0 /* No CAN */
|
||||
# define STM32_NSDIO 1 /* One SDIO interface */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue