firmware/stm32/bootloader/dispatch.h
2020-11-18 14:19:14 -05:00

11 lines
313 B
C

/*
* (c) Copyright 2018 by Coinkite Inc. This file is covered by license found in COPYING-CC.
*/
#pragma once
// Go into DFU mode, and certainly clear things.
void enter_dfu(void) __attribute__((noreturn));
// Start DFU, or return doing nothing if chip is secure (no DFU possible).
void dfu_by_request(void);