avr-crypto-lib/avr-makefile.inc

36 lines
1.1 KiB
PHP
Raw Normal View History

2008-04-05 17:57:46 +00:00
2008-04-11 17:54:24 +00:00
MCU_TARGET = atmega644
2008-04-05 17:57:46 +00:00
OPTIMIZE = -Os
DEFS = -D$(call uc, $(MCU_TARGET))
FLASHCMD = avrdude -p $(MCU_TARGET) -P /dev/ttyUSB0 -c avr911 -U flash:w:# no space at the end
#FLASHCMD = avrdude -p $(MCU_TARGET) -c usbasp -U flash:w:# no space at the end
2008-07-03 12:14:14 +00:00
DEP_DIR = deps/
BIN_DIR = bin/
TESTBIN_DIR = test_bin/
2008-08-02 10:37:02 +00:00
TESTSRC_DIR = test_src/
2008-04-05 17:57:46 +00:00
#uisp -dprog=bsd -dlpt=/dev/parport1 --upload if=$(PRG).hex
ERASECMD =
TESTPORT = /dev/ttyUSB1
TESTPORTBAUDR = 38400
TESTLOG_DIR = testlog/
TESTPREFIX = nessie-
2008-08-19 12:18:25 +00:00
LIST_DIR = listings/
STAT_DIR = stats/
CC = avr-gcc
2008-04-05 17:57:46 +00:00
2008-08-10 14:04:06 +00:00
override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$(patsubst $(TESTSRC_DIR)%,%,$<)) -I. -gdwarf-2 -pedantic -std=c99 -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
2008-04-11 17:54:24 +00:00
2008-08-10 14:04:06 +00:00
override LDFLAGS = -gdwarf-2 -Wl,-Map,
override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2
2008-04-05 17:57:46 +00:00
SIZESTAT_FILE = sizestats.txt
2008-04-05 17:57:46 +00:00
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size
2008-05-26 19:13:21 +00:00
RUBY = ruby
GET_TEST = host/get_test.rb
MAKE = make
MAKE2GRAPH = ~/bin/make2graph.rb
TWOPI = twopi