diff options
Diffstat (limited to 'defines.mk')
-rw-r--r-- | defines.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,7 @@ ifeq ($(BOARD_TYPE),teensy1) F_CPU := 16000000 F_USB = $(F_CPU) PROG := teensy + LUFA_BOARD = TEENSY endif ifeq ($(BOARD_TYPE),teensy2) MCU := atmega32u4 @@ -33,6 +34,7 @@ ifeq ($(BOARD_TYPE),teensy2) F_CPU := 16000000 F_USB = $(F_CPU) PROG := teensy + LUFA_BOARD = TEENSY2 endif ifeq ($(BOARD_TYPE),teensy1pp) MCU := at90usb646 @@ -40,6 +42,7 @@ ifeq ($(BOARD_TYPE),teensy1pp) F_CPU := 16000000 F_USB = $(F_CPU) PROG := teensy + LUFA_BOARD = TEENSY endif ifeq ($(BOARD_TYPE),teensy2pp) MCU := at90usb1286 @@ -47,6 +50,7 @@ ifeq ($(BOARD_TYPE),teensy2pp) F_CPU := 16000000 F_USB = $(F_CPU) PROG := teensy + LUFA_BOARD = TEENSY2 endif ifeq ($(BOARD_TYPE),hhd70dongle) MCU := atmega32u4 @@ -145,6 +149,8 @@ CFLAGS += -Wstrict-prototypes CFLAGS += -I$(LIB_DIR) CFLAGS += -DF_CPU=$(F_CPU)UL CFLAGS += -D__BOARD_$(BOARD_TYPE)__ +CFLAGS += -std=c99 + ## Linker flags LDFLAGS = $(COMMON) |