This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I2S data transmission over BLE

Hi,

I want to send the I2S MIC Raw data through Ble by using ble_nus_send. I have written one application but it triggers a Cmake error. I have attached the log below, Kindly check and guide me to achieve the above

Creating solution I2S_MIC.emProject
-- Application: D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC
-- Zephyr version: 2.6.99 (D:/v1.7.1/zephyr), build: v2.6.99-ncs1-1
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Board: nrf5340dk_nrf5340_cpuapp
-- Cache files will be written to: D:/v1.7.1/zephyr/.cache
-- Found dtc: D:/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (D:/v1.7.1/toolchain/opt)
-- Found BOARD.dts: D:/v1.7.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp.dts
-- Generated zephyr.dts: D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/zephyr/dts.cmake
Parsing D:/v1.7.1/zephyr/Kconfig
Loaded configuration 'D:/v1.7.1/zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpuapp_defconfig'
Merged configuration 'D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/prj.conf'
-- Configuring incomplete, errors occurred!
See also "D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/CMakeFiles/CMakeOutput.log".
See also "D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/build_nrf5340dk_nrf5340_cpuapp/CMakeFiles/CMakeError.log".
-- Using NCS Toolchain 1.7.1 for building. (D:/v1.7.1/toolchain/cmake)

warning: SPM_NRF_I2S0_NS (defined at D:/v1.7.1/nrf\subsys\spm/Kconfig:334) was assigned the value
'y' but got the value 'n'. Check these unsatisfied dependencies: IS_SPM (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_SPM_NRF_I2S0_NS.html and/or look up
SPM_NRF_I2S0_NS 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_RX_BUFFERS (defined at subsys/bluetooth\controller/Kconfig:176) was assigned the
value '2' but got the value ''. Check these unsatisfied dependencies: BT_CTLR (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_RX_BUFFERS.html and/or look up
BT_CTLR_RX_BUFFERS 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_DATA_LENGTH_MAX (defined at subsys/bluetooth\controller/Kconfig:333) was assigned
the value '251' but got the value ''. Check these unsatisfied dependencies: BT_CTLR_DATA_LENGTH
(=n), BT_CTLR (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_DATA_LENGTH_MAX.html and/or
look up BT_CTLR_DATA_LENGTH_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_PHY_2M (defined at subsys/bluetooth\controller/Kconfig:417) was assigned the value
'y' but got the value 'n'. Check these unsatisfied dependencies: (BT_CTLR_PHY || BT_CTLR_ADV_EXT)
(=n), BT_CTLR_PHY_2M_SUPPORT (=n), BT_CTLR (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_BT_CTLR_PHY_2M.html and/or look up
BT_CTLR_PHY_2M 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.


D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/prj.conf:38: warning: attempt to assign the value 'n' to the undefined symbol BT_NUS_SECURITY_ENABLED

D:/v1.7.1/zephyr/samples/Active_Device_code/I2S_MIC/prj.conf:39: warning: attempt to assign the value '100' to the undefined symbol BT_NUS_UART_BUFFER_SIZE

error: Aborting due to Kconfig warnings

CMake Error at D:/v1.7.1/zephyr/cmake/kconfig.cmake:268 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  D:/v1.7.1/zephyr/cmake/app/boilerplate.cmake:554 (include)
  CMakeLists.txt:3 (include)



error: cmake failed
create_nordic_project.py failed (1)

Thanks,

Navin

Parents Reply Children
No Data
Related