aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-10-31 23:05:05 -0400
committerPaul Selkirk <paul@psgd.org>2015-10-31 23:05:05 -0400
commit085e7317b3749c9f2a6339366a0b964b72b71973 (patch)
tree9a1a55b79064efc1c49aa2d157cf37ff5984b9ce /main.c
parent9278e9bafd96105b64f9946eb94f5618f01649d3 (diff)
add new test cases, add gettimeofday
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.c b/main.c
index feec344..2572927 100644
--- a/main.c
+++ b/main.c
@@ -3,15 +3,15 @@
*/
#include "stm-init.h"
+#include "stm-fmc.h"
#include "stm-uart.h"
+extern void __main(void);
+
void main(void)
{
- stm_init();
- fmc_init();
- while(1) {
+ stm_init();
+ fmc_init();
__main();
- uart_send_string("\r\n");
- HAL_Delay(2000);
- }
+ uart_send_string("Done.\r\n\r\n");
}