arjav1528 opened a new pull request, #18828: URL: https://github.com/apache/nuttx/pull/18828
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Extends the NuttX **CMake** flow for Espressif targets that were mainly covered by Make before. - **Xtensa (`arch/xtensa`):** Shared Espressif Xtensa CMake under `arch/xtensa/src/common/espressif/`, plus chip `CMakeLists.txt` / `hal_*.cmake` for **ESP32**, **ESP32-S2**, and **ESP32-S3** (HAL includes via `ESP_HAL_3RDPARTY_REPO` / `CHIP_SERIES`). - **Boards (`boards/xtensa`):** `CMakeLists.txt` for **common**, **common/src**, and **esp32-devkitc**, **esp32s2-saola-1**, **esp32s3-devkit**. - **Legacy RISC-V:** CMake for **esp32c3-legacy** and **esp32c3-legacy-devkit** (`hal_esp32c3-legacy.cmake` and board/common CMake). Additive build-system files only; no runtime OS logic changes in this PR. ## Impact - **Users:** CMake builds for the listed Xtensa boards and `esp32c3-legacy-devkit` gain explicit wiring; Make builds are unaffected by these files. - **Build / hardware:** As above; no Kconfig changes in this scope. - **Docs / security / compatibility:** No doc changes; no new security surface; backward compatible for Make users. ## Testing **Hardware:** I do **not** have Espressif boards available, so I could **not** flash images, exercise the serial console, or run on-target tests (e.g. NSH, drivers). **Build / CI:** This change is CMake-only (new `CMakeLists.txt` / `.cmake` wiring). Please rely on **NuttX CI** and/or a maintainer/local build with the documented Espressif toolchains and `esp-hal-3rdparty` checkout for full configure + link verification, for example: ```text cd nuttx cmake -B build -DBOARD_CONFIG=esp32-devkitc:nsh -GNinja cmake --build build -- 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]
