summaryrefslogtreecommitdiff
path: root/digital/avr/modules/flash/test/Makefile
diff options
context:
space:
mode:
authorNélio Laranjeiro2008-02-24 19:47:16 +0100
committerNélio Laranjeiro2008-02-24 19:47:16 +0100
commit0ffaacc9df86e26e5323a973d99601721d767913 (patch)
treee224799c4720e4a2531ece0e3fc7419dcf2db106 /digital/avr/modules/flash/test/Makefile
parent3ef9fbd44ae0cd089c0237663734cf4c5cc826b9 (diff)
Added sources for the flash use. Not tested !
Diffstat (limited to 'digital/avr/modules/flash/test/Makefile')
-rw-r--r--digital/avr/modules/flash/test/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/digital/avr/modules/flash/test/Makefile b/digital/avr/modules/flash/test/Makefile
new file mode 100644
index 00000000..38fa6706
--- /dev/null
+++ b/digital/avr/modules/flash/test/Makefile
@@ -0,0 +1,17 @@
+BASE = ../../..
+PROGS = test_flash
+test_flash_SOURCES = test-flash.c
+MODULES = utils spi flash
+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