Thanks @ayush1325
I have successfully setup Greybus and I was trying to build it for beagleconnect_freedom, but getting error after running west build -p always -b beagleconnect_freedom ../modules/greybus/samples/subsys/greybus/net
– west build: making build dir /home/sahil/zephyrproject/zephyr/build pristine
– west build: generating a build system
Loading Zephyr default modules (Zephyr base).
– Application: /home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net
– CMake version: 4.0.2
– Found Python3: /home/sahil/zephyrproject/.venv/bin/python3 (found suitable version “3.12.3”, minimum required is “3.10”) found components: Interpreter
– Cache files will be written to: /home/sahil/.cache/zephyr
– Zephyr version: 4.1.99 (/home/sahil/zephyrproject/zephyr)
– Found west (found suitable version “1.3.0”, minimum required is “0.14.0”)
– Board: beagleconnect_freedom, qualifiers: cc1352p7
– ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
– Found host-tools: zephyr 0.17.0 (/home/sahil/zephyr-sdk-0.17.0)
– Found toolchain: zephyr 0.17.0 (/home/sahil/zephyr-sdk-0.17.0)
– Found Dtc: /home/sahil/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version “1.6.0”, minimum required is “1.4.6”)
– Found BOARD.dts: /home/sahil/zephyrproject/zephyr/boards/beagle/beagleconnect_freedom/beagleconnect_freedom.dts
– Found devicetree overlay: /home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/boards/beagleconnect_freedom.overlay
node ‘/resources’ compatible ‘test,greybus-i2c’ has unknown vendor prefix ‘test’
– Generated zephyr.dts: /home/sahil/zephyrproject/zephyr/build/zephyr/zephyr.dts
– Generated pickled edt: /home/sahil/zephyrproject/zephyr/build/zephyr/edt.pickle
– Generated devicetree_generated.h: /home/sahil/zephyrproject/zephyr/build/zephyr/include/generated/zephyr/devicetree_generated.h
– Including generated dts.cmake file: /home/sahil/zephyrproject/zephyr/build/zephyr/dts.cmake
warning: The choice symbol NET_L2_IEEE802154_RADIO_ALOHA (defined at
subsys/net/l2/ieee802154/Kconfig.radio:36) was selected (set =y), but no symbol ended up as the
choice selection. See
Kconfig Search — Zephyr Project Documentation and/or look
up NET_L2_IEEE802154_RADIO_ALOHA 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.
/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf:7: warning: attempt to assign the value ‘y’ to the undefined symbol POSIX_CLOCK
/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf:8: warning: attempt to assign the value ‘y’ to the undefined symbol PTHREAD_IPC
/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf:24: warning: attempt to assign the value ‘y’ to the undefined symbol NET_SOCKETS_POSIX_NAMES
/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf:26: warning: attempt to assign the value ‘16’ to the undefined symbol POSIX_MAX_FDS
/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf:71: warning: attempt to assign the value ‘16’ to the undefined symbol MAX_PTHREAD_COUNT
Parsing /home/sahil/zephyrproject/zephyr/Kconfig
Loaded configuration ‘/home/sahil/zephyrproject/zephyr/boards/beagle/beagleconnect_freedom/beagleconnect_freedom_defconfig’
Merged configuration ‘/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/prj.conf’
Merged configuration ‘/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net/boards/beagleconnect_freedom.conf’
error: Aborting due to Kconfig warnings
CMake Error at /home/sahil/zephyrproject/zephyr/cmake/modules/kconfig.cmake:365 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/sahil/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:131 (include)
/home/sahil/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/sahil/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:4 (find_package)
– Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/home/sahil/zephyrproject/.venv/bin/python3 -B/home/sahil/zephyrproject/zephyr/build -GNinja -DBOARD=beagleconnect_freedom -S/home/sahil/zephyrproject/modules/greybus/samples/subsys/greybus/net
Can you help me understand what the error is and some resource to fix this ?
@ayush1325 , @vaishnav , @moto-timo