tmedicci commented on issue #14550: URL: https://github.com/apache/nuttx/issues/14550#issuecomment-2451731269
> Taking the `stm32` example, it depends on `armv7-m` which further depends on `common`. Here both `armv7-m` and `common` are subfolders in `arch/arm/src` and are not chip specific. Yes, exactly! This is confusing: if `armv7-m` is not a chip by itself, it should be moved to `common` because it provides source code to more than one chip of different vendors (I supposed about the various vendors). It isn't only about the path, but Kconfig and build-related files need to be adjusted to include "common" files, some of the "common" source files are in a sub-directory called `common`, others are in the same directory level. It isn't that easy to figure out that... See, NuttX is growing and people are interested in supporting more devices: we need to create a clear path for our sources. We had that for RISC-V and Xtensa-based devices: we just kept using the same logic. -- 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]
