1
1
From 542e007fa5a1b53664d2efb5f01d67767123a357 Mon Sep 17 00:00:00 2001
2
2
From: Frederic Pillon <
[email protected] >
3
3
Date: Thu, 13 Jul 2023 17:08:05 +0200
4
- Subject: [PATCH 1/4] chore: adapt STM32Cube_FW sources
4
+ Subject: [PATCH 1/4] chore: adapt STM32_WPAN sources
5
5
6
6
Signed-off-by: Frederic Pillon <
[email protected] >
7
7
---
8
- src/utility/STM32Cube_FW /app_conf_default.h | 46 ++++++++++++++++-----
9
- src/utility/STM32Cube_FW /ble_bufsize.h | 7 ++++
10
- src/utility/STM32Cube_FW /hw.h | 13 +++++-
11
- src/utility/STM32Cube_FW /hw_ipcc.c | 5 ++-
12
- src/utility/STM32Cube_FW /shci.c | 3 +-
13
- src/utility/STM32Cube_FW /shci_tl.c | 18 +++++++-
14
- src/utility/STM32Cube_FW /stm_list.c | 7 +++-
15
- src/utility/STM32Cube_FW /tl_mbox.c | 7 +++-
8
+ src/utility/STM32_WPAN /app_conf_default.h | 46 ++++++++++++++++-----
9
+ src/utility/STM32_WPAN /ble_bufsize.h | 7 ++++
10
+ src/utility/STM32_WPAN /hw.h | 13 +++++-
11
+ src/utility/STM32_WPAN /hw_ipcc.c | 5 ++-
12
+ src/utility/STM32_WPAN /shci.c | 3 +-
13
+ src/utility/STM32_WPAN /shci_tl.c | 18 +++++++-
14
+ src/utility/STM32_WPAN /stm_list.c | 7 +++-
15
+ src/utility/STM32_WPAN /tl_mbox.c | 7 +++-
16
16
8 files changed, 86 insertions(+), 20 deletions(-)
17
17
18
- diff --git a/src/utility/STM32Cube_FW /app_conf_default.h b/src/utility/STM32Cube_FW /app_conf_default.h
18
+ diff --git a/src/utility/STM32_WPAN /app_conf_default.h b/src/utility/STM32_WPAN /app_conf_default.h
19
19
index 51bd33a..1c6dd91 100644
20
- --- a/src/utility/STM32Cube_FW /app_conf_default.h
21
- +++ b/src/utility/STM32Cube_FW /app_conf_default.h
20
+ --- a/src/utility/STM32_WPAN /app_conf_default.h
21
+ +++ b/src/utility/STM32_WPAN /app_conf_default.h
22
22
@@ -1,9 +1,9 @@
23
23
/* USER CODE BEGIN Header */
24
24
/**
@@ -125,10 +125,10 @@ index 51bd33a..1c6dd91 100644
125
125
- #endif /*APP_CONF_H */
126
126
+ #endif
127
127
+ #endif /*APP_CONF_DEFAULT_H */
128
- diff --git a/src/utility/STM32Cube_FW /ble_bufsize.h b/src/utility/STM32Cube_FW /ble_bufsize.h
128
+ diff --git a/src/utility/STM32_WPAN /ble_bufsize.h b/src/utility/STM32_WPAN /ble_bufsize.h
129
129
index b9935c0..d4d2890 100644
130
- --- a/src/utility/STM32Cube_FW /ble_bufsize.h
131
- +++ b/src/utility/STM32Cube_FW /ble_bufsize.h
130
+ --- a/src/utility/STM32_WPAN /ble_bufsize.h
131
+ +++ b/src/utility/STM32_WPAN /ble_bufsize.h
132
132
@@ -75,6 +75,13 @@
133
133
((pw) + MAX(BLE_MEM_BLOCK_X_MTU(mtu, n_link), \
134
134
BLE_MBLOCKS_SECURE_CONNECTIONS))
@@ -143,10 +143,10 @@ index b9935c0..d4d2890 100644
143
143
/*
144
144
* BLE_FIXED_BUFFER_SIZE_BYTES:
145
145
* A part of the RAM, is dynamically allocated by initializing all the pointers
146
- diff --git a/src/utility/STM32Cube_FW /hw.h b/src/utility/STM32Cube_FW /hw.h
146
+ diff --git a/src/utility/STM32_WPAN /hw.h b/src/utility/STM32_WPAN /hw.h
147
147
index 651e1f1..1472a5e 100644
148
- --- a/src/utility/STM32Cube_FW /hw.h
149
- +++ b/src/utility/STM32Cube_FW /hw.h
148
+ --- a/src/utility/STM32_WPAN /hw.h
149
+ +++ b/src/utility/STM32_WPAN /hw.h
150
150
@@ -26,14 +26,23 @@ extern "C" {
151
151
#endif
152
152
@@ -173,10 +173,10 @@ index 651e1f1..1472a5e 100644
173
173
174
174
void HW_IPCC_BLE_Init( void );
175
175
void HW_IPCC_BLE_SendCmd( void );
176
- diff --git a/src/utility/STM32Cube_FW /hw_ipcc.c b/src/utility/STM32Cube_FW /hw_ipcc.c
176
+ diff --git a/src/utility/STM32_WPAN /hw_ipcc.c b/src/utility/STM32_WPAN /hw_ipcc.c
177
177
index fd620b8..c730482 100644
178
- --- a/src/utility/STM32Cube_FW /hw_ipcc.c
179
- +++ b/src/utility/STM32Cube_FW /hw_ipcc.c
178
+ --- a/src/utility/STM32_WPAN /hw_ipcc.c
179
+ +++ b/src/utility/STM32_WPAN /hw_ipcc.c
180
180
@@ -17,9 +17,9 @@
181
181
******************************************************************************
182
182
*/
@@ -194,10 +194,10 @@ index fd620b8..c730482 100644
194
194
195
195
__weak void HW_IPCC_TRACES_EvtNot( void ){};
196
196
+ #endif /* STM32WBxx */
197
- diff --git a/src/utility/STM32Cube_FW /shci.c b/src/utility/STM32Cube_FW /shci.c
197
+ diff --git a/src/utility/STM32_WPAN /shci.c b/src/utility/STM32_WPAN /shci.c
198
198
index eaa35d7..4525656 100644
199
- --- a/src/utility/STM32Cube_FW /shci.c
200
- +++ b/src/utility/STM32Cube_FW /shci.c
199
+ --- a/src/utility/STM32_WPAN /shci.c
200
+ +++ b/src/utility/STM32_WPAN /shci.c
201
201
@@ -16,7 +16,7 @@
202
202
******************************************************************************
203
203
*/
@@ -212,10 +212,10 @@ index eaa35d7..4525656 100644
212
212
return (SHCI_Success);
213
213
}
214
214
+ #endif /* STM32WBxx */
215
- diff --git a/src/utility/STM32Cube_FW /shci_tl.c b/src/utility/STM32Cube_FW /shci_tl.c
215
+ diff --git a/src/utility/STM32_WPAN /shci_tl.c b/src/utility/STM32_WPAN /shci_tl.c
216
216
index 0f60430..e343809 100644
217
- --- a/src/utility/STM32Cube_FW /shci_tl.c
218
- +++ b/src/utility/STM32Cube_FW /shci_tl.c
217
+ --- a/src/utility/STM32_WPAN /shci_tl.c
218
+ +++ b/src/utility/STM32_WPAN /shci_tl.c
219
219
@@ -16,12 +16,13 @@
220
220
******************************************************************************
221
221
*/
@@ -257,10 +257,10 @@ index 0f60430..e343809 100644
257
257
return;
258
258
}
259
259
+ #endif /* STM32WBxx */
260
- diff --git a/src/utility/STM32Cube_FW /stm_list.c b/src/utility/STM32Cube_FW /stm_list.c
260
+ diff --git a/src/utility/STM32_WPAN /stm_list.c b/src/utility/STM32_WPAN /stm_list.c
261
261
index 4c92864..4e8c364 100644
262
- --- a/src/utility/STM32Cube_FW /stm_list.c
263
- +++ b/src/utility/STM32Cube_FW /stm_list.c
262
+ --- a/src/utility/STM32_WPAN /stm_list.c
263
+ +++ b/src/utility/STM32_WPAN /stm_list.c
264
264
@@ -16,11 +16,13 @@
265
265
******************************************************************************
266
266
*/
@@ -282,10 +282,10 @@ index 4c92864..4e8c364 100644
282
282
__set_PRIMASK(primask_bit); /**< Restore PRIMASK bit*/
283
283
}
284
284
+ #endif /* STM32WBxx */
285
- diff --git a/src/utility/STM32Cube_FW /tl_mbox.c b/src/utility/STM32Cube_FW /tl_mbox.c
285
+ diff --git a/src/utility/STM32_WPAN /tl_mbox.c b/src/utility/STM32_WPAN /tl_mbox.c
286
286
index 27a998a..1139316 100644
287
- --- a/src/utility/STM32Cube_FW /tl_mbox.c
288
- +++ b/src/utility/STM32Cube_FW /tl_mbox.c
287
+ --- a/src/utility/STM32_WPAN /tl_mbox.c
288
+ +++ b/src/utility/STM32_WPAN /tl_mbox.c
289
289
@@ -16,6 +16,7 @@
290
290
******************************************************************************
291
291
*/
0 commit comments