I'm building a scale using a nRF21540-DK and a HX711 amplifier for load sensors using nRF Connect SKD version 2.3.0 zephyr.

I am simply using this github page as an example and . One thing, i connected the DOUT pin of HX711 to the P0.26 of nrf21540-dk and the SCK of HX711 amplifier to the P0.27 pin of the nrf21540-dk.

I've followed every step that they said I needed to do but it is full of error i don't know why. Please i need help and i even pay if you help me. Zoom meeting discussion is much apreciated if you can.

My project is named "hello_world". I built on pristine and this is the errors i'm getting:  

Building hello_world
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:\Nrf_Project\hello_world\build c:\Nrf_Project\hello_world --pristine --board nrf21540dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="c:/Nrf_Project/hello_world/prj.conf""

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Nrf_Project/hello_world
-- Found Python3: C:/ncs/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
-- 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: nrf21540dk_nrf52840
-- 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 Dtc: C:/ncs/toolchains/v2.3.0/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found BOARD.dts: C:/ncs/v2.3.0/zephyr/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840.dts
'label' is marked as deprecated in 'properties:' in C:/Nrf_Project/hello_world/dts/bindings\sensor\avia,hx711.yaml for node /hx711.
-- Generated zephyr.dts: C:/Nrf_Project/hello_world/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Nrf_Project/hello_world/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Nrf_Project/hello_world/build/zephyr/dts.cmake
Parsing C:/Nrf_Project/hello_world/Kconfig
Loaded configuration 'C:/ncs/v2.3.0/zephyr/boards/arm/nrf21540dk_nrf52840/nrf21540dk_nrf52840_defconfig'
Merged configuration 'c:/Nrf_Project/hello_world/prj.conf'
Traceback (most recent call last):
File "C:/ncs/v2.3.0/zephyr/scripts/kconfig/kconfig.py", line 292, in <module>
main()
File "C:/ncs/v2.3.0/zephyr/scripts/kconfig/kconfig.py", line 65, in main
if kconf.syms['WARN_DEPRECATED'].tri_value == 2:
KeyError: 'WARN_DEPRECATED'
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:92 (include_boilerplate)
CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\toolchains\v2.3.0\opt\bin\python.exe' '-Bc:\Nrf_Project\hello_world\build' -GNinja -DBOARD=nrf21540dk_nrf52840 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=c:/Nrf_Project/hello_world/prj.conf '-Sc:\Nrf_Project\hello_world'

  • Once again, I want to remind you that if you want technical support, DevZone is the correct place to go to. It is just that you need to give us details of what is going wrong for us to help, and that we cannot accept meeting requests.

    Otherwise, not a forum, but as a channel, you can try to contact Nordic's Regional Sales Manager at your location for other options with Nordic.

    Your issue does not seem exclusive to the nRF Connect SDK, so someone in the Zephyr community might be able to help you. You can learn more about the community here: https://www.zephyrproject.org/community/.

Related