mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp32c6: add minimal ci support
- enable build_template_app - enable check public headers - enable g0 components dependency check
This commit is contained in:
parent
1eb9a24a48
commit
fca7d70e05
@ -92,6 +92,7 @@ check_public_headers:
|
||||
- IDF_TARGET=esp32s3 python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32s3-elf-
|
||||
- IDF_TARGET=esp32c3 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
|
||||
- IDF_TARGET=esp32c2 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
|
||||
- IDF_TARGET=esp32c6 python tools/ci/check_public_headers.py --jobs 4 --prefix riscv32-esp-elf-
|
||||
|
||||
check_chip_support_components:
|
||||
extends:
|
||||
|
16
examples/common_components/env_caps/esp32c6/Kconfig.env_caps
Normal file
16
examples/common_components/env_caps/esp32c6/Kconfig.env_caps
Normal file
@ -0,0 +1,16 @@
|
||||
config ENV_GPIO_RANGE_MIN
|
||||
int
|
||||
default 0
|
||||
|
||||
config ENV_GPIO_RANGE_MAX
|
||||
int
|
||||
default 30
|
||||
# GPIOs 16/17 are always used by UART in examples
|
||||
|
||||
config ENV_GPIO_IN_RANGE_MAX
|
||||
int
|
||||
default ENV_GPIO_RANGE_MAX
|
||||
|
||||
config ENV_GPIO_OUT_RANGE_MAX
|
||||
int
|
||||
default ENV_GPIO_RANGE_MAX
|
@ -62,7 +62,7 @@ build_stage2() {
|
||||
--build-log ${BUILD_LOG_CMAKE} \
|
||||
--size-file size.json \
|
||||
--collect-size-info size_info.txt \
|
||||
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3 # add esp32h2 back after IDF-5541
|
||||
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32c6 # add esp32h2 back after IDF-5541
|
||||
}
|
||||
|
||||
build_stage1() {
|
||||
@ -76,7 +76,7 @@ build_stage1() {
|
||||
--build-log ${BUILD_LOG_CMAKE} \
|
||||
--size-file size.json \
|
||||
--collect-size-info size_info.txt \
|
||||
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32h2
|
||||
--default-build-targets esp32,esp32s2,esp32s3,esp32c2,esp32c3,esp32h2,esp32c6
|
||||
}
|
||||
|
||||
# Default arguments
|
||||
|
@ -95,7 +95,7 @@ tools/test_apps/system/flash_psram:
|
||||
|
||||
tools/test_apps/system/g0_components:
|
||||
enable:
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET == "esp32h2"
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32h2", "esp32c6"] # preview targets
|
||||
|
||||
tools/test_apps/system/g1_components:
|
||||
disable:
|
||||
|
@ -0,0 +1,5 @@
|
||||
CONFIG_IDF_TARGET="esp32c6"
|
||||
CONFIG_HAL_WDT_USE_ROM_IMPL=y
|
||||
CONFIG_HAL_SYSTIMER_USE_ROM_IMPL=y
|
||||
CONFIG_HEAP_TLSF_USE_ROM_IMPL=y
|
||||
CONFIG_SPI_FLASH_ROM_IMPL=y
|
@ -0,0 +1,5 @@
|
||||
CONFIG_IDF_TARGET="esp32c6"
|
||||
CONFIG_HAL_WDT_USE_ROM_IMPL=n
|
||||
CONFIG_HAL_SYSTIMER_USE_ROM_IMPL=n
|
||||
CONFIG_HEAP_TLSF_USE_ROM_IMPL=n
|
||||
CONFIG_SPI_FLASH_ROM_IMPL=n
|
@ -0,0 +1,2 @@
|
||||
CONFIG_IDF_TARGET="esp32c6"
|
||||
CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y
|
@ -28,7 +28,7 @@ project(g0_components)
|
||||
|
||||
# As a workaround for ESP32-C2, we need to define the MMU page size here, until MMU hal-driver
|
||||
# is refactored
|
||||
if(CONFIG_IDF_TARGET_ESP32C2)
|
||||
if(CONFIG_IDF_TARGET_ESP32C2 OR CONFIG_IDF_TARGET_ESP32C6)
|
||||
idf_build_set_property(C_COMPILE_OPTIONS "-DCONFIG_MMU_PAGE_SIZE=64" APPEND)
|
||||
endif()
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||
|
||||
# "G0"-components-only app
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user