mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'test/enable-intr-dump-esp32p4' into 'master'
test(esp_intr_dump): Enable test for esp32p4 Closes IDF-8991 See merge request espressif/esp-idf!29620
This commit is contained in:
commit
81c49583ec
@ -966,6 +966,7 @@ esp_err_t esp_intr_dump(FILE *stream)
|
||||
if (vd == NULL) {
|
||||
fprintf(stream, " * * ");
|
||||
} else {
|
||||
// # TODO: IDF-9512
|
||||
// esp_cpu_intr_get_* functions need to be extended with cpu parameter.
|
||||
// Showing info for the current cpu only, in the meantime.
|
||||
if (esp_cpu_get_core_id() == cpu) {
|
||||
|
@ -157,12 +157,6 @@ tools/test_apps/system/eh_frame:
|
||||
temporary: true
|
||||
reason: the other targets are not tested yet
|
||||
|
||||
tools/test_apps/system/esp_intr_dump:
|
||||
disable_test:
|
||||
- if: IDF_TARGET == "esp32p4"
|
||||
temporary: true
|
||||
reason: test not pass, should be re-enable # TODO: IDF-8991
|
||||
|
||||
tools/test_apps/system/g0_components:
|
||||
enable:
|
||||
- if: INCLUDE_DEFAULT == 1 or IDF_TARGET in ["esp32p4", "esp32c5"] # preview targets
|
||||
|
@ -0,0 +1,69 @@
|
||||
CPU 0 interrupt status:
|
||||
Int Level Type Status
|
||||
0 1 Level Used: CPU_INT_FROM_CPU_0
|
||||
1 1 Level Used: SYSTIMER_TARGET0
|
||||
2 1 Level Used: TG0_WDT_LEVEL
|
||||
3 1 Level Used: UART0
|
||||
4 * * Free
|
||||
5 * * Free
|
||||
6 * * Reserved
|
||||
7 * * Free
|
||||
8 * * Free
|
||||
9 * * Free
|
||||
10 * * Free
|
||||
11 * * Free
|
||||
12 * * Free
|
||||
13 * * Free
|
||||
14 * * Free
|
||||
15 * * Free
|
||||
16 * * Free
|
||||
17 * * Free
|
||||
18 * * Free
|
||||
19 * * Free
|
||||
20 * * Free
|
||||
21 * * Free
|
||||
22 * * Free
|
||||
23 * * Free
|
||||
24 * * Free
|
||||
25 * * Free
|
||||
26 * * Free
|
||||
27 * * Free
|
||||
28 * * Free
|
||||
29 * * Free
|
||||
30 * * Free
|
||||
31 * * Free
|
||||
CPU 1 interrupt status:
|
||||
Int Level Type Status
|
||||
0 ? ? Used: CPU_INT_FROM_CPU_1
|
||||
1 ? ? Used: SYSTIMER_TARGET1
|
||||
2 * * Free
|
||||
3 * * Free
|
||||
4 * * Free
|
||||
5 * * Free
|
||||
6 * * Reserved
|
||||
7 * * Free
|
||||
8 * * Free
|
||||
9 * * Free
|
||||
10 * * Free
|
||||
11 * * Free
|
||||
12 * * Free
|
||||
13 * * Free
|
||||
14 * * Free
|
||||
15 * * Free
|
||||
16 * * Free
|
||||
17 * * Free
|
||||
18 * * Free
|
||||
19 * * Free
|
||||
20 * * Free
|
||||
21 * * Free
|
||||
22 * * Free
|
||||
23 * * Free
|
||||
24 * * Free
|
||||
25 * * Free
|
||||
26 * * Free
|
||||
27 * * Free
|
||||
28 * * Free
|
||||
29 * * Free
|
||||
30 * * Free
|
||||
31 * * Free
|
||||
Interrupts available for general use: 56
|
@ -46,7 +46,7 @@ def test_esp_intr_dump_shared(dut: Dut) -> None:
|
||||
dut.expect_exact(PROMPT)
|
||||
|
||||
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='esp32p4 support TBD') # TODO: IDF-8991
|
||||
# TODO: IDF-9512, Update the expected output of dual core RISC-V chips when the issue is resolved
|
||||
@pytest.mark.supported_targets
|
||||
@pytest.mark.generic
|
||||
def test_esp_intr_dump_expected_output(dut: Dut) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user