added c99
This commit is contained in:
parent
7e45faf034
commit
d3b003b976
|
@ -1,6 +1,6 @@
|
||||||
AVRMCU ?= atmega2560
|
AVRMCU ?= atmega2560
|
||||||
F_CPU ?= 16000000
|
F_CPU ?= 16000000
|
||||||
ISPPORT ?= /dev/ttyUSB0
|
ISPPORT ?= /dev/ttyACM0
|
||||||
|
|
||||||
VERSION = 0.1
|
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 += -ffunction-sections -fdata-sections
|
||||||
CFLAGS += -fshort-enums -fpack-struct -funsigned-char -funsigned-bitfields
|
CFLAGS += -fshort-enums -fpack-struct -funsigned-char -funsigned-bitfields
|
||||||
CFLAGS += -mmcu=$(AVRMCU) -DF_CPU=$(F_CPU)UL -DVERSION=$(VERSION)
|
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 = -I $(ARDU_FULL_DIR) -I $(ARDU_VARIANT_DIR) -I ../sss7core/ -Os
|
||||||
CPPFLAGS += -ffunction-sections -fdata-sections
|
CPPFLAGS += -ffunction-sections -fdata-sections
|
||||||
|
|
Loading…
Reference in New Issue