Hi all,
I’m trying to build the tracker example from the nrf9160-feather-examples-and-drivers repository on my sparkfun nrf9160 thing plus. I’m using the Zephyr tools VS code plugin.
I’ve had some difficulty getting the toolchain set up correctly to work with the example - having tried both the guide on the Sparkfun listing instructing you to install the NCS 1.5.x toolchain, and simply following the jaredwolff documentation from a clean setup.
The error i’m receiving is:
`warning: Experimental symbol NET_SOCKETS_SOCKOPT_TLS is enabled.
warning: Experimental symbol NET_SOCKETS_ENABLE_DTLS is enabled.
warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.
/Users/xx/GitHub_src/test/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.conf:16: warning: attempt to assign the value ‘y’ to the undefined symbol PM_EXTERNAL_FLASH
/Users/xx/GitHub_src/test/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.conf:17: warning: attempt to assign the value ‘“W25Q32JV”’ to the undefined symbol PM_EXTERNAL_FLASH_DEV_NAME
/Users/xx/GitHub_src/test/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.conf:19: warning: attempt to assign the value ‘0×400000’ to the undefined symbol PM_EXTERNAL_FLASH_SIZE
Parsing /Users/xx/GitHub_src/test/nfed/samples/tracker/Kconfig
Loaded configuration ‘/Users/xx/GitHub_src/test/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160_ns_defconfig’
Merged configuration ‘/Users/xx/GitHub_src/test/nfed/samples/tracker/conf/prj.conf’
Merged configuration ‘/Users/xx/GitHub_src/test/nfed/samples/tracker/conf/backends/golioth.conf’
Merged configuration ‘/Users/xx/GitHub_src/test/nfed/samples/tracker/conf/debug.conf’
Merged configuration ‘/Users/xx/GitHub_src/test/nfed/samples/tracker/conf/version.conf’
Merged configuration ‘/Users/xx/GitHub_src/test/nfed/samples/tracker/boards/circuitdojo_feather_nrf9160_ns.conf’
error: Aborting due to Kconfig warnings
CMake Error at /Users/xx/GitHub_src/test/zephyr/cmake/kconfig.cmake:272 (message):
command failed with return code: 1
Call Stack (most recent call first):
/Users/xx/GitHub_src/test/zephyr/cmake/app/boilerplate.cmake:544 (include)
/Users/xx/GitHub_src/test/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
/Users/xx/GitHub_src/test/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:79 (find_package)`
My understanding from other posts is that these commands are deprecated in newer versions of the NCS toolchain. What is the correct method to configure my toolchain (be it with an NCS toolchain or other), as I can’t find it covered in the Zephyr tools VS code information. Do the kconfs in the board conf file need updating for the newer toolchain versions (PM_EXTERNAL_FLASH, PM_EXTERNAL_FLASH_DEV_NAME, PM_EXTERNAL_FLASH_SIZE)?
Many thanks