summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/flash/test/Makefile
blob: 422e7b540ff32e00fd6ac1d3ddfca01857c3c568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BASE = ../../..
AVR_PROGS = test-flash test-write-onbyte test-erase test-write-anarray test-init

test-write-onbyte_SOURCES = test-write-onebyte.c
test-erase_SOURCES = test-erase.c
test-write-anarray_SOURCES = test-write-anarray.c
test-init_SOURCES = test-init.c
test-flash_SOURCES = test-flash.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