added c99

This commit is contained in:
Jan Felix Wiebe 2016-12-20 20:13:27 +01:00
parent 7e45faf034
commit d3b003b976
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
AVRMCU ?= atmega2560
F_CPU ?= 16000000
ISPPORT ?= /dev/ttyUSB0
ISPPORT ?= /dev/ttyACM0
VERSION = 0.1
@ -47,6 +47,7 @@ CFLAGS = -I $(ARDU_FULL_DIR) -I $(ARDU_VARIANT_DIR) -I ../sss7core/ -Os -Wall -W
CFLAGS += -ffunction-sections -fdata-sections
CFLAGS += -fshort-enums -fpack-struct -funsigned-char -funsigned-bitfields
CFLAGS += -mmcu=$(AVRMCU) -DF_CPU=$(F_CPU)UL -DVERSION=$(VERSION)
CFLAGS += -std=c99
CPPFLAGS = -I $(ARDU_FULL_DIR) -I $(ARDU_VARIANT_DIR) -I ../sss7core/ -Os
CPPFLAGS += -ffunction-sections -fdata-sections