avr-crypto-lib/Makefile_m644_conf.inc

23 lines
1.0 KiB
PHP
Raw Normal View History

2012-03-28 02:25:11 +00:00
MCU_TARGET = atmega644
F_CPU = 20000000
OPTIMIZE = -Os # -Os
EXTRALINK =
DEFS = -D$(call uc, $(MCU_TARGET)) -DF_CPU=$(F_CPU)
BOARD_NAME = pollin_eval_m644
override CFLAGS_A = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@)) $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
override LDFLAGS = -gdwarf-2 -Wl,-Map,
override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
2012-08-25 17:30:46 +00:00
#PROGRAMMER = avr911
#PROG_PORT = /dev/ttyUSB1
2012-09-18 04:07:04 +00:00
PROGRAMMER = avrispmkII
2012-08-25 17:30:46 +00:00
PROG_PORT = usb
2012-03-28 02:25:11 +00:00
DEFS = -D$(call uc, $(MCU_TARGET)) -DF_CPU=$(F_CPU)
FLASHCMD = avrdude -p $(MCU_TARGET) -P $(PROG_PORT) -c $(PROGRAMMER) -U flash:w:# no space at the end
#FLASHCMD = avrdude -p $(MCU_TARGET) -c usbasp -U flash:w:# no space at the end
RESETCMD = avrdude -p $(MCU_TARGET) -P $(PROG_PORT) -c $(PROGRAMMER)