ARM: generic port is done, all printing relevant stuff works.
Also we can compile *.c now. :-)
This commit is contained in:
parent
9c29665a72
commit
040e95b555
13
Makefile-ARM
13
Makefile-ARM
|
|
@ -94,16 +94,7 @@ TARGET = $(PROGRAM).hex
|
|||
|
||||
# Arduino IDE takes the "compile everything available"-approach, so we have
|
||||
# to keep this working and can take a shortcut:
|
||||
#SOURCES = $(wildcard *.c)
|
||||
# Until the generic ARM port is completed, we'd have to wrap all sources
|
||||
# in #ifdef __AVR__. To avoid this, build only a selection for now:
|
||||
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 pff.c pff_diskio.c
|
||||
SOURCES += spi.c intercom.c graycode.c usb_serial.c watchdog.c
|
||||
# Sources left:
|
||||
#
|
||||
SOURCES = $(wildcard *.c)
|
||||
|
||||
ifeq ($(MCU), lpc1114)
|
||||
SOURCES += cmsis-system_lpc11xx.c
|
||||
|
|
@ -126,8 +117,6 @@ CFLAGS += -Os
|
|||
CFLAGS += -ffunction-sections
|
||||
CFLAGS += -fdata-sections
|
||||
#CFLAGS += -dM -E # To list all predefined macros into the .o file.
|
||||
# Until we're done with basic porting ...
|
||||
CFLAGS += -D__ARMEL_NOTYET__
|
||||
|
||||
LDFLAGS = --specs=nano.specs
|
||||
LDFLAGS += --specs=nosys.specs
|
||||
|
|
|
|||
Loading…
Reference in New Issue