soc: espressif: move core identifiers esp32 and esp32s3 to Kconfig.soc

Move the Kconfig symbols SOC_ESP32_PROCPU, SOC_ESP32_APPCPU,
SOC_ESP32S3_PROCPU, and SOC_ESP32S3_APPCPU.

The CPU cluster is defined in espessifc/soc.yml and should therefore
be available in the HWMv2 Kconfig.soc tree.

This will allow sysbuild to test for the CPU cluster when targeting
remote board for a build.

Update espressif boards accordingly.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2024-03-04 11:18:57 +01:00 committed by Carles Cufí
commit 4370847c75
40 changed files with 56 additions and 128 deletions

View file

@ -34,16 +34,6 @@ config ESP32_APPCPU_DRAM
help
Defines APPCPU DRAM area in bytes.
config SOC_ESP32_PROCPU
bool
help
This hidden configuration defines that build is targeted for PROCPU (core 0).
config SOC_ESP32_APPCPU
bool
help
This hidden configuration defines that build is targeted for APPCPU (core 1).
config SOC_ENABLE_APPCPU
bool
default y

View file

@ -122,6 +122,16 @@ config SOC_ESP32
help
ESP32
config SOC_ESP32_PROCPU
bool
help
This hidden configuration defines that build is targeted for PROCPU (core 0).
config SOC_ESP32_APPCPU
bool
help
This hidden configuration defines that build is targeted for APPCPU (core 1).
config SOC_SERIES
default "esp32" if SOC_SERIES_ESP32

View file

@ -31,16 +31,6 @@ config ESP32S3_APPCPU_DRAM
help
Defines APPCPU DRAM area in bytes.
config SOC_ESP32S3_PROCPU
bool
help
This hidden configuration defines that build is targeted for PROCPU (core 0).
config SOC_ESP32S3_APPCPU
bool
help
This hidden configuration defines that build is targeted for APPCPU (core 1).
config SOC_ENABLE_APPCPU
bool
default y

View file

@ -116,6 +116,16 @@ config SOC_ESP32S3
help
ESP32S3
config SOC_ESP32S3_PROCPU
bool
help
This hidden configuration defines that build is targeted for PROCPU (core 0).
config SOC_ESP32S3_APPCPU
bool
help
This hidden configuration defines that build is targeted for APPCPU (core 1).
config SOC_SERIES
default "esp32s3" if SOC_SERIES_ESP32S3