DFU: Move "Override DFU" (force DFU) code to board-specific section

Each board can define its own conditions on which the controller should
boot into DFU mode rather than normal application mode.  Let's move the
"UART loopback jumper" to QMOD specific part.  For SIMtrace we have an
actual button and can use that in a future patch.
This commit is contained in:
Harald Welte
2017-11-28 22:15:56 +01:00
parent 7b250bfc8d
commit 27f5fc681c
3 changed files with 41 additions and 25 deletions

View File

@@ -119,4 +119,5 @@
extern void board_exec_dbg_cmd(int ch);
extern void board_main_top(void);
extern int board_override_enter_dfu(void);
#endif