aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-05-13 10:36:58 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-05-13 10:36:58 +0000
commit1cc341a56727a0d1bcc3a2eb3d4f2a312ee740a3 (patch)
treecfd73b2777466db2c2d9a1be007d38c036380f4c /tests
parentdd52641aabab44269991524dddc991e7a0719a0c (diff)
downloadv-usb-1cc341a56727a0d1bcc3a2eb3d4f2a312ee740a3.tar.gz
v-usb-1cc341a56727a0d1bcc3a2eb3d4f2a312ee740a3.tar.bz2
v-usb-1cc341a56727a0d1bcc3a2eb3d4f2a312ee740a3.zip
- added checks for 20 MHz module
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 05e2708..f8a7517 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -37,6 +37,8 @@ sizes sizes.txt:
avr-size main.elf | tail -1 | awk '{print "Minimum_with_15_MHz", $$1+$$2, $$3+$$2}' >>$(SIZES_TMP)
$(MAKE) clean; $(MAKE) main.elf F_CPU=16500000
avr-size main.elf | tail -1 | awk '{print "Minimum_with_16_5_MHz", $$1+$$2, $$3+$$2}' >>$(SIZES_TMP)
+ $(MAKE) clean; $(MAKE) main.elf F_CPU=20000000
+ avr-size main.elf | tail -1 | awk '{print "Minimum_with_20_MHz", $$1+$$2, $$3+$$2}' >>$(SIZES_TMP)
$(MAKE) clean; $(MAKE) main.elf DEFINES=-DUSB_CFG_IMPLEMENT_FN_WRITE=1
avr-size main.elf | tail -1 | awk '{print "With_usbFunctionWrite", $$1+$$2, $$3+$$2}' >>$(SIZES_TMP)
$(MAKE) clean; $(MAKE) main.elf DEFINES=-DUSB_CFG_IMPLEMENT_FN_READ=1
@@ -62,7 +64,7 @@ sizes sizes.txt:
rm $(SIZES_TMP)
test:
- for freq in 12000000 15000000 16000000 16500000; do \
+ for freq in 12000000 15000000 16000000 16500000 20000000; do \
for opt in USB_COUNT_SOF USB_CFG_HAVE_INTRIN_ENDPOINT USB_CFG_HAVE_INTRIN_ENDPOINT3 USB_CFG_HAVE_MEASURE_FRAME_LENGTH USB_CFG_LONG_TRANSFERS; do \
$(MAKE) clean; $(MAKE) main.elf F_CPU=$$freq "DEFINES=-D$$opt=1"; \
$(MAKE) clean; $(MAKE) main.elf F_CPU=$$freq "DEFINES=-D$$opt=1 -DDUSB_CFG_IMPLEMENT_FN_WRITEOUT=1"; \