davids5 commented on PR #10328: URL: https://github.com/apache/nuttx/pull/10328#issuecomment-1686278328
> > I find CONFIG_ARCH_CHIP_STM32H7_CORTEXM7 confusing. I am wondering if something like CONFIG_ARCH_CHIP_STM32H7_DUAL_CORE_IS_M7 and > > CONFIG_ARCH_CHIP_STM32H7_DUAL_CORE_IS_M4 would be better? > > @davids5 I'm not sure about that. `CONFIG_ARCH_CHIP_STM32H7_DUAL_CORE_IS_M7` can also be confusing as we need that flag in both dual core and single core scenario. We can drop `DUAL_CORE` part and have `CONFIG_ARCH_CHIP_STM32H7_IS_M7` but I don't know if it's better than what it is now. `CORTEXM7`/`CORTEXM4` seems to be more obvious. Maybe `CONFIG_ARCH_CHIP_STM32H7_IS_CORTEXM7` or `CONFIG_ARCH_CHIP_STM32H7_IS_CM7` ? > > `CONFIG_ARCH_CHIP_STM32H7_CORTEXM7` is an evolution of `CONFIG_ARCH_CORTEXM7` In my mind. I want to compartmentalize the dual core. So if that part number of the part is a dual core I see dual core files and settings. If it is not I do not. I feel the naming of things that are specific to dual code, should indicate that. Hence adding something like `CONFIG_ARCH_CHIP_STM32H7_DUAL_CORE_IS_M7` helps with that compartmentalization. The actual name could be more succinct. But the idea is where there is an intersection in dual core/non dual core is is clear. @raiden00pl I am not as close to the problem or the solution space as you are, but my gut reaction is to duplicate the header files and remove some of the x in the naming to the fully defined STM32H745/755 and STM32H747/757 naming. -- 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]
