jerpelea opened a new pull request, #19208: URL: https://github.com/apache/nuttx/pull/19208
## Summary Unify all Kconfig options for STM32 ports and use standard CONFIG_STM32_* for all families. All common STM32 Kconfig options are placed in arch/arm/src/common/stm32 which is consistent with other architectures that use a common directory approach in arch: https://github.com/apache/nuttx/tree/master/arch/risc-v/src/common/espressif Other places I considered for common STM32 options and sources are arch/arm/src/st/ or arch/arm/src/stm32, but this can be changed later since it will be simple git mv operation so it won't have much impact on the user. From now on, all families simply use CONFIG_STM32_* and this rule will be included in the STM32 porting guide. Family specific options are still possible (if we ever need to use them) and should go to family specific Kconfig. This PR also organizes Kconfig options for STM32 into smaller files that are easier to view and maintain. No longer huge Kconfig file with all options. At this moment, many options have complicated conditions for "depends on" and "select", this is a result of inconsistency between ports, and will be gradually cleaned up in the future. Some helper options will also be removed or generalized later. However, this requires careful human analysis and cannot be automated. I'll take it step by step later. This is the final step in normalization of STM32 ports, after this PR all Kconfig options has the same format and API is unified. With this change we will be able to use the same arch and boards code between families Includes https://github.com/apache/nuttx/pull/19142 ## Impact RELEASE ## 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]
