Closed loop stepper motor controller with CANbus capabilities. This Project open source hardware and code, support platformio build and upload firmware.
Optimization combinations:
-Og with/without -flto - ok
-O1 with/without -flto - ok
-O2 with/without -flto - ok
-O3 with -flto = ok
-O3 without -flto - Encoder not initializng (SPI)-O0 without -flto - too slow
-O0 with -flto - size too big to test
Optimization combinations:
-Og
with/without-flto
- ok-O1
with/without-flto
- ok-O2
with/without-flto
- ok-O3
with-flto
= ok-O3
without-flto
- Encoder not initializng (SPI)-O0
without-flto
- too slow-O0
with-flto
- size too big to testO3
without-flto
doesn't initialize TLE5012B correctly.