diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-23 20:06:18 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-03-23 20:06:18 +0000 |
commit | f45edd4bb3ee0d81a8faae98933566231b1566f4 (patch) | |
tree | 06ef59cc0cbd25ad9a91951f73cd9d68324c251f /Makefile | |
parent | 1ec844ea39052ebe2d805a3c8a613373c527f68a (diff) | |
download | fmk-f45edd4bb3ee0d81a8faae98933566231b1566f4.tar.gz fmk-f45edd4bb3ee0d81a8faae98933566231b1566f4.tar.xz fmk-f45edd4bb3ee0d81a8faae98933566231b1566f4.zip |
move register definitions to separate repository
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 $< $@ |