Skip to content

Commit

Permalink
chore: fix default clock rate for simulation framework
Browse files Browse the repository at this point in the history
have to slow down the defalut clock rate for the FIFO test in PIO
unit test, so we can capture results in simulation
  • Loading branch information
bunnie committed Jan 16, 2024
1 parent f6015fd commit 09487cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/xous-pio/src/pio_tests/units.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ pub fn fifo_join_test() -> bool {
a_prog.setup_default_config(&mut sm_a);
sm_a.config_set_out_pins(0, 32);
#[cfg(not(feature = "rp2040"))]
sm_a.config_set_clkdiv(192.0); // slow down the machine so we can read out the values after writing them...
sm_a.config_set_clkdiv(2048.0); // slow down the machine so we can read out the values after writing them...
#[cfg(feature = "rp2040")]
sm_a.config_set_clkdiv(32768.0);
sm_a.config_set_out_shift(false, true, 0);
Expand Down

0 comments on commit 09487cb

Please sign in to comment.