Skip to content

Commit a2ccb68

Browse files
FRASTMerwango
authored andcommitted
lib/stm32: update stm32wb to cube version V1.23.0
Update Cube version for STM32WBxx series on https://github.com/STMicroelectronics from version v1.22.0 to version v1.23.0 Signed-off-by: F. Ramu <[email protected]>
1 parent 437475c commit a2ccb68

File tree

7 files changed

+229
-179
lines changed

7 files changed

+229
-179
lines changed

lib/stm32wb/README.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ Purpose
1010
| This library is used on stm32wb series to enable HCI communication between a host BLE running on the Cortex-M4 core
1111
| and a controller BLE firmware running on the Cortex-M0 core.
1212
13-
Status
14-
------
15-
version v1.20.0
13+
Status:
14+
version v1.23.0
1615

1716
Coprocessor Binaries
1817
--------------------
@@ -78,9 +77,8 @@ URL
7877
---
7978
https://github.com/STMicroelectronics/STM32CubeWB
8079

81-
Commit
82-
------
83-
529e571e91c93d4bf1aae6e0d69b9a5dcf4d828d
80+
Commit:
81+
24e69da13336e90cccce4fccf5b8fddfcd4959fc
8482

8583
Maintained-by
8684
-------------
@@ -94,7 +92,7 @@ License Link
9492
------------
9593
https://opensource.org/license/BSD-3-Clause
9694

97-
Patch List
95+
Patch List:
9896
----------
9997
* | Move some files license from ST SLA0044 to BSD-3 Clause.
10098
| Following files are distributed under ST License SLA0044 and they are made available under BSD-3 Clause for Zephyr:

lib/stm32wb/hci/app_conf.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,14 @@
327327

328328
#define CFG_BLE_MAX_TX_POWER (6)
329329

330+
/**
331+
* BLE stack Maximum number of created Enhanced ATT bearers to be configured
332+
* in addition to the number of links
333+
* - Range: 0 .. 4
334+
*/
335+
#define CFG_BLE_MAX_ADD_EATT_BEARERS (4)
336+
337+
330338
/**
331339
* BLE Rx model configuration flags to be configured with:
332340
* - SHCI_C2_BLE_INIT_RX_MODEL_AGC_RSSI_LEGACY

lib/stm32wb/hci/ble_bufsize.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797
* mentioned parameters.
9898
*/
9999
#if (BEACON_ONLY != 0)
100-
#define BLE_FIXED_BUFFER_SIZE_BYTES 4100 /* Beacon only */
100+
#define BLE_FIXED_BUFFER_SIZE_BYTES 4200 /* Beacon only */
101101
#elif (LL_ONLY_BASIC != 0)
102-
#define BLE_FIXED_BUFFER_SIZE_BYTES 6040 /* LL only Basic*/
102+
#define BLE_FIXED_BUFFER_SIZE_BYTES 5960 /* LL only Basic*/
103103
#elif (LL_ONLY != 0)
104104
#define BLE_FIXED_BUFFER_SIZE_BYTES 6288 /* LL only Full */
105105
#elif (SLAVE_ONLY != 0)

lib/stm32wb/hci/hw_ipcc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,4 +667,3 @@ static void HW_IPCC_TRACES_EvtHandler( void )
667667
}
668668

669669
__weak void HW_IPCC_TRACES_EvtNot( void ){};
670-

lib/stm32wb/hci/shci.h

Lines changed: 42 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -565,53 +565,62 @@ extern "C" {
565565
*/
566566
int8_t max_tx_power;
567567

568-
/**
569-
* RX model configuration
570-
* - bit 0: 1: agc_rssi model improved vs RF blockers 0: Legacy agc_rssi model
571-
* - other bits: reserved ( shall be set to 0)
572-
*/
568+
/**
569+
* RX model configuration
570+
* - bit 0: 1: agc_rssi model improved vs RF blockers 0: Legacy agc_rssi model
571+
* - other bits: reserved ( shall be set to 0)
572+
*/
573573
uint8_t rx_model_config;
574574

575-
/* Maximum number of advertising sets.
576-
* Range: 1 .. 8 with limitation:
577-
* This parameter is linked to max_adv_data_len such as both compliant with allocated Total memory computed with BLE_EXT_ADV_BUFFER_SIZE based
578-
* on Max Extended advertising configuration supported.
579-
* This parameter is considered by the CPU2 when Options has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
580-
*/
575+
/** Maximum number of advertising sets.
576+
* Range: 1 .. 8 with limitation:
577+
* This parameter is linked to max_adv_data_len such as both compliant with allocated Total memory computed with BLE_EXT_ADV_BUFFER_SIZE based
578+
* on Max Extended advertising configuration supported.
579+
* This parameter is considered by the CPU2 when Options has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
580+
*/
581581
uint8_t max_adv_set_nbr;
582582

583-
/* Maximum advertising data length (in bytes)
584-
* Range: 31 .. 1650 with limitation:
585-
* This parameter is linked to max_adv_set_nbr such as both compliant with allocated Total memory computed with BLE_EXT_ADV_BUFFER_SIZE based
586-
* on Max Extended advertising configuration supported.
587-
* This parameter is considered by the CPU2 when Options has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
588-
*/
583+
/** Maximum advertising data length (in bytes)
584+
* Range: 31 .. 1650 with limitation:
585+
* This parameter is linked to max_adv_set_nbr such as both compliant with allocated Total memory computed with BLE_EXT_ADV_BUFFER_SIZE based
586+
* on Max Extended advertising configuration supported.
587+
* This parameter is considered by the CPU2 when Options has SHCI_C2_BLE_INIT_OPTIONS_EXT_ADV flag set
588+
*/
589589
uint16_t max_adv_data_len;
590590

591-
/* RF TX Path Compensation Value (16-bit signed integer). Units: 0.1 dB.
592-
* Range: -1280 .. 1280
593-
*/
591+
/** RF TX Path Compensation Value (16-bit signed integer). Units: 0.1 dB.
592+
* Range: -1280 .. 1280
593+
*/
594594
int16_t tx_path_compens;
595595

596-
/* RF RX Path Compensation Value (16-bit signed integer). Units: 0.1 dB.
597-
* Range: -1280 .. 1280
598-
*/
596+
/** RF RX Path Compensation Value (16-bit signed integer). Units: 0.1 dB.
597+
* Range: -1280 .. 1280
598+
*/
599599
int16_t rx_path_compens;
600600

601-
/* BLE core specification version (8-bit unsigned integer).
602-
* values as: 11(5.2), 12(5.3), 13(5.4)
603-
*/
601+
/** BLE core specification version (8-bit unsigned integer).
602+
* values as: 11(5.2), 12(5.3), 13(5.4)
603+
*/
604604
uint8_t ble_core_version;
605605

606-
/**
607-
* Options flags extension
608-
* - bit 0: 1: appearance Writable 0: appearance Read-Only
609-
* - bit 1: 1: Enhanced ATT supported 0: Enhanced ATT not supported
610-
* - other bits: reserved ( shall be set to 0)
611-
*/
606+
/**
607+
* Options flags extension
608+
* - bit 0: 1: appearance Writable 0: appearance Read-Only
609+
* - bit 1: 1: Enhanced ATT supported 0: Enhanced ATT not supported
610+
* - other bits: reserved ( shall be set to 0)
611+
*/
612612
uint8_t Options_extension;
613613

614-
} SHCI_C2_Ble_Init_Cmd_Param_t;
614+
/**
615+
* MaxAddEattBearers
616+
*
617+
* Maximum number of bearers that can be created for Enhanced ATT
618+
* in addition to the number of links
619+
* - Range: 0 .. 4
620+
*/
621+
uint8_t MaxAddEattBearers;
622+
623+
} SHCI_C2_Ble_Init_Cmd_Param_t;
615624

616625
typedef PACKED_STRUCT{
617626
SHCI_Header_t Header; /** Does not need to be initialized by the user */

lib/stm32wb/hci/stm_list.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
#ifndef _STM_LIST_H_
2121
#define _STM_LIST_H_
2222

23+
#ifdef __cplusplus
24+
extern "C" {
25+
#endif
26+
2327
/* Includes ------------------------------------------------------------------*/
2428
#include "stm32_wpan_common.h"
2529

@@ -52,4 +56,8 @@ void LST_get_next_node (tListNode * ref_node, tListNode ** node);
5256

5357
void LST_get_prev_node (tListNode * ref_node, tListNode ** node);
5458

59+
#ifdef __cplusplus
60+
}
61+
#endif
62+
5563
#endif /* _STM_LIST_H_ */

0 commit comments

Comments
 (0)