summaryrefslogtreecommitdiff
path: root/firmware/src/os/main.c
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-04 01:38:04 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-10-04 01:38:04 +0000
commitf796b3e49ad707d65282bf4211d1e7f2094c1283 (patch)
tree44572502f5ec3287a14fa2fe8795c3b7941faaa1 /firmware/src/os/main.c
parent0d69fadb7169769d9e429450c17a68bac2cce852 (diff)
- first working tested version if system_irq demux
- fix minor issues with PIT timer code - make new led blinkcode implementation work git-svn-id: https://svn.openpcd.org:2342/trunk@257 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/os/main.c')
-rw-r--r--firmware/src/os/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/src/os/main.c b/firmware/src/os/main.c
index f39234b..0cc9d99 100644
--- a/firmware/src/os/main.c
+++ b/firmware/src/os/main.c
@@ -23,8 +23,12 @@
#include <include/lib_AT91SAM7.h>
#include <os/dbgu.h>
#include <os/led.h>
+#include <os/blinkcode.h>
#include <os/main.h>
#include <os/power.h>
+#include <os/system_irq.h>
+#include <os/pit.h>
+#include <os/wdt.h>
#include <os/usbcmd_generic.h>
#include <os/pcd_enumerate.h>
#include "../openpcd.h"
@@ -47,6 +51,7 @@ int main(void)
AT91F_PIOA_CfgPMC();
wdt_init();
pit_init();
+ blinkcode_init();
/* initialize USB */
req_ctx_init();
@@ -73,7 +78,7 @@ int main(void)
/* Call application specific main idle function */
_main_func();
dbgu_rb_flush();
- wdt_restart();
+ //wdt_restart();
#ifdef CONFIG_IDLE
//cpu_idle();
#endif
personal git repositories of Harald Welte. Your mileage may vary