Prusa-Firmware-MMU/tests/unit/modules
Yuri D'Elia ee8c80e5c4 Motion: Panic if queue is full
If the queue is full and a new move is queued, panic!

Introduce a new error code QUEUE_FULL to help diagnose situations where
the queue is handled improperly: likely one of the state machines not
waiting for the previous actions to finish.

PulseGen::PlanMove returns a boolean if the queue cannot be moved.
We could extend this to Motion::PlanMove, however all moves would then
have to check for this. Having a global check such as this ensures
we never ignore such situation.
2021-09-02 12:00:59 +02:00
..
buttons Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
leds Fix tests 2021-08-23 08:18:47 +02:00
motion Motion: Panic if queue is full 2021-09-02 12:00:59 +02:00
protocol Add K1, 2, 3, 4 into unit tests 2021-08-12 10:55:27 +02:00
pulse_gen Introduce config::MRes and fix (real) axis units 2021-08-25 09:16:56 +02:00
speed_table tests: remove relative cmake paths in pulse_gen/speed_table 2021-07-12 11:11:49 +02:00
stubs Motion: Panic if queue is full 2021-09-02 12:00:59 +02:00
CMakeLists.txt Motion: add initial test infrastructure and stubs 2021-07-13 16:16:56 +02:00