Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-08-27 18:51:17 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-08-27 18:51:17 +0300
commitb7ec3f0b11dde95a02fd69e65baf8e36c2d71085 (patch)
treec19f8c13823fce90763a45f36f876f0a55892629 /tests
parent4b3dda296897294f723efff0234fcd49ecbf8ec8 (diff)
tests: usb gadget0: ti: use dummy delay handlers
Not full test coverage, obviously, but at least let it compile until the delay methods have been implemented.
Diffstat (limited to 'tests')
-rw-r--r--tests/gadget-zero/main-tilm4f120xl.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/gadget-zero/main-tilm4f120xl.c b/tests/gadget-zero/main-tilm4f120xl.c
index 67abb6ae..7d9e78da 100644
--- a/tests/gadget-zero/main-tilm4f120xl.c
+++ b/tests/gadget-zero/main-tilm4f120xl.c
@@ -23,6 +23,7 @@
#include <libopencm3/lm4f/systemcontrol.h>
#include <stdio.h>
+#include "delay.h"
#include "usb-gadget0.h"
#define ER_DEBUG
@@ -34,6 +35,15 @@
do { } while (0)
#endif
+
+/* FIXME - implement delay functionality for better test coverage */
+void delay_setup(void) {
+}
+
+void delay_us(uint16_t us) {
+ (void)us;
+}
+
int main(void)
{
gpio_enable_ahb_aperture();