davids5 commented on PR #8992:
URL: https://github.com/apache/nuttx/pull/8992#issuecomment-1505397623

   > I looked at the F103 and the SPEED setting is coupled with making the pin 
an output. It is 0 for input.
   > 
   > ```
   > 00: Input mode (reset state)
   > 01: Output mode, max speed 10 MHz.
   > 10: Output mode, max speed 2 MHz.
   > 11: Output mode, max speed 50 MHz.
   > ```
   > 
   > So we would have to replace all SPEED_XXX with the lowest speed. Then 
provide a STM32_ADJUST_SPEED(pinset, speed) macro. to allow changing it at the 
board level.
   > 
   
   #define GPIO_USART1_RX STM32F1_ADJUST_MODE(GPIO_USART1_RX_0, 
GPIO_MODE_10MHz)`
   
   @slorquet,  @raiden00pl does this seem like a reasonable approach?
   
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to