Prusa-Firmware-MMU/tests/unit
Yuri D'Elia 288e74283d Introduce config::MRes and fix (real) axis units
The parameter config::AxisConfig::uSteps was supposed to be
microstepping resolution, but it's instead being used as the driver's
MRES directly.

To avoid a runtime conversion, rename the field to mRes and define a new
enum listing all the possible (and valid) microstepping resolutions.

This simplifies the code and makes clear the stepsPerUnit scale.

Assign correct stepsPerUnit to all axes as a result, including working
limits.
2021-08-25 09:16:56 +02:00
..
hal Disable preprocessor code indentation 2021-07-07 16:33:03 +02:00
logic Add unit tests for logic state machines reusal 2021-08-12 10:30:40 +02:00
modules Introduce config::MRes and fix (real) axis units 2021-08-25 09:16:56 +02:00
CMakeLists.txt Do not use hard-to-read relative paths in CMake 2021-07-12 09:09:21 +02:00
system_test.cpp Remove invalid/useless test sizeof(ptr) == 4 2021-06-29 08:59:36 +02:00
test_main.cpp Add first unit test 2021-05-13 17:35:08 +02:00