Skip to content

Commit

Permalink
nrf_modem: rename lte to cellular
Browse files Browse the repository at this point in the history
Rename LTE to cellular.

Signed-off-by: Eivind Jølsgard <[email protected]>
  • Loading branch information
eivindj-nordic committed Apr 16, 2024
1 parent ecba366 commit c797117
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions nrf_modem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

if(CONFIG_NRF_MODEM_LINK_BINARY_LTE OR CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY)
if(CONFIG_NRF_MODEM_LINK_BINARY_CELLULAR OR CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY)

string(REGEX REPLACE "_[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]$" "" arch_soc_dir ${CONFIG_SOC})

Expand All @@ -24,9 +24,9 @@ if(CONFIG_NRF_MODEM_LINK_BINARY_LTE OR CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY)
set(float_dir soft-float)
endif()

if(CONFIG_NRF_MODEM_LINK_BINARY_LTE)
zephyr_include_directories(lte/include)
set(NRF_MODEM_LIB_DIR "lte/lib/${arch_soc_dir}/${float_dir}")
if(CONFIG_NRF_MODEM_LINK_BINARY_CELLULAR)
zephyr_include_directories(cellular/include)
set(NRF_MODEM_LIB_DIR "cellular/lib/${arch_soc_dir}/${float_dir}")
elseif(CONFIG_NRF_MODEM_LINK_BINARY_DECT_PHY)
zephyr_include_directories(dect_phy/include)
set(NRF_MODEM_LIB_DIR "dect_phy/lib/${arch_soc_dir}/${float_dir}")
Expand Down
8 changes: 4 additions & 4 deletions nrf_modem/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ choice NRF_MODEM_BUILD_STRATEGY
depends on NRF_MODEM
prompt "Build strategy"

config NRF_MODEM_LINK_BINARY_LTE
bool "Link LTE binary"
config NRF_MODEM_LINK_BINARY_CELLULAR
bool "Link cellular binary"

config NRF_MODEM_LINK_BINARY_DECT_PHY
bool "Link DECT PHY binary"
endchoice

config NRF_MODEM_LOG
depends on NRF_MODEM_LINK_BINARY_LTE || NRF_MODEM_LINK_BINARY_DECT_PHY
depends on NRF_MODEM_LINK_BINARY_CELLULAR || NRF_MODEM_LINK_BINARY_DECT_PHY
bool "Link binary with logs"
help
Links the application with the library version capable of emitting logs.
Expand All @@ -36,4 +36,4 @@ endmenu
config NRF_MODEM_SHMEM_CTRL_SIZE
hex
default 0x728 if NRF_MODEM_LINK_BINARY_DECT_PHY # import DECT_PHY
default 0x4e8 # import LTE
default 0x4e8 # import CELLULAR
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c797117

Please sign in to comment.