tinnedkarma opened a new pull request, #17978:
URL: https://github.com/apache/nuttx/pull/17978

   ## Summary
   
   Some time ago I've learned about the nuttx's clk framework. My work being 
mostly on stm32h7 mcu's I've some nucleo boards to spare.
   
   I've worked in my space time on moving the reset and clock configuration to 
this clk framework.
   
   It is starting to get some shape although I'm kinda worried that is not 
really the "embedded" way of doing things.
   
   It uses more (by 100% some can say) ram usage to store the clk structs, the 
clk file part of the procfs needs 10kb ram just to generate the output buffer.
   
   That being said, there are lot's of reasons to use this approach, at least 
of this beefy stm32h7 mcu family.
   It simplifies a lot the clock interaction
   
   I'll keep this in draft to see if there is any use of these changes. Anyone 
is free, or encouraged, to have a look over this changes, although lots of 
things still missing, the stm32_rcc.c file is close to something final.
   
   ## Impact
   
   Should be considered **breaking change**.
   Lot's of things will differ. 
   * The previous clock configuration was done in the *board.h* while the 
initialization was done in some *stm32_clkconfig* function.
   * usart driver will be reworked to adapt the new clk config.
   * timers?? not yet there but most probably there should be changes as well.
   * small changes thru ought the stm3h7 family will be touched
   
   ## Testing
   
   This is still work in progress, so, not many tests, other than the 
development lifecycle
   


-- 
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