Compare commits
No commits in common. "stable" and "v1.8.4" have entirely different histories.
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "libopencm3"]
|
||||
path = libopencm3
|
||||
url = https://github.com/flirc/libopencm3.git
|
||||
url = git@github.com:flirc/libopencm3.git
|
||||
|
@ -175,13 +175,11 @@ static void usbdfu_getstatus_complete(usbd_device *usbd_dev, struct usb_setup_da
|
||||
uint32_t *dat = (uint32_t *)(prog.buf + 1);
|
||||
nvmctrl_erase_row(*dat); //flash_erase_page(*dat);
|
||||
}
|
||||
break;
|
||||
case CMD_SETADDR:
|
||||
{
|
||||
uint32_t *dat = (uint32_t *)(prog.buf + 1);
|
||||
prog.addr = *dat;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
//uint32_t baseaddr = prog.addr + ((prog.blocknum - 2) *
|
||||
|
@ -25,4 +25,4 @@ MEMORY
|
||||
}
|
||||
|
||||
/* Include the common ld script from libopenstm32. */
|
||||
INCLUDE cortex-m-generic.ld
|
||||
INCLUDE libopencm3_samd.ld
|
||||
|
@ -25,4 +25,4 @@ MEMORY
|
||||
}
|
||||
|
||||
/* Include the common ld script from libopenstm32. */
|
||||
INCLUDE cortex-m-generic.ld
|
||||
INCLUDE libopencm3_samd.ld
|
||||
|
Loading…
x
Reference in New Issue
Block a user