davids5 commented on PR #8992: URL: https://github.com/apache/nuttx/pull/8992#issuecomment-1503150743
> +1 It seems that every ST architecture should be modified that way (also archaic F1, which is not so obvious reading the manual). What are your plans for this? Which ST families do you plan to modify ? 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 STM32_ADJUST_SPEED(GPIO_USART1_RX_0, GPIO_MODE_10MHz)` Also my sad tool will need to deal with MODE verses SPEED. @hartmannathan Would you be willing to do the STM32G series? -- 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