From f45edd4bb3ee0d81a8faae98933566231b1566f4 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 23 Mar 2017 20:06:18 +0000 Subject: move register definitions to separate repository --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 187d516..d663578 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ CPU = cortex-m4 MCU = MK20DX256 +MK20DX256 = ../mk20dx256 +# Change this to suit TARGET_ARCH = -mcpu=$(CPU) -mthumb AS = arm-none-eabi-as @@ -17,6 +19,9 @@ ASFLAGS = $(TARGET_ARCH) OBJ := crt0.o vectors.o flashconf.o setup.o fmk.o lib/le.o usb/usb.o usb/endpt0.o usb/endpt1.o +include $(MK20DX256)/mk20dx256.mk +CPPFLAGS += $(mk20dx256_CPPFLAGS) + %.bin: % $(OBJCOPY) -O binary $< $@ -- cgit v1.2.3-54-g00ecf