Merge branch 'feature/esp_timer_example_reenable' into 'master'

examples: esp_timer: enable for all targets

Closes IDF-2022

See merge request espressif/esp-idf!15028
This commit is contained in:
Ivan Grokhotkov
2021-10-18 09:43:17 +00:00
3 changed files with 12 additions and 4 deletions

View File

@@ -77,6 +77,11 @@ test_weekend_mqtt:
- .example_test_template - .example_test_template
- .rules:labels:example_test-esp32c3 - .rules:labels:example_test-esp32c3
.example_test_esp32s3_template:
extends:
- .example_test_template
- .rules:test:example_test-esp32s3
example_test_001A: example_test_001A:
extends: .example_test_esp32_template extends: .example_test_esp32_template
tags: tags:
@@ -270,6 +275,12 @@ example_test_ESP32_SDSPI:
- ESP32 - ESP32
- UT_T1_SPIMODE - UT_T1_SPIMODE
example_test_S3_GENERIC:
extends: .example_test_esp32s3_template
tags:
- ESP32S3
- Example_GENERIC
example_test_ESP32S2_SDSPI: example_test_ESP32S2_SDSPI:
extends: .example_test_esp32s2_template extends: .example_test_esp32s2_template
tags: tags:

View File

@@ -1,6 +1,3 @@
| Supported Targets | ESP32 | ESP32-S2 |
| ----------------- | ----- | -------- |
# High Resolution Timer Example (`esp_timer`) # High Resolution Timer Example (`esp_timer`)
(See the README.md file in the upper level 'examples' directory for more information about examples.) (See the README.md file in the upper level 'examples' directory for more information about examples.)

View File

@@ -26,7 +26,7 @@ LIGHT_SLEEP_TIME = 500000
ONE_SHOT_TIMER_PERIOD = 5000000 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): def test_examples_system_esp_timer(env, extra_data):
dut = env.get_dut('esp_timer_example', 'examples/system/esp_timer') dut = env.get_dut('esp_timer_example', 'examples/system/esp_timer')
# start test # start test