Merge pull request #765 from ejoerns/pull-req/avr-asflags
[avr] Add mcu parameter to ASFLAGS
This commit is contained in:
commit
9e7927e415
|
@ -99,6 +99,7 @@ CFLAGSNO = -Wall -mmcu=$(MCU) -gdwarf-2 -fno-strict-aliasing \
|
||||||
-I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \
|
-I. -I$(CONTIKI)/core -I$(CONTIKI_CPU) $(USB_INCLUDES) \
|
||||||
$(CONTIKI_PLAT_DEFS)
|
$(CONTIKI_PLAT_DEFS)
|
||||||
CFLAGS += $(CFLAGSNO) -O$(OPTI)
|
CFLAGS += $(CFLAGSNO) -O$(OPTI)
|
||||||
|
ASFLAGS += -mmcu=$(MCU)
|
||||||
ifndef BOOTLOADER_START
|
ifndef BOOTLOADER_START
|
||||||
BOOTLOADER_START = 0x1F800
|
BOOTLOADER_START = 0x1F800
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue