forked from stm32duino/STM32duinoBLE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: regenerate STM32Cube_FW patches
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
- Loading branch information
Showing
4 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
extras/STM32Cube_FW/0001-chore-adapt-STM32Cube_FW-sources.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
extras/STM32Cube_FW/0002-fix-include-a-timeout-when-waiting-for-the-cmd_resp.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
extras/STM32Cube_FW/0003-chore-add-support-for-customize-app_conf_default.h.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
extras/STM32Cube_FW/0004-fix-TL_Evt_t-payload-size-for-reset.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From b294edcaee311c15dfb307ea1298ae88b16a92bf Mon Sep 17 00:00:00 2001 | ||
From: Frederic Pillon <frederic.pillon@st.com> | ||
Date: Mon, 24 Jul 2023 10:55:20 +0200 | ||
Subject: [PATCH 4/4] fix: TL_Evt_t payload size for reset | ||
|
||
Within STM32CubeWB v1.17.0 update TL_Evt_t payload size was reduced. | ||
This produce a warning -Warray-bounds due to the reset management | ||
which require 4 bytes. | ||
|
||
Signed-off-by: Frederic Pillon <frederic.pillon@st.com> | ||
--- | ||
src/utility/STM32Cube_FW/tl.h | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/utility/STM32Cube_FW/tl.h b/src/utility/STM32Cube_FW/tl.h | ||
index 8e8c6cb..7452087 100644 | ||
--- a/src/utility/STM32Cube_FW/tl.h | ||
+++ b/src/utility/STM32Cube_FW/tl.h | ||
@@ -108,7 +108,7 @@ typedef PACKED_STRUCT | ||
{ | ||
uint8_t evtcode; | ||
uint8_t plen; | ||
- uint8_t payload[2]; | ||
+ uint8_t payload[4]; | ||
} TL_Evt_t; | ||
|
||
typedef PACKED_STRUCT | ||
-- | ||
2.38.0.windows.1 | ||
|