Description
I’m trying to set up a Thingy91x to send location updates every x seconds to the LightDB Stream in Golioth. I followed golioth-firmware-sdk/examples/zephyr at main · golioth/golioth-firmware-sdk · GitHub to initialize a repo, and I do have the Zephyr SDK loaded. I currently have the firmware build from GitHub - golioth/thingy91-golioth on the device, which is working fine. But when I try to build the location example it seems to fail and I’m not quite sure why.
The command I’m running is west build -p -b nrf9151dk/nrf9151/ns examples/zephyr/location
in the golioth-sdk/modules/lib/golioth-firmware-sdk
directory. The build is failing due to Kconfig warnings, which are all seemingly related to the socs (I include those in the logs below).
Basically I’m trying to spin up what feels like a really simple use case, but this being my first foray into these boards + build system I’m feeling a little stuck.
Expected Behavior
Send logs including the current location every 15 seconds to my dashboard
Actual Behavior
Build errors
Environment
Building on Mac OSX (Sequoia)
Loading Zephyr default modules (Zephyr base).
– Application: /Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location
– CMake version: 4.0.2
– Found Python3: /Users/foyc/Workspace/zephyrproject/.venv/bin/python3 (found suitable version “3.12.4”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /Users/foyc/Library/Caches/zephyr
– Zephyr version: 4.1.0 (/Users/foyc/Workspace/golioth-sdk/zephyr)
– Found west (found suitable version “1.4.0”, minimum required is “0.14.0”)
– Board: nrf9151dk, qualifiers: nrf9151/ns
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.17.1 (/Users/foyc/zephyr-sdk-0.17.1)
– Found toolchain: zephyr 0.17.1 (/Users/foyc/zephyr-sdk-0.17.1)
– Found Dtc: /opt/homebrew/bin/dtc (found suitable version “1.7.2”, minimum required is “1.4.6”)
– Found BOARD.dts: /Users/foyc/Workspace/golioth-sdk/zephyr/boards/nordic/nrf9151dk/nrf9151dk_nrf9151_ns.dts
– Generated zephyr.dts: /Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/build/zephyr/zephyr.dts
– Generated pickled edt: /Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/build/zephyr/edt.pickle
– Generated devicetree_generated.h: /Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/build/zephyr/include/generated/zephyr/devicetree_generated.h
– Including generated dts.cmake file: /Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/build/zephyr/dts.cmake
Logs and Console Output
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:16: warning: attempt to assign the value ‘y’ to the undefined symbol NRF_MODEM_LIB
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:19: warning: attempt to assign the value ‘y’ to the undefined symbol NRF_MODEM_LIB_NET_IF
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:20: warning: attempt to assign the value ‘y’ to the undefined symbol NRF_MODEM_LIB_NET_IF_AUTO_START
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:21: warning: attempt to assign the value ‘y’ to the undefined symbol NRF_MODEM_LIB_NET_IF_AUTO_CONNECT
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:35: warning: attempt to assign the value ‘n’ to the undefined symbol NORDIC_SECURITY_BACKEND
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:36: warning: attempt to assign the value ‘y’ to the undefined symbol MBEDTLS_LEGACY_CRYPTO_C
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:46: warning: attempt to assign the value ‘y’ to the undefined symbol NETWORK_INFO
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:47: warning: attempt to assign the value ‘y’ to the undefined symbol MODEM_INFO
/Users/foyc/Workspace/golioth-sdk/modules/lib/golioth-firmware-sdk/examples/zephyr/location/socs/nrf9151_ns.conf:49: warning: attempt to assign the value ‘y’ to the undefined symbol LTE_LC_NEIGHBOR_CELL_MEAS_MODULE
Attempts to Resolve
I’ve tried clearing the Zephyr cache, ensuring I’m doing a pristine build, and even copying over the SOCs from thingy91-golioth/socs/nrf9151_ns.conf at main · golioth/thingy91-golioth · GitHub