From d235cdeb89f4befe5411749901399913eebd742e Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sat, 29 Jun 2024 13:27:24 +0300 Subject: [PATCH] feat: add esp_driver_i2s and twai test binaries --- build.sh | 3 +++ config/components/driver/test_apps/twai/sdkconfig.defaults | 4 ++++ .../esp_driver_i2s/test_apps/i2s/sdkconfig.defaults | 4 ++++ 3 files changed, 11 insertions(+) create mode 100644 config/components/driver/test_apps/twai/sdkconfig.defaults create mode 100644 config/components/esp_driver_i2s/test_apps/i2s/sdkconfig.defaults diff --git a/build.sh b/build.sh index 021e7f5e0..5d3ce10a2 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,7 @@ #!/bin/sh ALL_CHIPS="esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4" +ALL_CHIP_BUT_C2="esp32 esp32s2 esp32s3 esp32c3 esp32c6 esp32h2 esp32p4" build() { IDF_VERSION="$1" @@ -44,6 +45,8 @@ for APP in $APPS; do fi done +build latest components/driver/test_apps/twai "$ALL_CHIP_BUT_C2" +build latest components/esp_driver_i2s/test_apps/i2s "$ALL_CHIP_BUT_C2" build latest components/esp_driver_ledc/test_apps/ledc "$ALL_CHIPS" build latest components/esp_driver_pcnt/test_apps/pulse_cnt "esp32 esp32s2 esp32s3 esp32c6 esp32h2 esp32p4" build latest components/esp_driver_spi/test_apps/master "$ALL_CHIPS" diff --git a/config/components/driver/test_apps/twai/sdkconfig.defaults b/config/components/driver/test_apps/twai/sdkconfig.defaults new file mode 100644 index 000000000..4ff1f1c50 --- /dev/null +++ b/config/components/driver/test_apps/twai/sdkconfig.defaults @@ -0,0 +1,4 @@ +CONFIG_APP_REPRODUCIBLE_BUILD=y +# CONFIG_APP_COMPILE_TIME_DATE is not set +CONFIG_FREERTOS_HZ=1000 +CONFIG_ESP_TASK_WDT=n diff --git a/config/components/esp_driver_i2s/test_apps/i2s/sdkconfig.defaults b/config/components/esp_driver_i2s/test_apps/i2s/sdkconfig.defaults new file mode 100644 index 000000000..c875c0220 --- /dev/null +++ b/config/components/esp_driver_i2s/test_apps/i2s/sdkconfig.defaults @@ -0,0 +1,4 @@ +CONFIG_APP_REPRODUCIBLE_BUILD=y +# CONFIG_APP_COMPILE_TIME_DATE is not set +CONFIG_I2S_ENABLE_DEBUG_LOG=y +CONFIG_ESP_TASK_WDT_EN=n