summaryrefslogtreecommitdiff
path: root/openpicc/application/main.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-11 17:13:52 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-11 17:13:52 +0000
commit9d397dfbbea03968384b9a1b0ae121b6ba256806 (patch)
treebba755d8eb00dfed0c56707e7748b46a24a8e670 /openpicc/application/main.c
parent820b68313794bc658cd664cbfd7adddbcfcd2cf8 (diff)
Add pio_irq and pll code
(and a dummy dbgu.h) git-svn-id: https://svn.openpcd.org:2342/trunk@322 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/main.c')
-rw-r--r--openpicc/application/main.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/openpicc/application/main.c b/openpicc/application/main.c
index 9af44bf..e722daa 100644
--- a/openpicc/application/main.c
+++ b/openpicc/application/main.c
@@ -39,7 +39,8 @@
#include "env.h"
#include "cmd.h"
#include "da.h"
-//#include "pll.h"
+#include "pll.h"
+#include "pio_irq.h"
/**********************************************************************/
static inline void prvSetupHardware (void)
@@ -79,17 +80,21 @@ void vApplicationIdleHook(void)
int main (void)
{
prvSetupHardware ();
+
+ pio_irq_init();
vLedInit();
da_init();
+ pll_init();
+
xTaskCreate (vUSBCDCTask, (signed portCHAR *) "USB", TASK_USB_STACK,
NULL, TASK_USB_PRIORITY, NULL);
vCmdInit();
- vLedSetGreen(1);
+ //vLedSetGreen(1);
vTaskStartScheduler ();
personal git repositories of Harald Welte. Your mileage may vary