EFI_DFU_JUMP

This commit is contained in:
rusefillc 2024-04-03 00:51:07 -04:00
parent d96b267eed
commit 969887b87e
2 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,7 @@ static void reset_and_jump(void) {
NVIC_SystemReset();
}
#if EFI_DFU_JUMP
void jump_to_bootloader() {
// leave DFU breadcrumb which assembly startup code would check, see [rusefi][DFU] section in assembly code
@ -108,6 +109,7 @@ void jump_to_bootloader() {
reset_and_jump();
}
#endif
void jump_to_openblt() {
#if EFI_USE_OPENBLT

View File

@ -45,6 +45,7 @@ static void reset_and_jump(void) {
NVIC_SystemReset();
}
#if EFI_DFU_JUMP
void jump_to_bootloader() {
// leave DFU breadcrumb which assembly startup code would check, see [rusefi][DFU] section in assembly code
@ -52,6 +53,7 @@ void jump_to_bootloader() {
reset_and_jump();
}
#endif
void jump_to_openblt() {
#if EFI_USE_OPENBLT