summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2e15e18)
The bootloader now longer leaves them enabled before it jumps
to the application, so we need to enable them explicitly.
use common::usb_serial;
extern {
use common::usb_serial;
extern {
+ fn enable_interrupts();
+
static mut cdc_tx_buf: Buffer;
}
static mut cdc_tx_buf: Buffer;
}
clock::configure();
systick::init();
clock::configure();
systick::init();
usb_serial::init(0xf055, 0x635d);
cdc_tx_buf.write(b"\n");
usb_serial::init(0xf055, 0x635d);
cdc_tx_buf.write(b"\n");