Skip to content

Commit 99ba762

Browse files
committed
Do not build for STM32MP1xx
Bootloader management is not applicable for this serie. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 1173c3d commit 99ba762

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libraries/SrcWrapper/src/stm32/bootloader.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/*
1111
* STM32 built-in bootloader in system memory support
1212
*/
13-
13+
#if !defined(STM32MP1xx)
1414
static const uint32_t BOOTLOADER_DELAY_MS = 250;
1515
static bool BootIntoBootloaderAfterReset;
1616
static uint32_t countdown = 0;
@@ -134,15 +134,18 @@ void cancelBootloaderReset()
134134
{
135135
countdown = 0;
136136
}
137+
#endif /* !STM32MP1xx */
137138

138139
/**
139140
* Bootloader systick handler, should be called every ms
140141
*/
141142
void bootloaderSystickHandler()
142143
{
144+
#ifndef STM32MP1xx
143145
if (countdown && --countdown == 0) {
144146
jumpToBootloaderRequested();
145147
}
148+
#endif /* !STM32MP1xx */
146149
}
147150

148151
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy