Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da8f2d commit a37e822Copy full SHA for a37e822
libraries/SrcWrapper/src/stm32/bootloader.c
@@ -10,7 +10,7 @@
10
/*
11
* STM32 built-in bootloader in system memory support
12
*/
13
-
+#if !defined(STM32MP1xx)
14
static const uint32_t BOOTLOADER_DELAY_MS = 250;
15
static bool BootIntoBootloaderAfterReset;
16
static uint32_t countdown = 0;
@@ -134,15 +134,18 @@ void cancelBootloaderReset()
134
{
135
countdown = 0;
136
}
137
+#endif /* !STM32MP1xx */
138
139
/**
140
* Bootloader systick handler, should be called every ms
141
142
void bootloaderSystickHandler()
143
144
+#ifndef STM32MP1xx
145
if (countdown && --countdown == 0) {
146
jumpToBootloaderRequested();
147
148
149
150
151
0 commit comments