Skip to content

Commit 0cdddff

Browse files
plskeggsmbolivar-nordic
authored andcommitted
applications: serial_lte_modem: integrate with P-GPS partition
When using the P-GPS partition in flash, there is no need to refer to PM_MCUBOOT_SECONDARY_ADDRESS or _SIZE. Signed-off-by: Pete Skeggs <[email protected]>
1 parent 099340b commit 0cdddff

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

applications/serial_lte_modem/src/gnss/slm_at_gnss.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#include <stdio.h>
99
#include <logging/log.h>
1010
#include <date_time.h>
11-
#include <pm_config.h>
1211
#include <net/cloud.h>
1312
#include <nrf_modem_gnss.h>
1413
#include <net/nrf_cloud_agps.h>
@@ -950,8 +949,10 @@ int handle_at_pgps(enum at_cmd_type cmd_type)
950949

951950
struct nrf_cloud_pgps_init_param param = {
952951
.event_handler = pgps_event_handler,
953-
.storage_base = PM_MCUBOOT_SECONDARY_ADDRESS,
954-
.storage_size = PM_MCUBOOT_SECONDARY_SIZE};
952+
/* storage is defined by CONFIG_NRF_CLOUD_PGPS_STORAGE */
953+
.storage_base = 0u,
954+
.storage_size = 0u
955+
};
955956

956957
err = nrf_cloud_pgps_init(&param);
957958
if (err) {

0 commit comments

Comments
 (0)