Skip to content

Commit fff2c22

Browse files
NordicBuildernordic-mare
authored andcommitted
nrf_modem: update library
SHA: 04c7d59199c199bba6447f0d2c128fbc2e411e95 Automatically created by libmodem Github workflow. Signed-off-by: Nordic Builder <[email protected]>
1 parent 0f0fe25 commit fff2c22

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

nrf_modem/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ if(CONFIG_NRF_MODEM_LINK_BINARY)
1414
cmake_path(APPEND lib_path cellular)
1515
elseif(CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY)
1616
cmake_path(APPEND lib_path dect_phy)
17+
elseif(CONFIG_NRF_MODEM_LINK_BINARY_DECT)
18+
cmake_path(APPEND lib_path dect)
1719
endif()
1820

1921
# SOC

nrf_modem/Kconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ config NRF_MODEM_LINK_BINARY_DECT_PHY
3333
select EXPERIMENTAL
3434
bool "DECT PHY"
3535

36+
config NRF_MODEM_LINK_BINARY_DECT
37+
select EXPERIMENTAL
38+
bool "DECT NR+"
39+
3640
endchoice
3741

3842
config NRF_MODEM_LOG
@@ -46,7 +50,8 @@ endif # NRF_MODEM
4650
config NRF_MODEM_SHMEM_CTRL_SIZE
4751
hex
4852
default 0x1000 if (SOC_SERIES_NRF92X && NRF_MODEM_LINK_BINARY_CELLULAR)
49-
default 0x728 if (SOC_SERIES_NRF91X && NRF_MODEM_LINK_BINARY_DECT_PHY)
53+
default 0x728 if (SOC_SERIES_NRF91X && \
54+
(NRF_MODEM_LINK_BINARY_DECT_PHY || NRF_MODEM_LINK_BINARY_DECT))
5055
default 0x4e8
5156

5257
endmenu # nrf_modem

nrf_modem/include/nrf_modem.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ extern "C" {
8181
*/
8282
#define NRF_MODEM_CELLULAR_SHMEM_CTRL_SIZE 0x4e8
8383
/**
84-
* @brief Shared memory control region size for DECT PHY flavour.
84+
* @brief Shared memory control region size for DECT NR+ flavours.
8585
*/
86-
#define NRF_MODEM_DECT_PHY_SHMEM_CTRL_SIZE 0x728
86+
#define NRF_MODEM_DECT_SHMEM_CTRL_SIZE 0x728
8787

8888
/** @brief Shared memory configuration in normal operation mode. */
8989
struct nrf_modem_shmem_cfg {
9090
/** Control memory, used for control structures.
9191
* The size of this area is build constant, and must be equal to
92-
* @c NRF_MODEM_CELLULAR_SHMEM_CTRL_SIZE or @c NRF_MODEM_DECT_PHY_SHMEM_CTRL_SIZE.
92+
* @c NRF_MODEM_CELLULAR_SHMEM_CTRL_SIZE or @c NRF_MODEM_DECT_SHMEM_CTRL_SIZE.
9393
*/
9494
struct {
9595
uint32_t base;

nrf_modem/shmem.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#if (CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE != NRF_MODEM_CELLULAR_SHMEM_CTRL_SIZE)
1010
#error The control region size for Cellular variant must be updated
1111
#endif
12-
#elif CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY
13-
#if (CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE != NRF_MODEM_DECT_PHY_SHMEM_CTRL_SIZE)
14-
#error The control region size for DECT PHY variant must be updated
12+
#elif (CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY || CONFIG_NRF_MODEM_LINK_BINARY_DECT)
13+
#if (CONFIG_NRF_MODEM_SHMEM_CTRL_SIZE != NRF_MODEM_DECT_SHMEM_CTRL_SIZE)
14+
#error The control region size for DECT variant must be updated
1515
#endif
1616
#endif

0 commit comments

Comments
 (0)