dirksavage88 opened a new issue, #8218:
URL: https://github.com/apache/nuttx/issues/8218

   The higher density stm32f103Rx chips (such as the stm32f103ret6) have UART4 
& UART5. These UARTS are missing from the following pinmap:
   
   
https://github.com/apache/nuttx/blob/fac10b6ebdec6d98f8b833137153ec43e71d706d/arch/arm/src/stm32/hardware/stm32f103r_pinmap.h#L271
   
   Adding the following lines would fix this issue:
   
   ```
   #define GPIO_UART4_RX       
(GPIO_INPUT|GPIO_CNF_INFLOAT|GPIO_MODE_INPUT|GPIO_PORTC|GPIO_PIN11)
   #define GPIO_UART4_TX       
(GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTC|GPIO_PIN10)
   
   #define GPIO_UART5_RX       
(GPIO_INPUT|GPIO_CNF_INFLOAT|GPIO_MODE_INPUT|GPIO_PORTD|GPIO_PIN2)
   #define GPIO_UART5_TX       
(GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTC|GPIO_PIN12)
   ```
   
   However I am not sure if this would cause a breaking change on the lower 
density chips that do not have these UARTS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to