File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed
Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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+
3640endchoice
3741
3842config NRF_MODEM_LOG
@@ -46,7 +50,8 @@ endif # NRF_MODEM
4650config 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
5257endmenu # nrf_modem
Original file line number Diff line number Diff 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. */
8989struct 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 ;
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments