From 274f6c954b523ee6fd209ddd32f3033a97b2b4c9 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 10 Aug 2015 21:04:07 +0200 Subject: [PATCH] ARM: get graycode.c and intercom.c in. Also both used only in unusual setups, so no functional or binary size change for ARM. --- Makefile-ARM | 5 +++-- mendel.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile-ARM b/Makefile-ARM index 615bd1e..8148d7b 100644 --- a/Makefile-ARM +++ b/Makefile-ARM @@ -101,9 +101,10 @@ SOURCES = mendel.c cpu.c serial.c sermsg.c sersendf.c delay.c SOURCES += gcode_parse.c gcode_process.c pinio.c timer.c clock.c SOURCES += dda_queue.c dda_maths.c dda_kinematics.c dda.c dda_lookahead.c SOURCES += analog.c temp.c heater.c home.c debug.c crc.c +SOURCES += intercom.c graycode.c # Sources left: -# intercom.c spi.c usb_serial.c -# graycode.c pff.c watchdog.c pff_diskio.c +# spi.c usb_serial.c +# pff.c watchdog.c pff_diskio.c ifeq ($(MCU), lpc1114) SOURCES += cmsis-system_lpc11xx.c diff --git a/mendel.c b/mendel.c index b6befc1..93c20cc 100644 --- a/mendel.c +++ b/mendel.c @@ -43,8 +43,8 @@ #include "analog.h" #include "pinio.h" #include "clock.h" -#ifndef __ARMEL_NOTYET__ #include "intercom.h" +#ifndef __ARMEL_NOTYET__ #include "spi.h" #include "sd.h" #include "simulator.h"