Prusa-Firmware-MMU/src
Yuri D'Elia 4a190d3954 Implement an initial Motion ISR for AVR
This is a tentative/crude implementation of an Init and ISR for the MMU
in order to check the motion API.

We remove the "extern void Isr", declaring it "static inline" instead.
We need to inline the ISR here in order to avoid the function call.

Include the missing speed_table data in the executable. This bumps the
code size to ~60% of the flash.

Implemement motion::Init to setup the ISR and timers, and replace the
call in main from tmc::Init to motion::Init. Motion will init each
driver every time the axis is enabled, so there should be no need for
a global module initialization (we need SPI, but this is initialized
earlier on by it's own module anyway).

The timer is currently setup without any HAL or proper TIMER1 wrapper.
This is to be improved later.

The real MMU unit seems to slow down quite a bit during acceleration.
At this point we need to inline some methods in PulseGen to avoid
overhead, however this breaks the stubs.
2021-08-16 13:37:02 +02:00
..
config Allow configurable LED's blinking period 2021-08-04 11:40:02 +02:00
hal Introduce short namespace aliases 2021-08-04 11:03:56 +02:00
logic Reset the error code for reusal of logic state machines 2021-08-12 10:30:40 +02:00
modules Implement an initial Motion ISR for AVR 2021-08-16 13:37:02 +02:00
CMakeLists.txt Split the main CMakeLists.txt into more files within subdirectories 2021-07-12 09:09:21 +02:00
cmath.h cmath.h: convert AVR min/max/abs into templates 2021-07-13 01:08:33 +02:00
limits.h Shim <limits> on AVR 2021-07-12 09:02:05 +02:00
main.cpp Implement an initial Motion ISR for AVR 2021-08-16 13:37:02 +02:00
main.dox Improve documentation of the startup process 2021-08-12 11:08:09 +02:00
pins.h TMC pin map 2021-07-29 10:01:33 +02:00
unit.h Allow units to be scaled by an unitless quantity 2021-08-02 07:41:26 +02:00
version.c Add sending of response messages 2021-07-13 17:53:31 +02:00
version.h Add sending of response messages 2021-07-13 17:53:31 +02:00