From 06953cec5566cff03f4704f3e0459f99b016c87b Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 13 Sep 2023 10:29:14 +0800 Subject: [PATCH] remove overly sensitive test case this case is too sensitive to clock config outside of the PIO block, because it relies on some specificts of how inter-bus sync works and the environment is free to set PIO and PCLK relationship arbitrarily --- libs/xous-pio/src/pio_tests/units.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/xous-pio/src/pio_tests/units.rs b/libs/xous-pio/src/pio_tests/units.rs index 9e1eef9a0..ee9a203c2 100644 --- a/libs/xous-pio/src/pio_tests/units.rs +++ b/libs/xous-pio/src/pio_tests/units.rs @@ -865,8 +865,9 @@ pub fn instruction_tests() { report_api(expected_value); wait_rx_or_fail(&mut sm_a, expected_value, None, None); // retrograde movement of address would indicate we're in the loop (this might not work perfectly on real hardware due to synchronizers) - wait_addr_or_fail(&sm_a, 31, None); - wait_addr_or_fail(&sm_a, 30, None); + // commented out, because this test is too sensitive to external clock config + // wait_addr_or_fail(&sm_a, 31, None); + // wait_addr_or_fail(&sm_a, 30, None); level += 1; if level > 4 {