X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=fdb0afc119c422cc1359f916f292f2c2e248932b;hb=HEAD;hp=d934bba419406a6d96eeff442283cfdd8a09cab4;hpb=0c1e003e9d6aa58868c13de9618a9114181f921c;p=teensytas.git diff --git a/Makefile b/Makefile index d934bba..fdb0afc 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,13 @@ SIZE = $(CROSS_COMPILE)size TOOLSPATH = tools -TARGET = test +TARGET = teensytas # CPPFLAGS += -DUSB_SERIAL -DLAYOUT_US_ENGLISH CPPFLAGS += -D__MK20DX256__ -DF_CPU=48000000 CPPFLAGS += -DUSB_RAWHID -CPPFLAGS += -Wall -g -Os -mcpu=cortex-m4 -mthumb -nostdlib # -MMD +CPPFLAGS += -Wall -Wno-format -g -Os +CPPFLAGS += -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -nostdlib # -MMD CXXFLAGS += -std=gnu++0x -felide-constructors -fno-exceptions -fno-rtti LDFLAGS = -Os -Wl,--gc-sections -mcpu=cortex-m4 -mthumb -Tteensy3/mk20dx256.ld LDLIBS += -lm