summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-05-28 20:37:39 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-05-28 20:37:39 +0100
commit7e8b8cd8d3c1997388e16840bda53149c9294a74 (patch)
tree949c2fc1ba6be406d13f6c9f9a79e00885adbde4 /Makefile
parent00c326445325484c470fc06cf916a4f6b59358f7 (diff)
downloadfmk-7e8b8cd8d3c1997388e16840bda53149c9294a74.tar.gz
fmk-7e8b8cd8d3c1997388e16840bda53149c9294a74.tar.xz
fmk-7e8b8cd8d3c1997388e16840bda53149c9294a74.zip
MK20DX256 -> MCUREGHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 45758aa..6975acb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CPU = cortex-m4
MCU = MK20DX256
-MK20DX256 = ../mk20dx256
+MCUREG = ../mk20dx256/mk20dx256.mk
# Change this to suit
TARGET_ARCH = -mcpu=$(CPU) -mthumb
@@ -20,7 +20,7 @@ ASFLAGS = $(TARGET_ARCH)
OBJ := vectors.o flashconf.o crt0.o setup.o fmk.o lib/le.o pit.o \
usb/endpt0.o usb/endpt1.o usb/txhandler.o usb/usb.o weak.o
-include $(MK20DX256)/mk20dx256.mk
+include $(MCUREG)
CPPFLAGS += $(mk20dx256_CPPFLAGS)
ifeq ("$(WITH_UART)", "yes")