diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-11 17:13:52 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-11 17:13:52 +0000 |
commit | 9d397dfbbea03968384b9a1b0ae121b6ba256806 (patch) | |
tree | bba755d8eb00dfed0c56707e7748b46a24a8e670 /openpicc/application/main.c | |
parent | 820b68313794bc658cd664cbfd7adddbcfcd2cf8 (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.c | 9 |
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 (); |