Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita37e822

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 parent3da8f2d commita37e822

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
staticconstuint32_tBOOTLOADER_DELAY_MS=250;
1515
staticboolBootIntoBootloaderAfterReset;
1616
staticuint32_tcountdown=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
voidbootloaderSystickHandler()
142143
{
144+
#ifndefSTM32MP1xx
143145
if (countdown&&--countdown==0) {
144146
jumpToBootloaderRequested();
145147
}
148+
#endif/* !STM32MP1xx */
146149
}
147150

148151
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp