Skip to content

boards/risc-v: CMake added esp32c6-xiao and esp32p4-pico-wifi-wareshare boards#18706

Merged
fdcavalcanti merged 2 commits intoapache:masterfrom
simbit18:simbit18-risc-v
Apr 10, 2026
Merged

boards/risc-v: CMake added esp32c6-xiao and esp32p4-pico-wifi-wareshare boards#18706
fdcavalcanti merged 2 commits intoapache:masterfrom
simbit18:simbit18-risc-v

Conversation

@simbit18
Copy link
Copy Markdown
Contributor

Summary

esp32c6

  • CMake added esp32c6-xiao board

esp32p4

  • CMake added esp32p4-pico-wifi-wareshare board

Impact

Impact on user: This PR adds esp32c6-xiao and esp32p4-pico-wifi-wareshare boards with CMake build

Impact on build: NO

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

esp32c6-xiao:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=esp32c6-xiao:nsh -DNXTMPDIR=on -GNinja
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
--   ENV{PROCESSOR_ARCHITECTURE} = AMD64
  Select HOST_WINDOWS=y
  Select WINDOWS_NATIVE=y
--   CMake:  3.31.5
--   Ninja:  1.12.1
--   Board:  esp32c6-xiao
--   Config: nsh
--   Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
   TOOLS_DIR path is "D:/nuttxtmp/nuttx"-- CMake system name: Windows
-- CMake host system processor: AMD64

   HOST = WINDOWS NATIVE
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/nx20250410/tools/riscv-none-elf-gcc/bin/riscv-none-elf-gcc.exe
-- COMMIT SHA-1: b7e51db97a3f9dc82d3b3524d2bad298ba1e2647
HEAD is now at 582ff4820 feat(drivers): ESP-HMAC opaque driver
-- Copying from D:/nuttxtmp/nxtmpdir/esp-hal-3rdparty to D:/nuttxtmp/nuttx/build/arch/risc-v/src/common/espressif/esp-hal-3rdparty
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (26.1s)
-- Generating done (2.5s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1365/1365] Running utility command for nuttx_post_build
-- Generate NuttX image (esptool elf2image)
esptool v5.2.0
Creating ESP32-C6 image...
Image has only RAM segments visible. ROM segments are hidden and SHA256 digest is not appended.
Note: Inserting 63628 bytes padding between .flash.text and .flash.rodata
Note: Inserting 4 bytes padding between .iram0.text and .dram0.data
Merged 2 ELF sections.
Successfully created ESP32-C6 image.
-- Generated: nuttx.bin

esp32p4-pico-wifi-wareshare:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=esp32p4-pico-wifi-wareshare:nsh -DNXTMPDIR=on -GNinja
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Initializing NuttX
Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
--   ENV{PROCESSOR_ARCHITECTURE} = AMD64
  Select HOST_WINDOWS=y
  Select WINDOWS_NATIVE=y
--   CMake:  3.31.5
--   Ninja:  1.12.1
--   Board:  esp32p4-pico-wifi-wareshare
--   Config: nsh
--   Appdir: D:/nuttxtmp/apps
-- Building for: Ninja
-- The C compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- NuttX Host Tools
-- CMake C compiler: GNU
-- CMake system name: Windows
-- CMake host system processor: AMD64
   TOOLS_DIR path is "D:/nuttxtmp/nuttx"
   HOST = WINDOWS NATIVE
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/nx20250410/tools/riscv-none-elf-gcc/bin/riscv-none-elf-gcc.exe
-- COMMIT SHA-1: b7e51db97a3f9dc82d3b3524d2bad298ba1e2647
HEAD is now at 582ff4820 feat(drivers): ESP-HMAC opaque driver
-- Copying from D:/nuttxtmp/nxtmpdir/esp-hal-3rdparty to D:/nuttxtmp/nuttx/build/arch/risc-v/src/common/espressif/esp-hal-3rdparty
-- nuttx_add_subdirectory: Skipping cxx-oot-build
-- Configuring done (27.7s)
-- Generating done (2.6s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[1348/1348] Running utility command for nuttx_post_build
-- Generate NuttX image (esptool elf2image)
esptool v5.2.0
Creating ESP32-P4 image...
Image has only RAM segments visible. ROM segments are hidden and SHA256 digest is not appended.
Merged 2 ELF sections.
Successfully created ESP32-P4 image.
-- Generated: nuttx.bin


 - CMake added esp32c6-xiao board

Signed-off-by: simbit18 <[email protected]>
 - CMake added esp32p4-pico-wifi-wareshare board

Signed-off-by: simbit18 <[email protected]>
@github-actions github-actions Bot added Size: M The size of the change in this PR is medium Board: risc-v labels Apr 10, 2026
@fdcavalcanti fdcavalcanti merged commit e1c8f21 into apache:master Apr 10, 2026
18 checks passed
@simbit18 simbit18 deleted the simbit18-risc-v branch April 12, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: risc-v Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants