From 4a3b045b1b2309ae5afae2ed875c39af0859430c Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 21 May 2026 16:51:28 -0400 Subject: [PATCH 1/2] fix build issues --- .../boards/circuitdojo_feather_nrf9151_ns.conf | 2 +- apps/siot-nrf-simple/prj.conf | 4 ++-- apps/siot-nrf-simple/src/main.c | 10 ++-------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/apps/siot-nrf-simple/boards/circuitdojo_feather_nrf9151_ns.conf b/apps/siot-nrf-simple/boards/circuitdojo_feather_nrf9151_ns.conf index ce17a7c..55b058f 100644 --- a/apps/siot-nrf-simple/boards/circuitdojo_feather_nrf9151_ns.conf +++ b/apps/siot-nrf-simple/boards/circuitdojo_feather_nrf9151_ns.conf @@ -7,4 +7,4 @@ CONFIG_I2C=y # Pmic LED driver CONFIG_LED=y -CONFIG_LED_NPM1300=y +CONFIG_LED_NPM13XX=y diff --git a/apps/siot-nrf-simple/prj.conf b/apps/siot-nrf-simple/prj.conf index 0f37bbf..716b87c 100644 --- a/apps/siot-nrf-simple/prj.conf +++ b/apps/siot-nrf-simple/prj.conf @@ -12,7 +12,6 @@ CONFIG_NET_TCP=y # net shell CONFIG_SHELL=y -CONFIG_MODEM_SHELL=y CONFIG_AT_SHELL=y CONFIG_NET_SHELL=y @@ -20,7 +19,8 @@ CONFIG_NET_SHELL=y CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=y -# PSM enablez +# PSM enablez (LTE_LC_PSM_MODULE gates the PSM submodule in NCS v3.x) +CONFIG_LTE_LC_PSM_MODULE=y CONFIG_LTE_PSM_REQ=y CONFIG_LTE_PSM_REQ_RPTAU="00100110" # 6 hour CONFIG_LTE_PSM_REQ_RAT="00000011" # 6 sec active time diff --git a/apps/siot-nrf-simple/src/main.c b/apps/siot-nrf-simple/src/main.c index 58dd1a8..dd9de12 100644 --- a/apps/siot-nrf-simple/src/main.c +++ b/apps/siot-nrf-simple/src/main.c @@ -25,14 +25,8 @@ int main(void) return err; } - /* Init lte_lc*/ - err = lte_lc_init(); - if (err < 0) { - LOG_ERR("Failed to init. Err: %i", err); - return err; - } - - /* Power saving is turned on */ + /* Power saving is turned on (lte_lc_init was removed in NCS v3.x — + * lte_lc_connect now performs initialization internally). */ lte_lc_psm_req(true); /* Connect */ From c700aaf7b3c59696aa19cf66a15a1a0e4ac9531c Mon Sep 17 00:00:00 2001 From: Cliff Brake Date: Thu, 21 May 2026 16:51:34 -0400 Subject: [PATCH 2/2] upgrade to the latest version --- west-nrf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west-nrf.yml b/west-nrf.yml index 687a59b..ebac793 100644 --- a/west-nrf.yml +++ b/west-nrf.yml @@ -5,7 +5,7 @@ manifest: projects: - name: nfed url: https://github.com/circuitdojo/nrf9160-feather-examples-and-drivers - revision: v2.7.x + revision: v3.2.x import: true - name: west-debug-tools revision: main