summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/spi/test/Makefile
blob: ba09e1258f7d9ee57103b28073ee36e6ebe38658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BASE = ../../..
PROGS = test_spi
test_spi_SOURCES = test_spi.c spi_host.c 
MODULES = proto uart utils 
CONFIGFILE = avrconfig.h
# atmega8, atmega8535, atmega128...
AVR_MCU = atmega8
# -O2 : speed
# -Os : size
OPTIMIZE = -O2

# Test compilations.
#TEST_MCU = atmega8 atmega8535 atmega128
#TEST_CONFIGFILES = avrconfig_ring.h avrconfig_polling.h avrconfig_twoports.h
#avrconfig_twoports_TEST_MCU = atmega128

include $(BASE)/make/Makefile.gen