1- From 7f99c89e8a6f834daf4a76bf98307e9ebcd01c91 Mon Sep 17 00:00:00 2001
1+ From dca5f9d1a4246cd158d38e1eb140bb40513618fc Mon Sep 17 00:00:00 2001
22From: Frederic Pillon <frederic.pillon@st.com>
33Date: Wed, 10 Jan 2024 18:16:01 +0100
4- Subject: [PATCH 1/4 ] chore: adapt STM32_WPAN sources
4+ Subject: [PATCH 1/6 ] chore: adapt STM32_WPAN sources
55
66Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
77---
@@ -15,7 +15,7 @@ Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1515 7 files changed, 85 insertions(+), 12 deletions(-)
1616
1717diff --git a/src/utility/STM32_WPAN/app_conf_default.h b/src/utility/STM32_WPAN/app_conf_default.h
18- index 71fc107..bf2274a 100644
18+ index 8356f0d..8db164d 100644
1919--- a/src/utility/STM32_WPAN/app_conf_default.h
2020+++ b/src/utility/STM32_WPAN/app_conf_default.h
2121@@ -1,9 +1,9 @@
@@ -90,7 +90,7 @@ index 71fc107..bf2274a 100644
9090
9191 /**
9292 * BLE stack Options_extension flags to be configured with:
93- @@ -292 ,7 +315 ,11 @@
93+ @@ -299 ,7 +322 ,11 @@
9494 * This parameter is considered by the CPU2 when CFG_BLE_OPTIONS has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
9595 */
9696
@@ -103,7 +103,7 @@ index 71fc107..bf2274a 100644
103103
104104 /* Maximum advertising data length (in bytes)
105105 * Range: 31 .. 1650 with limitation:
106- @@ -301 ,7 +328 ,11 @@
106+ @@ -308 ,7 +335 ,11 @@
107107 * This parameter is considered by the CPU2 when CFG_BLE_OPTIONS has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
108108 */
109109
@@ -116,15 +116,15 @@ index 71fc107..bf2274a 100644
116116
117117 /* RF TX Path Compensation Value (16-bit signed integer). Units: 0.1 dB.
118118 * Range: -1280 .. 1280
119- @@ -324 ,6 +355 ,7 @@
119+ @@ -331 ,6 +362 ,7 @@
120120
121121 #define CFG_BLE_CORE_VERSION (SHCI_C2_BLE_INIT_BLE_CORE_5_4)
122122
123123+ #if 0
124124 /******************************************************************************
125125 * Transport Layer
126126 ******************************************************************************/
127- @@ -660 ,4 +692 ,5 @@ typedef enum
127+ @@ -667 ,4 +699 ,5 @@ typedef enum
128128
129129 #define CFG_OTP_END_ADRESS OTP_AREA_END_ADDR
130130
@@ -267,7 +267,7 @@ index 4c92864..df6c215 100644
267267 }
268268+ #endif /* STM32WBxx */
269269diff --git a/src/utility/STM32_WPAN/tl_mbox.c b/src/utility/STM32_WPAN/tl_mbox.c
270- index df07a19..9a2a297 100644
270+ index c13f098..e2a0400 100644
271271--- a/src/utility/STM32_WPAN/tl_mbox.c
272272+++ b/src/utility/STM32_WPAN/tl_mbox.c
273273@@ -16,6 +16,7 @@
@@ -278,7 +278,7 @@ index df07a19..9a2a297 100644
278278 /* Includes ------------------------------------------------------------------*/
279279 #include "stm32_wpan_common.h"
280280 #include "hw.h"
281- @@ -51 ,8 +52 ,10 @@ PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static MB_BleLldTable_t TL_BleLldTable;
281+ @@ -53 ,8 +54 ,10 @@ PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static MB_BleLldTable_t TL_BleLldTable;
282282 PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static MB_SysTable_t TL_SysTable;
283283 PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static MB_MemManagerTable_t TL_MemManagerTable;
284284 PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static MB_TracesTable_t TL_TracesTable;
@@ -289,7 +289,7 @@ index df07a19..9a2a297 100644
289289
290290 /**< tables */
291291 PLACE_IN_SECTION("MB_MEM1") ALIGN(4) static tListNode FreeBufQueue;
292- @@ -97 ,8 +100 ,10 @@ void TL_Init( void )
292+ @@ -99 ,8 +102 ,10 @@ void TL_Init( void )
293293 TL_RefTable.p_sys_table = &TL_SysTable;
294294 TL_RefTable.p_mem_manager_table = &TL_MemManagerTable;
295295 TL_RefTable.p_traces_table = &TL_TracesTable;
@@ -300,7 +300,7 @@ index df07a19..9a2a297 100644
300300 HW_IPCC_Init();
301301
302302 return;
303- @@ -847 ,3 +852 ,4 @@ static void OutputDbgTrace(TL_MB_PacketType_t packet_type, uint8_t* buffer)
303+ @@ -874 ,3 +879 ,4 @@ static void OutputDbgTrace(TL_MB_PacketType_t packet_type, uint8_t* buffer)
304304
305305 return;
306306 }
0 commit comments