ARM: generic port is done, all printing relevant stuff works.

Also we can compile *.c now.

:-)
This commit is contained in:
Markus Hitter 2015-08-12 16:23:59 +02:00
parent 9c29665a72
commit 040e95b555
1 changed files with 1 additions and 12 deletions

View File

@ -94,16 +94,7 @@ TARGET = $(PROGRAM).hex
# Arduino IDE takes the "compile everything available"-approach, so we have # Arduino IDE takes the "compile everything available"-approach, so we have
# to keep this working and can take a shortcut: # to keep this working and can take a shortcut:
#SOURCES = $(wildcard *.c) 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:
#
ifeq ($(MCU), lpc1114) ifeq ($(MCU), lpc1114)
SOURCES += cmsis-system_lpc11xx.c SOURCES += cmsis-system_lpc11xx.c
@ -126,8 +117,6 @@ CFLAGS += -Os
CFLAGS += -ffunction-sections CFLAGS += -ffunction-sections
CFLAGS += -fdata-sections CFLAGS += -fdata-sections
#CFLAGS += -dM -E # To list all predefined macros into the .o file. #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=nano.specs
LDFLAGS += --specs=nosys.specs LDFLAGS += --specs=nosys.specs