Prusa-Firmware-MMU/tests/unit/modules/stubs
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
..
stub_adc.cpp Fix buttons unit tests after ADC update 2021-07-12 18:01:57 +02:00
stub_adc.h Greatly improve unload filament unit test 2021-06-30 07:39:31 +02:00
stub_eeprom.cpp Basic unit test structure for the logic layer 2021-06-21 10:22:17 +02:00
stub_gpio.cpp GPIO: correctly stub known ports 2021-07-05 15:20:11 +02:00
stub_panic.cpp Motion: Panic if queue is full 2021-09-02 12:00:59 +02:00
stub_shr16.cpp Motion: test low-level enable changes via GPIO stub 2021-08-25 07:57:19 +02:00
stub_spi.cpp Motion: Use an SPI stub in order to test TMC2130 2021-08-25 07:57:19 +02:00
stub_timebase.cpp Rename ISR -> Isr to avoid clash with AVR libc ISR #define 2021-07-26 09:34:24 +02:00
stub_timebase.h Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
stub_tmc2130.cpp Link top level error reporting to TMC2130 error flags 2021-08-02 07:45:45 +02:00