File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ build_test_app_esp32c6:
176
176
CHIP_NAME : " esp32c6"
177
177
TOOLCHAIN_PREFIX : " riscv32-esp"
178
178
BUILD_TEST_APP_DIR : " build_test_app_esp32c6"
179
- TEST_APP_CONFIGS : " single_core"
179
+ TEST_APP_CONFIGS : " single_core apptrace_gcov_single "
180
180
extends : .build_idf5x_test_app_template
181
181
182
182
build_test_app_esp32_idf4.x :
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ tests_sanitizers_esp32c6:
149
149
TOOLCHAIN_PREFIX : " riscv32-esp"
150
150
ESP_TOOLCHAIN : " ${ESP_MASTER_RISCV_TOOLCHAIN_VER}"
151
151
TEST_RUN_DIR : " build_test_app_esp32c6"
152
- TEST_RUN_EXTRA_OPTS : " -i latest -b esp32c6-builtin -p test_bp*.*Single test_step*.*Single test_thread*.*Single test_flasher*.*Single"
152
+ TEST_RUN_EXTRA_OPTS : " -i latest -b esp32c6-builtin -p test_apptrace*.*Single test_bp*.*Single test_step*.*Single test_thread*.*Single test_flasher*.*Single"
153
153
154
154
tests_sanitizers_esp32c3_idf4.x :
155
155
extends : .tests_sanitizers_template
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ tests_armhf_esp32c6_builtin_usb_jtag:
310
310
TOOLCHAIN_PREFIX : " riscv32-esp"
311
311
ESP_TOOLCHAIN : " ${ESP_MASTER_RISCV_TOOLCHAIN_VER}"
312
312
TEST_RUN_DIR : " build_test_app_esp32c6"
313
- TEST_RUN_EXTRA_OPTS : " -i latest -b esp32c6-builtin -p test_bp*.*Single test_step*.*Single test_thread*.*Single test_flasher*.*Single"
313
+ TEST_RUN_EXTRA_OPTS : " -i latest -b esp32c6-builtin -p test_apptrace*.*Single test_bp*.*Single test_step*.*Single test_thread*.*Single test_flasher*.*Single"
314
314
315
315
tests_win_simple_esp32 :
316
316
stage : test_windows
Original file line number Diff line number Diff line change @@ -91,7 +91,10 @@ def test_apptrace_reset(self):
91
91
trace_src = 'file://%s' % trace_file_name
92
92
reader = reader_create (trace_src , 1.0 )
93
93
# 10 ms poll period, stop when 800 bytes are received or due to 10 s timeout
94
- self .oocd .apptrace_start ("%s 10 800 10" % trace_src )
94
+ poll_period_ms = 0 # 10ms period doesn't work for ESP32. Why?
95
+ if testee_info .chip == "esp32c6" :
96
+ poll_period_ms = 10 # Check why we need a delay during poll.OCD-717
97
+ self .oocd .apptrace_start ("%s %d 800 10" % (trace_src , poll_period_ms ))
95
98
self .resume_exec ()
96
99
sleep (1 ) # let it works some time
97
100
self .stop_exec ()
You can’t perform that action at this time.
0 commit comments