hello Nordic
i am working with vs code with the nrf extension for vs code, usually works fine
i have some issue with building and i see that the path for the nrf connect SDK does not update:
it can be seen that ncs is set to dir workspace/ncs, but in the log it goes to ziv/ncs/ which is the wrong path, i tried to close and reopen the vs code and i see that when reopened it it again set to the wrong path, how can i fix this bug ?
the build fail log is this:
Building augury_app /bin/sh -c west build --build-dir /home/ziv/workspace/canary-ep/augury_app/build_apus_alpha /home/ziv/workspace/canary-ep/augury_app -- west build: generating a build system Loading Zephyr default modules (Zephyr base (cached)). -- Application: /home/ziv/workspace/canary-ep/augury_app -- Cache files will be written to: /home/ziv/.cache/zephyr -- Zephyr version: 3.1.99 (/home/ziv/ncs/v2.1.0/zephyr) -- Found west (found suitable version "0.14.0", minimum required is "0.7.1") -- Board: apus_alpha_ncs -- Found host-tools: zephyr 0.14.1 (/home/ziv/ncs/toolchains/v2.1.0/opt/zephyr-sdk) -- Found dtc: /home/ziv/ncs/toolchains/v2.1.0/usr/bin/dtc (found suitable version "1.4.7", minimum required is "1.4.6") -- Found toolchain: zephyr 0.14.1 (/home/ziv/ncs/toolchains/v2.1.0/opt/zephyr-sdk) -- Found BOARD.dts: /home/ziv/workspace/canary-ep/boards/arm/apus_alpha_ncs/apus_alpha_ncs.dts -- Found devicetree overlay: /home/ziv/workspace/canary-ep/augury_app/apus_alpha_ncs.overlay 'sck-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40003000. 'mosi-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40003000. 'miso-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40003000. 'sck-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40023000. 'mosi-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40023000. 'miso-pin' is marked as deprecated in 'properties:' in /home/ziv/ncs/v2.1.0/zephyr/dts/bindings/spi/nordic,nrf-spim.yaml for node /soc/spi@40023000. node '/thermistor_node' compatible 'rt1,ncp15wb473f03' has unknown vendor prefix 'rt1' -- Generated zephyr.dts: /home/ziv/workspace/canary-ep/augury_app/build_apus_alpha/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: /home/ziv/workspace/canary-ep/augury_app/build_apus_alpha/zephyr/include/generated/devicetree_unfixed.h -- Generated device_extern.h: /home/ziv/workspace/canary-ep/augury_app/build_apus_alpha/zephyr/include/generated/device_extern.h -- Including generated dts.cmake file: /home/ziv/workspace/canary-ep/augury_app/build_apus_alpha/zephyr/dts.cmake Parsing /home/ziv/workspace/canary-ep/augury_app/Kconfig Loaded configuration '/home/ziv/workspace/canary-ep/boards/arm/apus_alpha_ncs/apus_alpha_ncs_defconfig' Merged configuration '/home/ziv/workspace/canary-ep/augury_app/prj.conf' Merged configuration '/home/ziv/workspace/canary-ep/augury_app/apus_alpha_ncs.conf' Merged configuration '/home/ziv/workspace/canary-ep/augury_app/version.conf' warning: LOG_BUFFER_SIZE (defined at /home/ziv/ncs/v2.1.0/nrf/subsys/net/openthread/Kconfig.defconfig:42, subsys/logging/Kconfig.processing:108) was assigned the value '256' but got the value ''. Check these unsatisfied dependencies: (NET_L2_OPENTHREAD || (LOG_MODE_DEFERRED && !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL && LOG)) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_BUFFER_SIZE and/or look up LOG_BUFFER_SIZE in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: LOG_PRINTK (defined at subsys/logging/Kconfig.processing:8) was assigned the value 'y' but got the value 'n'. Check these unsatisfied dependencies: (!LOG_MODE_MINIMAL) (=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_LOG_PRINTK and/or look up LOG_PRINTK in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol MEMFAULT_ROOT_CERT_STORAGE_CUSTOM (defined at /home/ziv/ncs/v2.1.0/modules/lib/memfault-firmware-sdk/ports/zephyr/Kconfig:153) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MEMFAULT_ROOT_CERT_STORAGE_CUSTOM and/or look up MEMFAULT_ROOT_CERT_STORAGE_CUSTOM in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: Experimental symbol BT_LL_SW_SPLIT is enabled. /home/ziv/workspace/canary-ep/augury_app/prj.conf:187: warning: attempt to assign the value 'y' to the undefined symbol MEMFAULT_COREDUMP_FULL_THREAD_STACKS error: Aborting due to Kconfig warnings CMake Error at /home/ziv/ncs/v2.1.0/zephyr/cmake/modules/kconfig.cmake:293 (message): command failed with return code: 1 Call Stack (most recent call first): /home/ziv/ncs/v2.1.0/zephyr/cmake/modules/zephyr_default.cmake:121 (include) /home/ziv/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /home/ziv/ncs/v2.1.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate) /home/ziv/ncs/v2.1.0/zephyr/cmake/app/boilerplate.cmake:25 (find_package) CMakeLists.txt:156 (include) -- Configuring incomplete, errors occurred! FATAL ERROR: command exited with status 1: /home/ziv/ncs/toolchains/v2.1.0/usr/local/bin/cmake -DWEST_PYTHON=/home/ziv/ncs/toolchains/v2.1.0/usr/local/bin/python3.8 -B/home/ziv/workspace/canary-ep/augury_app/build_apus_alpha -GNinja -S/home/ziv/workspace/canary-ep/augury_app
this problem came out of nowhere, one day it works the next it does not, so unclear
hope to read from you soon, this is a real annoying setback
best regards
Ziv