Skip to content

Commit e26eaa1

Browse files
LMESTM0xc0170
authored andcommitted
NUCLEO_WB55RG: WB Transport Layer Cube files modifications
- Need to force ARM packed redefinition - Configure LL stack in LL mode only - Remove warning in shci_tl.c (PLACE_IN_SECTION)
1 parent be1e805 commit e26eaa1

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

features/FEATURE_BLE/targets/TARGET_STM/TARGET_NUCLEO_WB55RG/app_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
* 1 : LL Only
162162
* 0 : LL + Host
163163
*/
164-
#define CFG_BLE_LL_ONLY 0
164+
#define CFG_BLE_LL_ONLY 1
165165

166166

167167
/******************************************************************************

features/FEATURE_BLE/targets/TARGET_STM/TARGET_NUCLEO_WB55RG/shci_tl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
/**
3939
* START of Section SYSTEM_DRIVER_CONTEXT
4040
*/
41-
PLACE_IN_SECTION("SYSTEM_DRIVER_CONTEXT") static tListNode SHciAsynchEventQueue;
42-
PLACE_IN_SECTION("SYSTEM_DRIVER_CONTEXT") static volatile SHCI_TL_CmdStatus_t SHCICmdStatus;
43-
PLACE_IN_SECTION("SYSTEM_DRIVER_CONTEXT") static TL_CmdPacket_t *pCmdBuffer;
44-
PLACE_IN_SECTION("SYSTEM_DRIVER_CONTEXT") SHCI_TL_UserEventFlowStatus_t SHCI_TL_UserEventFlow;
41+
static tListNode SHciAsynchEventQueue;
42+
static volatile SHCI_TL_CmdStatus_t SHCICmdStatus;
43+
static TL_CmdPacket_t *pCmdBuffer;
44+
SHCI_TL_UserEventFlowStatus_t SHCI_TL_UserEventFlow;
4545
/**
4646
* END of Section SYSTEM_DRIVER_CONTEXT
4747
*/

features/FEATURE_BLE/targets/TARGET_STM/TARGET_NUCLEO_WB55RG/stm32_wpan_common.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,8 @@ extern "C" {
143143
#undef PACKED_STRUCT
144144

145145
#if defined ( __CC_ARM )
146-
#if defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050U)
147146
#define PACKED__ __attribute__((packed))
148147
#define PACKED_STRUCT struct PACKED__
149-
#else
150-
#define PACKED__(TYPE) __packed TYPE
151-
#define PACKED_STRUCT PACKED__(struct)
152-
#endif
153148
#elif defined ( __GNUC__ )
154149
#define PACKED__ __attribute__((packed))
155150
#define PACKED_STRUCT struct PACKED__

0 commit comments

Comments
 (0)