From cc6600ca768e2273140eb86d31ce10e11a2cdb91 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 10 Aug 2015 20:58:29 +0200 Subject: [PATCH] ARM: get debug.c and crc.c in. Both used only in special cases, so no binary size change. --- Makefile-ARM | 4 ++-- mendel.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile-ARM b/Makefile-ARM index 3a3c03e..615bd1e 100644 --- a/Makefile-ARM +++ b/Makefile-ARM @@ -100,9 +100,9 @@ TARGET = $(PROGRAM).hex 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 +SOURCES += analog.c temp.c heater.c home.c debug.c crc.c # Sources left: -# crc.c intercom.c debug.c spi.c usb_serial.c +# intercom.c spi.c usb_serial.c # graycode.c pff.c watchdog.c pff_diskio.c ifeq ($(MCU), lpc1114) diff --git a/mendel.c b/mendel.c index d1f7d9e..b6befc1 100644 --- a/mendel.c +++ b/mendel.c @@ -37,8 +37,8 @@ #include "temp.h" #ifndef __ARMEL_NOTYET__ #include "watchdog.h" -#include "debug.h" #endif /* __ARMEL_NOTYET__ */ +#include "debug.h" #include "heater.h" #include "analog.h" #include "pinio.h"