Skip to content

Commit a854d3c

Browse files
committed
upmerge: updates related to Zephyr upmerge
- nrf_security: update mbedtls heap to const struct device Zephyr upmerge introduces device bindings const struct as part of: zephyrproject-rtos/zephyr#24873 This const'ify mbedtls_heap.c init function. - mpls: Added `select MULTITHREADING_LOCK` to Kconfig With the changes related to: nrfconnect/sdk-nrf#2861 zephyrproject-rtos/zephyr#27398 The mpsl clock control is no longer needed, but mpsl still requires MULTITHREADING_LOCK, and is therefore moved to its right location. - softdevice_controller: Mark 2M and Coded PHY as supported These helper configs were introduced in upstream zephyr. Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Rubin Gerritsen <[email protected]>
1 parent 8383a36 commit a854d3c

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

mpsl/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config MPSL
1010
select ZERO_LATENCY_IRQS
1111
select IEEE802154_NRF5_EXT_IRQ_MGMT if IEEE802154_NRF5
1212
select NRF_802154_MULTIPROTOCOL_SUPPORT if NRF_802154_RADIO_DRIVER
13+
select MULTITHREADING_LOCK
1314
depends on (SOC_SERIES_NRF52X || SOC_SERIES_NRF53X)
1415
help
1516
Use Nordic Multi Protocol Service Layer (MPSL) implementation,

nrf_security/src/mbedtls/mbedtls_heap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void _heap_free(void)
3737
mbedtls_memory_buffer_alloc_free();
3838
}
3939

40-
static int mbedtls_heap_init(struct device *dev)
40+
static int mbedtls_heap_init(const struct device *dev)
4141
{
4242
ARG_UNUSED(dev);
4343

softdevice_controller/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ config BT_LL_SOFTDEVICE
3939
select BT_CTLR_PHY_UPDATE_SUPPORT
4040
select BT_CTLR_CHAN_SEL_2_SUPPORT
4141
select BT_CTLR_CONN_RSSI_SUPPORT
42+
select BT_CTLR_PHY_2M_SUPPORT
4243
select BT_HAS_HCI_VS
4344
# The SoftDevice Controller only supports nRF52 and nRF53, it does not support nRF51
4445
# or nRF91 (nRF91 doesn't even have the physical HW needed for BLE).
@@ -75,6 +76,7 @@ config SOFTDEVICE_CONTROLLER_S140
7576
depends on (SOC_NRF52811 || SOC_NRF52820 || SOC_NRF52840 || SOC_NRF52833 || SOC_SERIES_NRF53X)
7677
select BT_CTLR_DATA_LEN_UPDATE_SUPPORT
7778
select BT_CTLR_ADV_EXT_SUPPORT
79+
select BT_CTLR_PHY_CODED_SUPPORT
7880
bool "s140"
7981

8082
endchoice

0 commit comments

Comments
 (0)