Mohamed Ayman created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156

Project:Branches: mohamedayman23/rtems:fix-stm32h7-hal-potential-bugs to 
rtems/rtos/rtems:main
Author:   Mohamed Ayman



stm32h7-hal: Refactor clock and UART handling

- Introduce STM32H7_UART_TIMEOUT macro for polled UART operations.
- Refactor stm32h7_uart_polled_write to use defined timeout constant.
- Clean up stm32h7_gpio_init function and ensure type safety with RTEMS_DECONST.
- Organize peripheral clock enable/disable functions for clarity and bounds 
checking.
- Maintain consistent low-power clock handling for all modules.

AI usage: yes

Prompt used: explain this critical file and tell me the flow each function 
written by like give me the current function template and the enhanced one

AI model: gemini pro

How AI was used: for explaining the code to understand its tricks and flow and 
imoproving its sytle

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1156
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to