diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-05-28 18:56:11 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-05-28 18:56:11 +0000 |
commit | dfd6d6010bec3c2b412e75b1f75d21a7261fd92a (patch) | |
tree | 9139d3f63ead287526593a9bf24c29f1123e7241 /defines.mk | |
parent | added posibility to build external lufa lib (not perfect..) (diff) |
added USBtoSerial Example Project to avr utils
git-svn-id: https://svn.spreadspace.org/avr/trunk@38 aa12f405-d877-488e-9caf-2d797e2a1cc7
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) |