Skip to content

Espressif: ESP32: board target terminology is incompatible with guidelines #90807

@JarmouniA

Description

@JarmouniA

Describe the bug

When looking at https://docs.zephyrproject.org/latest/boards/espressif/esp32s3_devkitc/doc/index.html, the board target to build for is indicated as esp32s3_devkitc/esp32s3/procpu, but esp32s3 is the SoC series (as it is clear from

config SOC_SERIES_ESP32S3
) and not the actual SoC name (esp32s3_wroom_n8 in the case of this board, but it could be esp32s3_wroom_n16r8...), which should be used instead according to https://docs.zephyrproject.org/latest/hardware/porting/board_porting.html#board-terminology.

Many of ESP32 DevkitC boards come with different SoCs that differ in xSPI PSRAM & Flash sizes as indicated for ESP32-S3-DevKitC for example https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s3/esp32-s3-devkitc-1/user_guide.html#ordering-information. So to target the ESP32S3 DevkitC board variant with a different SPI Flash/PSRAM sizes than the one hard-coded (

#include <espressif/esp32s3/esp32s3_wroom_n8.dtsi>
), we need to modify the board's conf and DT instead of just doing esp32s3_devkitc/esp32s3_wroom_n16r8/procpu for example.

Regression

  • This is a regression.

Steps to reproduce

N/A

Relevant log output

Impact

Annoyance – major irritation; significant impact on usability.

Environment

  • OS: Any
  • Zephyr SDK
  • Branch: v3.7.1, v4.0, v4.1, main 11c543e

Additional Context

N/A

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions