summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/flash/test/Makefile
blob: 0201fdff58eb80b11919cdc0ae9dbe32c1f66e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BASE = ../../..

HOST_PROGS = test_flash
test_flash_SOURCES = test-flash.c

AVR_PROGS = test-flash flash-dump

test-flash_SOURCES = test-flash.c
flash-dump_SOURCES = flash-dump.c

MODULES = utils spi flash proto uart
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega128
# -O2 : speed
# -Os : size
OPTIMIZE = -O2

include $(BASE)/make/Makefile.gen