From bfae073454c1bb412ce199632c861f6251e7c051 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 31 Aug 2021 18:52:10 +0200 Subject: [PATCH 1/2] examples: esp_timer: enable for all targets The example compiles and works correctly on all supported targets now, re-enable it in CI. --- examples/system/esp_timer/README.md | 3 --- examples/system/esp_timer/example_test.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/system/esp_timer/README.md b/examples/system/esp_timer/README.md index 0be910fb23..c514c546d0 100644 --- a/examples/system/esp_timer/README.md +++ b/examples/system/esp_timer/README.md @@ -1,6 +1,3 @@ -| Supported Targets | ESP32 | ESP32-S2 | -| ----------------- | ----- | -------- | - # High Resolution Timer Example (`esp_timer`) (See the README.md file in the upper level 'examples' directory for more information about examples.) diff --git a/examples/system/esp_timer/example_test.py b/examples/system/esp_timer/example_test.py index 60b8ee6471..b7caeb1b93 100644 --- a/examples/system/esp_timer/example_test.py +++ b/examples/system/esp_timer/example_test.py @@ -26,7 +26,7 @@ LIGHT_SLEEP_TIME = 500000 ONE_SHOT_TIMER_PERIOD = 5000000 -@ttfw_idf.idf_example_test(env_tag='Example_GENERIC', target=['esp32']) +@ttfw_idf.idf_example_test(env_tag='Example_GENERIC', target=['esp32','esp32s2','esp32c3','esp32s3']) def test_examples_system_esp_timer(env, extra_data): dut = env.get_dut('esp_timer_example', 'examples/system/esp_timer') # start test From 41203979240462248ede0cd519c14e47408dd163 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 31 Aug 2021 20:09:21 +0200 Subject: [PATCH 2/2] ci: add S3 example test template and job --- .gitlab/ci/target-test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab/ci/target-test.yml b/.gitlab/ci/target-test.yml index f9f3c10c90..a50b0dea2c 100644 --- a/.gitlab/ci/target-test.yml +++ b/.gitlab/ci/target-test.yml @@ -77,6 +77,11 @@ test_weekend_mqtt: - .example_test_template - .rules:labels:example_test-esp32c3 +.example_test_esp32s3_template: + extends: + - .example_test_template + - .rules:test:example_test-esp32s3 + example_test_001A: extends: .example_test_esp32_template tags: @@ -270,6 +275,12 @@ example_test_ESP32_SDSPI: - ESP32 - UT_T1_SPIMODE +example_test_S3_GENERIC: + extends: .example_test_esp32s3_template + tags: + - ESP32S3 + - Example_GENERIC + example_test_ESP32S2_SDSPI: extends: .example_test_esp32s2_template tags: