aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish.c
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-05-21 19:09:35 -0400
committerAJM <poslathian@poslathian.(none)>2010-05-21 19:09:35 -0400
commitd44f856baffd72742d2287f75df5c2c5dff07a73 (patch)
treebaff10ec1752b750c8e595054824cfd08ab4256e /wirish/wirish.c
parent7ee6a800d97e2dfeb5cbc4041df431941648b512 (diff)
downloadlibrambutan-d44f856baffd72742d2287f75df5c2c5dff07a73.tar.gz
librambutan-d44f856baffd72742d2287f75df5c2c5dff07a73.zip
Finalized the libmaple changes required by newboot. Added setupUSB() to wirish init
this involved some some changes to copy-to-ide, WProgram.h, and the makefile. Separated the reset.py from the wait.py so that the program closes the serial port correctly.
Diffstat (limited to 'wirish/wirish.c')
-rw-r--r--wirish/wirish.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wirish/wirish.c b/wirish/wirish.c
index 3cfc12e..e21f792 100644
--- a/wirish/wirish.c
+++ b/wirish/wirish.c
@@ -31,6 +31,7 @@
#include "systick.h"
#include "gpio.h"
#include "nvic.h"
+#include "usb.h"
void init(void) {
rcc_init();
@@ -42,4 +43,5 @@ void init(void) {
timer_init(2, 1);
timer_init(3, 1);
timer_init(4, 1);
+ setupUSB();
}