linux: Initial support for running Klipper in a Linux real-time process

Add support for compiling the Klipper micro-controller code as a
real-time process capable of running on standard Linux systems.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-07-20 00:02:43 -04:00
parent 3ccecc568d
commit d851882278
10 changed files with 622 additions and 2 deletions

8
src/linux/Makefile Normal file
View File

@@ -0,0 +1,8 @@
# Additional linux build rules
dirs-y += src/linux src/generic
src-y += linux/main.c linux/timer.c linux/console.c linux/watchdog.c
src-y += generic/crc16_ccitt.c generic/alloc.c
CFLAGS_klipper.elf += -lutil