Fixup bootloaders. (#16256)
This commit is contained in:
parent
53a7306682
commit
a86d6fffc9
17 changed files with 70 additions and 0 deletions
|
@ -20,3 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
void board_init(void) {
|
||||
AFIO->MAPR |= AFIO_MAPR_SWJ_CFG_JTAGDISABLE;
|
||||
}
|
||||
|
||||
void bootloader_jump(void) {
|
||||
// This board doesn't use the "standard" stm32duino bootloader. There's no information on how to jump to the custom bootloader, so all we can do here is reset.
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue