tmedicci commented on issue #14550: URL: https://github.com/apache/nuttx/issues/14550#issuecomment-2447754135
I prefer to keep it in `common` folder because it's common to all Espressif SoCs. We used to have something like that and named the RISC-V-based SoCs just as `espressif`. This old organization was very confusing and we always had people asking about the SoCs. Then, we revert it to make it easier to identify what is a common code source and what is specific to a chip only. See, `nuttx/arch/risc-v/src` contains chips (and `espressif` isn't a chip). These chips may (or not) use a common code base (the code at `arch/risc-v/src/commmon/espressif`) or implement their own version of some peripheral/driver. The current organization allows doing that more straightforward. We thought a lot about the location of these folders trying to keep a consistency between existing and yet-to-be-supported SoCs on NuttX. -- 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]
