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

   ## Summary
   
   Public API names were normalized to stm32_* equivalents (including 
timer/lptimer/dma/freerun API-facing types).
   Also the root family header was renamed from `stm32<family_prefix>.h` to 
cannonical `stm32.h`.
   
   The biggest changes affect stm32l4 and all later ports that were based on it 
(stm32l5, stm32wb, stm32wl5). The rest of the ports created an API without any 
rules; some functions had a family prefix in their name, some didn't. It wasn't 
even consistent within the same family. From now on, all ports use the same API 
names starting with "stm32_*". No more confusion about whether to use a prefix 
or not, and no more problems when porting code from one stm32 board to another.
   
   This is a necessary step to create a common board for all STM32 and to 
generalize peripheral drivers. 
   
   Part of https://github.com/apache/nuttx/pull/19004
   
   ## Impact
   
   **BREAKING CHANGE:** Public STM32 interfaces for F7, H5, H7, L4, L5, WB, WL5 
 were renamed from `stm32<family_prefix>_*` forms to canonical `stm32_*` forms 
across arch and board headers/sources.
   
   Migration to the new API is simple and comes down to replacing the name with 
a prefix with the name without a prefix, for example "stm32l4_" -> "stm32_", 
and change includes from "stm32l4.h" to "stm32.h"
   
   ## Testing
   
   CI
   


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