I need examples of AOA and AOD of nrf52833, please tell me the download path. thank you
I need examples of AOA and AOD of nrf52833, please tell me the download path. thank you
Hello yangwen!
Thank you for being interested in direction finding.
I'd like to answer to your question about channel index in bt_df_per_adv_sync_iq_samples_report structure. Unfortunately there was a bug in the upstream code. The channel index was wrong.
I've created an issue to track it in Zephyr GitHub: https://github.com/zephyrproject-rtos/zephyr/issues/36022.
I've also created a bug-fix.
Here is a PR: https://github.com/zephyrproject-rtos/zephyr/pull/36023 that solves the problem.
You can wait for merge of the PR into upstream.
Best regards,
Piotr
Hi!
First thanks for pointing out the bug but now I have another problem.
I am running zephyr/samples/bluetooth/ direction_finding_connectionless_rx sample appplication with minor modifications. I had no problem building application. Then I updated my local zephyr project repository (to get rid of mentioned bug). Now my appliaction won't build beacuse of some Kconfig warning.
Here is the complete console output from Eclipse IDE:
west build -b nrf52833dk_nrf52833
-- west build: generating a build system
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Including boilerplate (Zephyr base (cached)): PROJECT_PATH/zephyr/cmake/app/boilerplate.cmake
-- Application: PROJECT_PATH
-- Zephyr version: 2.6.99 (PROJECT_PATH/zephyr), build: zephyr-v2.6.0-1198-g244f69d1df7f
-- Found west (found suitable version "0.10.1", minimum required is "0.7.1")
-- Board: nrf52833dk_nrf52833
-- Cache files will be written to: HOME_PATH/.cache/zephyr
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (GNU_ARM_EMBEDDED_TOOLCHAIN_PATH/gcc-arm-none-eabi-8-2019-q3-update-linux/gcc-arm-none-eabi-8-2019-q3-update)
-- Found BOARD.dts: PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: PROJECT_PATH/boards/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: PROJECT_PATH/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: PROJECT_PATH/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: PROJECT_PATH/build/zephyr/include/generated/device_extern.h
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Parsing PROJECT_PATH/zephyr/Kconfig
Loaded configuration 'PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig'
Merged configuration 'PROJECT_PATH/prj.conf'
Merged configuration 'PROJECT_PATH/boards/nrf52833dk_nrf52833.conf'
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined with type unknown
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined without a prompt
warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) is not contained in the choice
error: Aborting due to Kconfig warnings
CMake Error at zephyr/cmake/kconfig.cmake:268 (message):
command failed with return code: 1
Call Stack (most recent call first):
zephyr/cmake/app/boilerplate.cmake:572 (include)
-- Configuring incomplete, errors occurred!
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:8 (find_package)
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/build -S/PROJECT_PATH -GNinja
"west build -b nrf52833dk_nrf52833" terminated with exit code 1. Build might be incomplete.
18:41:52 Build Finished. 0 errors, 0 warnings. (took 2s.790ms)
I have tried with fresh sample with no modifications and I got the same error.
Do you have any clue what is going on?
Hi!
First thanks for pointing out the bug but now I have another problem.
I am running zephyr/samples/bluetooth/ direction_finding_connectionless_rx sample appplication with minor modifications. I had no problem building application. Then I updated my local zephyr project repository (to get rid of mentioned bug). Now my appliaction won't build beacuse of some Kconfig warning.
Here is the complete console output from Eclipse IDE:
west build -b nrf52833dk_nrf52833
-- west build: generating a build system
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Including boilerplate (Zephyr base (cached)): PROJECT_PATH/zephyr/cmake/app/boilerplate.cmake
-- Application: PROJECT_PATH
-- Zephyr version: 2.6.99 (PROJECT_PATH/zephyr), build: zephyr-v2.6.0-1198-g244f69d1df7f
-- Found west (found suitable version "0.10.1", minimum required is "0.7.1")
-- Board: nrf52833dk_nrf52833
-- Cache files will be written to: HOME_PATH/.cache/zephyr
-- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (GNU_ARM_EMBEDDED_TOOLCHAIN_PATH/gcc-arm-none-eabi-8-2019-q3-update-linux/gcc-arm-none-eabi-8-2019-q3-update)
-- Found BOARD.dts: PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: PROJECT_PATH/boards/nrf52833dk_nrf52833.overlay
-- Generated zephyr.dts: PROJECT_PATH/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: PROJECT_PATH/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: PROJECT_PATH/build/zephyr/include/generated/device_extern.h
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Parsing PROJECT_PATH/zephyr/Kconfig
Loaded configuration 'PROJECT_PATH/zephyr/boards/arm/nrf52833dk_nrf52833/nrf52833dk_nrf52833_defconfig'
Merged configuration 'PROJECT_PATH/prj.conf'
Merged configuration 'PROJECT_PATH/boards/nrf52833dk_nrf52833.conf'
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined with type unknown
warning: <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) defined without a prompt
warning: the default selection MEMFAULT_HTTP_PERIODIC_UPLOAD_USE_DEDICATED_WORKQUEUE (undefined) of <choice MEMFAULT_HTTP_PERIODIC_UPLOAD_CONTEXT> (defined at PROJECT_PATH/nrf/modules/memfault/Kconfig:160) is not contained in the choice
error: Aborting due to Kconfig warnings
CMake Error at zephyr/cmake/kconfig.cmake:268 (message):
command failed with return code: 1
Call Stack (most recent call first):
zephyr/cmake/app/boilerplate.cmake:572 (include)
-- Configuring incomplete, errors occurred!
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:40 (include_boilerplate)
CMakeLists.txt:8 (find_package)
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/build -S/PROJECT_PATH -GNinja
"west build -b nrf52833dk_nrf52833" terminated with exit code 1. Build might be incomplete.
18:41:52 Build Finished. 0 errors, 0 warnings. (took 2s.790ms)
I have tried with fresh sample with no modifications and I got the same error.
Do you have any clue what is going on?
I didn't update the latest library, just follow the steps to change the program.