Przeglądaj źródła

ci(system): re-enable build test app for C2 and C6, clean up configs

Since we can use CONFIG_NAME now to specify build rules, we don't need
to have target-specific config files.
Ivan Grokhotkov 2 lat temu
rodzic
commit
2fe4fe2c19

+ 6 - 0
tools/test_apps/.build-test-rules.yml

@@ -76,6 +76,12 @@ tools/test_apps/system/bootloader_sections:
 
 tools/test_apps/system/build_test:
   disable:
+    # For ROM impl build tests, disable them if none of the tested features are supported in the ROM
+    - if: CONFIG_NAME == "rom_impl_components" and ((ESP_ROM_HAS_HAL_WDT != 1  and ESP_ROM_HAS_HAL_SYSTIMER != 1) and (ESP_ROM_HAS_HEAP_TLSF != 1 and ESP_ROM_HAS_SPI_FLASH != 1))
+    - if: CONFIG_NAME == "no_rom_impl_components" and ((ESP_ROM_HAS_HAL_WDT != 1 and ESP_ROM_HAS_HAL_SYSTIMER != 1) and (ESP_ROM_HAS_HEAP_TLSF != 1 and ESP_ROM_HAS_SPI_FLASH != 1))
+    - if: CONFIG_NAME == "no_rvfplib" and ESP_ROM_HAS_RVFPLIB != 1
+    - if: CONFIG_NAME == "usb_serial_jtag" AND SOC_USB_SERIAL_JTAG_SUPPORTED != 1
+    - if: CONFIG_NAME == "usb_console_ets_printf" AND SOC_USB_OTG_SUPPORTED != 1
     - if: IDF_TARGET in ["esp32p4"]
       temporary: true
       reason: target(s) not supported yet #TODO: IDF-8119

+ 0 - 2
tools/test_apps/system/build_test/README.md

@@ -1,8 +1,6 @@
 | Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
 | ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
 
-Efuse on ESP32-C2 not supported
-
 This project is for testing if the application can be built with a particular sdkconfig setting.
 
 To add new configuration, create one more sdkconfig.ci.NAME file in this directory.

+ 0 - 5
tools/test_apps/system/build_test/sdkconfig.ci.esp32c2_without_rom_impl_components

@@ -1,5 +0,0 @@
-CONFIG_IDF_TARGET="esp32c2"
-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 - 5
tools/test_apps/system/build_test/sdkconfig.ci.esp32c6_with_rom_impl_components

@@ -1,5 +0,0 @@
-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 - 5
tools/test_apps/system/build_test/sdkconfig.ci.esp32c6_without_rom_impl_components

@@ -1,5 +0,0 @@
-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 - 2
tools/test_apps/system/build_test/sdkconfig.ci.esp32c6_without_rvfplib

@@ -1,2 +0,0 @@
-CONFIG_IDF_TARGET="esp32c6"
-CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y

+ 0 - 5
tools/test_apps/system/build_test/sdkconfig.ci.esp32h2_with_rom_impl_components

@@ -1,5 +0,0 @@
-CONFIG_IDF_TARGET="esp32h2"
-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

+ 2 - 1
tools/test_apps/system/build_test/sdkconfig.ci.esp32h2_without_rom_impl_components → tools/test_apps/system/build_test/sdkconfig.ci.no_rom_impl_components

@@ -1,5 +1,6 @@
-CONFIG_IDF_TARGET="esp32h2"
 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
+
+# update tools/test_apps/.build-test-rules.yml if adding more ROM options above!

+ 0 - 0
tools/test_apps/system/build_test/sdkconfig.ci.esp32c2_without_rvfplib → tools/test_apps/system/build_test/sdkconfig.ci.no_rvfplib


+ 2 - 1
tools/test_apps/system/build_test/sdkconfig.ci.esp32c2_with_rom_impl_components → tools/test_apps/system/build_test/sdkconfig.ci.rom_impl_components

@@ -1,5 +1,6 @@
-CONFIG_IDF_TARGET="esp32c2"
 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
+
+# update tools/test_apps/.build-test-rules.yml if adding more ROM options above!

+ 0 - 1
tools/test_apps/system/build_test/sdkconfig.ci.usb_console_ets_printf

@@ -1,3 +1,2 @@
-CONFIG_IDF_TARGET="esp32s3"
 CONFIG_ESP_CONSOLE_USB_CDC=y
 CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF=y

+ 0 - 1
tools/test_apps/system/build_test/sdkconfig.ci.usb_serial_jtag

@@ -1,2 +1 @@
-CONFIG_IDF_TARGET="esp32c3"
 CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y