summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
206f765)
This defines the APPLICATION_ADDR constant and sets it to the
offset of the vector table to jump to after the bootloader is done.
use common::clock;
use common::usb_serial;
use common::clock;
use common::usb_serial;
+const APPLICATION_ADDR: u32 = 0x0;
+
#[no_mangle]
pub unsafe extern fn main() {
clock::configure();
#[no_mangle]
pub unsafe extern fn main() {
clock::configure();