Skip to content

Commit

Permalink
lib: location: change to depends on
Browse files Browse the repository at this point in the history
test depends on.

Signed-off-by: Mirko Covizzi <[email protected]>
  • Loading branch information
MirkoCovizzi committed Oct 22, 2024
1 parent 0de4670 commit 7c59e1d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 8 additions & 4 deletions lib/location/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,20 @@ config LOCATION_METHOD_GNSS
bool "Allow GNSS to be used for obtaining the location"
depends on NRF_MODEM_LIB
depends on LTE_LINK_CONTROL
imply LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
imply LTE_LC_PSM_MODULE
imply LTE_LC_MODEM_SLEEP_MODULE
# imply LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
# imply LTE_LC_PSM_MODULE
# imply LTE_LC_MODEM_SLEEP_MODULE
depends on LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
depends on LTE_LC_PSM_MODULE
depends on LTE_LC_MODEM_SLEEP_MODULE
default y

config LOCATION_METHOD_CELLULAR
bool "Allow cellular positioning to be used for obtaining the location"
depends on NRF_MODEM_LIB
depends on LTE_LINK_CONTROL
imply LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
# imply LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
depends on LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
default y

config LOCATION_METHOD_WIFI
Expand Down
7 changes: 4 additions & 3 deletions tests/lib/location/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ config LOCATION_METHOD_GNSS
bool "Internal"
#depends on NRF_MODEM_LIB
depends on LTE_LINK_CONTROL
imply LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
imply LTE_LC_PSM_MODULE
imply LTE_LC_MODEM_SLEEP_MODULE
depends on LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
depends on LTE_LC_PSM_MODULE
depends on LTE_LC_MODEM_SLEEP_MODULE
default y
help
Redefinition to disable modemlib requirement from the tests as we want to mock it.
Expand All @@ -23,6 +23,7 @@ config LOCATION_METHOD_CELLULAR
bool "Internal"
#depends on NRF_MODEM_LIB
depends on LTE_LINK_CONTROL
depends on LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
default y
help
Redefinition to disable modemlib requirement from the tests as we want to mock it.
Expand Down

0 comments on commit 7c59e1d

Please sign in to comment.