Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD A SAMPLE #39

Open
sluissantos opened this issue Aug 26, 2024 · 0 comments
Open

BUILD A SAMPLE #39

sluissantos opened this issue Aug 26, 2024 · 0 comments

Comments

@sluissantos
Copy link

Hello,

How can I build a sample?

When I tried to build a LoRaWAN sample, I got the following errors:

west build --pristine -b nrf52840dk/nrf52840 irnas/SWL2001-Zephyr/samples/lorawan
-- west build: making build dir /home/santos/zephyrproject/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/santos/zephyrproject/irnas/SWL2001-Zephyr/samples/lorawan
-- CMake version: 3.30.0
-- Found Python3: /usr/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: /home/santos/.cache/zephyr
-- Zephyr version: 3.7.0-rc3 (/home/santos/zephyrproject/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Board: nrf52840dk, qualifiers: nrf52840
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.16.8 (/home/santos/zephyr-sdk-0.16.8)
-- Found toolchain: zephyr 0.16.8 (/home/santos/zephyr-sdk-0.16.8)
-- Found Dtc: /home/santos/zephyr-sdk-0.16.8/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/santos/zephyrproject/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts
-- Found devicetree overlay: /home/santos/zephyrproject/irnas/SWL2001-Zephyr/samples/lorawan/boards/nrf52840dk_nrf52840.overlay
In file included from :
/home/santos/zephyrproject/irnas/SWL2001-Zephyr/samples/lorawan/boards/nrf52840dk_nrf52840.overlay:1:10: fatal error: lr11xx_bindings_def.h: No such file or directory
1 | #include <lr11xx_bindings_def.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at /home/santos/zephyrproject/zephyr/cmake/modules/extensions.cmake:4362 (message):
failed to preprocess devicetree files (error code 1):
/home/santos/zephyrproject/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840.dts;/home/santos/zephyrproject/irnas/SWL2001-Zephyr/samples/lorawan/boards/nrf52840dk_nrf52840.overlay
Call Stack (most recent call first):
/home/santos/zephyrproject/zephyr/cmake/modules/dts.cmake:243 (zephyr_dt_preprocess)
/home/santos/zephyrproject/zephyr/cmake/modules/zephyr_default.cmake:132 (include)
/home/santos/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/santos/zephyrproject/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
CMakeLists.txt:8 (find_package)

-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/santos/zephyrproject/build -GNinja -DBOARD=nrf52840dk/nrf52840 -S/home/santos/zephyrproject/irnas/SWL2001-Zephyr/samples/lorawan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@sluissantos and others