¸Hello mike
thanks for the Codspaces … it works, I guess, if the IoT example is run I should connect to the Golitoh? Anyway, did try it out, should I follow the instructions?
root@codespaces-cd7fcd:/zephyr-training/app# west build -b nrf7002dk_nrf5340_cpuapp 01_IOT
ERROR: Build directory “/zephyr-training/app/build” is for application “/zephyr-training/app/02_helloworld”, but source directory “/zephyr-training/app/01_IOT” was specified; please clean it, use --pristine, or use --build-dir to set another build directory
FATAL ERROR: refusing to proceed without --force due to above error
Re virtual environemnt I am not really sure when I have to use the (.venv), and when I have to use the e.g. PowerShell instead of basic command prompt.
Yeah, I am not really a “administrator” Had several issues with activating the venv…
Re west config manifest.file
Not sure where to “launch” it so went to the zephyr-training directory, anyway, nothing with regard to the output, hope this was expected ?
PS C:\Users\Administrator> cd .\zephyr-training
PS C:\Users\Administrator\zephyr-training> dir
Directory: C:\Users\Administrator\zephyr-training
Mode LastWriteTime Length Name
d----- 1/19/2024 11:23 AM .venv
d----- 1/19/2024 11:24 AM .west
PS C:\Users\Administrator\zephyr-training> west config manifest.file
PS C:\Users\Administrator\zephyr-training>
BTW I am not sure where to run with regard to the command line tool, etc.
Adding the whole output of the local build:
PS C:\ncs\v2.3.0\zephyr\zephyr-training-1.1.1\01_IOT> west build -b nrf7002dk_nrf5340_cpuapp
– west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
– Application: C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT
– Using NCS Toolchain 2.3.0 for building. (C:/ncs/toolchains/v2.3.0/cmake)
– Cache files will be written to: C:/ncs/v2.3.0/zephyr/.cache
– Zephyr version: 3.2.99 (C:/ncs/v2.3.0/zephyr)
– Found west (found suitable version “0.14.0”, minimum required is “0.7.1”)
– Board: nrf7002dk_nrf5340_cpuapp
– Found host-tools: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
– Found toolchain: zephyr 0.15.2 (C:/ncs/toolchains/v2.3.0/opt/zephyr-sdk)
– Found BOARD.dts: C:/ncs/v2.3.0/nrf/boards/arm/nrf7002dk_nrf5340/nrf7002dk_nrf5340_cpuapp.dts
– Generated zephyr.dts: C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/build/zephyr/zephyr.dts
– Generated devicetree_generated.h: C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/build/zephyr/include/generated/devicetree_generated.h
– Including generated dts.cmake file: C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/build/zephyr/dts.cmake
Parsing C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/Kconfig
Loaded configuration ‘C:/ncs/v2.3.0/nrf/boards/arm/nrf7002dk_nrf5340/nrf7002dk_nrf5340_cpuapp_defconfig’
Merged configuration ‘C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf’
Merged configuration ‘C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/boards/nrf7002dk_nrf5340_cpuapp.conf’
warning: Experimental symbol NET_SOCKETPAIR is enabled.
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:7: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SAMPLES_COMMON
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:16: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:17: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SYSTEM_CLIENT
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:18: warning: attempt to assign the value ‘4096’ to the undefined symbol GOLIOTH_SYSTEM_CLIENT_STACK_SIZE
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:19: warning: attempt to assign the value ‘y’ to the undefined symbol LOG_BACKEND_GOLIOTH
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:21: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_RPC
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:22: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SETTINGS
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:25: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SAMPLE_SETTINGS_AUTOLOAD
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:26: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SAMPLE_SETTINGS_SHELL
C:/ncs/v2.3.0/zephyr/zephyr-training-1.1.1/01_IOT/prj.conf:27: warning: attempt to assign the value ‘y’ to the undefined symbol GOLIOTH_SETTINGS
error: Aborting due to Kconfig warnings
CMake Error at C:/ncs/v2.3.0/zephyr/cmake/modules/kconfig.cmake:328 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/ncs/v2.3.0/nrf/cmake/modules/kconfig.cmake:29 (include)
C:/ncs/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:5 (find_package)
– Configuring incomplete, errors occurred!
←[91mFATAL ERROR: command exited with status 1: ‘C:\Program Files\CMake\bin\cmake.EXE’ ‘-DWEST_PYTHON=C:\Python311\python.exe’ ‘-BC:\ncs\v2.3.0\zephyr\zephyr-training-1.1.1\01_IOT\build’ -GNinja ‘-SC:\ncs\v2.3.0\zephyr\zephyr-training-1.1.1\01_IOT’
←[0m
PS C:\ncs\v2.3.0\zephyr\zephyr-training-1.1.1\01_IOT>
Best.