Prusa-Firmware-MMU/tests/unit/modules/stubs
D.R.racer ff1a89d369 Detect successful end of logic::command + start idle countdown
This commit looks horribly complex, but the main idea is to have each of the logic::commands
report their terminal OK state in the same way. That allow for leveraging this very moment
to initiate the idle timeout.

Additionally, I wanted to hide the logic of idle mode detection, which resulted in moving the
top level logic from main.cpp into logic/idle_mode.cpp and a set of additional files to compile
in unit tests.
2022-05-10 20:03:16 +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_cpu.cpp Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +02:00
stub_eeprom.cpp Fix start MMU with filament blocking the selector 2021-11-03 10:37:51 +01:00
stub_eeprom.h Fix start MMU with filament blocking the selector 2021-11-03 10:37:51 +01:00
stub_gpio.cpp GPIO: correctly stub known ports 2021-07-05 15:20:11 +02:00
stub_panic.cpp Use relative paths for panic.h 2021-09-02 12:00:59 +02:00
stub_serial.cpp Detect successful end of logic::command + start idle countdown 2022-05-10 20:03:16 +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 Fix unit tests 2021-10-21 07:55:41 +02:00