Hi
i have nrf52840Dong and nrf5340DK, how to config zephyr sample project broadcase_audio_souce to use nrf52840dongle?
thanks
Hi
i have nrf52840Dong and nrf5340DK, how to config zephyr sample project broadcase_audio_souce to use nrf52840dongle?
thanks
Hi
ubuntu 20.3
vscode with nRF connect extension
when config the project to use nrf52840dongle, I get the following message:
* Executing task: nRF Connect: Build: broadcast_audio_source/build (active)
Building broadcast_audio_source
west build --build-dir /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build /home/yanzhongsan/Nordic/projects/broadcast_audio_source
[0/1] Re-running CMake...
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/yanzhongsan/Nordic/projects/broadcast_audio_source
-- Cache files will be written to: /home/yanzhongsan/.cache/zephyr
-- Zephyr version: 3.1.99 (/home/yanzhongsan/Nordic/ncs-main/zephyr)
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: nrf52840dongle_nrf52840
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/gcc-arm/gcc-arm-none-eabi-10.3-2021.10)
-- Found BOARD.dts: /home/yanzhongsan/Nordic/ncs-main/zephyr/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840.dts
-- Generated zephyr.dts: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/dts.cmake
Parsing /home/yanzhongsan/Nordic/ncs-main/zephyr/Kconfig
Loaded configuration '/home/yanzhongsan/Nordic/ncs-main/zephyr/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/prj.conf'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/boards/nrf52840dongle_nrf52840.conf'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/misc/generated/extra_kconfig_options.conf'
warning: BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142)
was assigned the value '1' but got the value '0'. See
docs.zephyrproject.org/.../kconfig.html and/or
look up BT_AUDIO_BROADCAST_SRC_STREAM_COUNT 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: BT_ISO_TX_BUF_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/Kconfig.iso:77) was assigned the value '2'
but got the value ''. Check these unsatisfied dependencies: BT_ISO (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_ISO_TX_BUF_COUNT 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: BT_CTLR_ISO_TX_BUFFER_SIZE (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:219) was
assigned the value '155' but got the value ''. Check these unsatisfied dependencies:
(BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ISO_TX_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: BT_CTLR_ADV_DATA_LEN_MAX (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:518) was assigned
the value '191' but got the value ''. Check these unsatisfied dependencies: BT_CTLR_ADV_EXT (=n).
See docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ADV_DATA_LEN_MAX 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: BT_CTLR_ADV_ISO (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:616,
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:625) was assigned the value 'y' but got the value 'n'. Check
these unsatisfied dependencies: ((BT_BROADCASTER && BT_CTLR_ADV_ISO_SUPPORT && BT_CTLR_ADV_EXT &&
BT_CTLR && BT_HCI && BT) || (BT_CTLR_ADV_EXT && BT_CTLR && BT_HCI && BT)) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ADV_ISO 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_AUDIO is enabled.
warning: Experimental symbol BT_AUDIO_BROADCAST_SOURCE is enabled.
warning: BT_ISO_BROADCASTER (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/Kconfig.iso:44) has direct dependencies (!BT_CTLR || BT_CTLR_ADV_ISO_SUPPORT) && BT_HCI && BT with value n, but is currently being y-selected by the following symbols:
- BT_AUDIO_BROADCAST_SOURCE (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:119, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:119), with value y, direct dependencies (BT_AUDIO && BT_HCI_HOST && BT_RPC_STACK) || (BT_AUDIO && BT_HCI_HOST && BT_HCI && BT) (value: y), and select condition BT_AUDIO && BT_HCI_HOST && BT_HCI && BT (value: y)
warning: user value 1 on the int symbol BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142) ignored due to being outside the active range ([0, 0]) -- falling back on defaults
warning: default value 1 on BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142) clamped to 0 due to being outside the active range ([0, 0])
warning: default value 1 on BT_AUDIO_BROADCAST_SRC_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:132, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:132) clamped to 0 due to being outside the active range ([0, 0])
error: Aborting due to Kconfig warnings
CMake Error at /home/yanzhongsan/Nordic/ncs-main/zephyr/cmake/modules/kconfig.cmake:290 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/yanzhongsan/Nordic/ncs-main/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
/home/yanzhongsan/Nordic/ncs-main/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/yanzhongsan/Nordic/ncs-main/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:96 (include_boilerplate)
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeFiles/CMakeOutput.log".
See also "/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeFiles/CMakeError.log".
FAILED: build.ninja
/usr/bin/cmake --regenerate-during-build -S/home/yanzhongsan/Nordic/projects/broadcast_audio_source -B/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build
ninja: error: rebuilding 'build.ninja': subcommand failed
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
thanks
Hi
ubuntu 20.3
vscode with nRF connect extension
when config the project to use nrf52840dongle, I get the following message:
* Executing task: nRF Connect: Build: broadcast_audio_source/build (active)
Building broadcast_audio_source
west build --build-dir /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build /home/yanzhongsan/Nordic/projects/broadcast_audio_source
[0/1] Re-running CMake...
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/yanzhongsan/Nordic/projects/broadcast_audio_source
-- Cache files will be written to: /home/yanzhongsan/.cache/zephyr
-- Zephyr version: 3.1.99 (/home/yanzhongsan/Nordic/ncs-main/zephyr)
-- Found west (found suitable version "0.13.1", minimum required is "0.7.1")
-- Board: nrf52840dongle_nrf52840
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (/opt/gcc-arm/gcc-arm-none-eabi-10.3-2021.10)
-- Found BOARD.dts: /home/yanzhongsan/Nordic/ncs-main/zephyr/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840.dts
-- Generated zephyr.dts: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/dts.cmake
Parsing /home/yanzhongsan/Nordic/ncs-main/zephyr/Kconfig
Loaded configuration '/home/yanzhongsan/Nordic/ncs-main/zephyr/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/prj.conf'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/boards/nrf52840dongle_nrf52840.conf'
Merged configuration '/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/zephyr/misc/generated/extra_kconfig_options.conf'
warning: BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142)
was assigned the value '1' but got the value '0'. See
docs.zephyrproject.org/.../kconfig.html and/or
look up BT_AUDIO_BROADCAST_SRC_STREAM_COUNT 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: BT_ISO_TX_BUF_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/Kconfig.iso:77) was assigned the value '2'
but got the value ''. Check these unsatisfied dependencies: BT_ISO (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_ISO_TX_BUF_COUNT 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: BT_CTLR_ISO_TX_BUFFER_SIZE (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:219) was
assigned the value '155' but got the value ''. Check these unsatisfied dependencies:
(BT_CTLR_ADV_ISO || BT_CTLR_CONN_ISO) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ISO_TX_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: BT_CTLR_ADV_DATA_LEN_MAX (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:518) was assigned
the value '191' but got the value ''. Check these unsatisfied dependencies: BT_CTLR_ADV_EXT (=n).
See docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ADV_DATA_LEN_MAX 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: BT_CTLR_ADV_ISO (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:616,
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/controller/Kconfig:625) was assigned the value 'y' but got the value 'n'. Check
these unsatisfied dependencies: ((BT_BROADCASTER && BT_CTLR_ADV_ISO_SUPPORT && BT_CTLR_ADV_EXT &&
BT_CTLR && BT_HCI && BT) || (BT_CTLR_ADV_EXT && BT_CTLR && BT_HCI && BT)) (=n). See
docs.zephyrproject.org/.../kconfig.html and/or look up
BT_CTLR_ADV_ISO 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_AUDIO is enabled.
warning: Experimental symbol BT_AUDIO_BROADCAST_SOURCE is enabled.
warning: BT_ISO_BROADCASTER (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/Kconfig.iso:44) has direct dependencies (!BT_CTLR || BT_CTLR_ADV_ISO_SUPPORT) && BT_HCI && BT with value n, but is currently being y-selected by the following symbols:
- BT_AUDIO_BROADCAST_SOURCE (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:119, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:119), with value y, direct dependencies (BT_AUDIO && BT_HCI_HOST && BT_RPC_STACK) || (BT_AUDIO && BT_HCI_HOST && BT_HCI && BT) (value: y), and select condition BT_AUDIO && BT_HCI_HOST && BT_HCI && BT (value: y)
warning: user value 1 on the int symbol BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142) ignored due to being outside the active range ([0, 0]) -- falling back on defaults
warning: default value 1 on BT_AUDIO_BROADCAST_SRC_STREAM_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:142) clamped to 0 due to being outside the active range ([0, 0])
warning: default value 1 on BT_AUDIO_BROADCAST_SRC_COUNT (defined at /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:132, /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/subsys/bluetooth/audio/Kconfig.baps:132) clamped to 0 due to being outside the active range ([0, 0])
error: Aborting due to Kconfig warnings
CMake Error at /home/yanzhongsan/Nordic/ncs-main/zephyr/cmake/modules/kconfig.cmake:290 (message):
command failed with return code: 1
Call Stack (most recent call first):
/home/yanzhongsan/Nordic/ncs-main/zephyr/cmake/modules/zephyr_default.cmake:121 (include)
/home/yanzhongsan/Nordic/ncs-main/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/yanzhongsan/Nordic/ncs-main/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:96 (include_boilerplate)
/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeFiles/CMakeOutput.log".
See also "/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build/CMakeFiles/CMakeError.log".
FAILED: build.ninja
/usr/bin/cmake --regenerate-during-build -S/home/yanzhongsan/Nordic/projects/broadcast_audio_source -B/home/yanzhongsan/Nordic/projects/broadcast_audio_source/build
ninja: error: rebuilding 'build.ninja': subcommand failed
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/yanzhongsan/Nordic/projects/broadcast_audio_source/build
* The terminal process terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
thanks