aboutsummaryrefslogtreecommitdiffstats
path: root/tests/null.c
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-04-29 17:41:25 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-04-29 17:41:25 +0000
commit47ff1843807c727ccf8e0aa1ee344036374217fc (patch)
treeec447b447515ec00f8f3b904a6243dcdcb8d41d1 /tests/null.c
parent3f3c069e49b52566df6b82c075a1275805285b3b (diff)
downloadv-usb-47ff1843807c727ccf8e0aa1ee344036374217fc.tar.gz
v-usb-47ff1843807c727ccf8e0aa1ee344036374217fc.tar.bz2
v-usb-47ff1843807c727ccf8e0aa1ee344036374217fc.zip
- added directory with test code
Diffstat (limited to 'tests/null.c')
-rw-r--r--tests/null.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/null.c b/tests/null.c
new file mode 100644
index 0000000..550e636
--- /dev/null
+++ b/tests/null.c
@@ -0,0 +1,26 @@
+/* Name: null.c
+ * Project: Testing driver features
+ * Author: Christian Starkjohann
+ * Creation Date: 2008-04-29
+ * Tabsize: 4
+ * Copyright: (c) 2008 by OBJECTIVE DEVELOPMENT Software GmbH
+ * License: GNU GPL v2 (see License.txt) or proprietary (CommercialLicense.txt)
+ * This Revision: $Id$
+ */
+
+/*
+This is a NULL main() function to find out the code size required by libusb's
+startup code, interrupt vectors etc.
+*/
+#include <avr/io.h>
+
+
+/* ------------------------------------------------------------------------- */
+
+int main(void)
+{
+ for(;;);
+ return 0;
+}
+
+/* ------------------------------------------------------------------------- */