diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") |