Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work 🤝
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

I’m encountering an issue with Zephyr SDK

Hi everyone, I’m encountering an issue with Zephyr SDK
this is the error CMake Error at C:/Users/CLIENT/source/repos/zephir/zephyrproject/zephyr/cmake/modules/FindHostTools.cmake:104 (include):
include could not find requested file: C:/Users/CLIENT/source/repos/zephir/zephyrproject/zephyr/cmake/toolchain/gnu/generic.cmake

CMake Error at C:/Users/CLIENT/source/repos/zephir/zephyrproject/zephyr/cmake/modules/extensions.cmake:4519 (message):
dt_preprocess() missing required argument: CPP

  1. melta101#0000

    Could you tell me what all did you do to lead to this?

  2. wafa_ath#0000

    That is the process i go through
    -I created a project directory in Zephyr and added necessary files, including `CMakeLists.txt`.
    – I installed the Zephyr SDK and configured the paths correctly to ensure the toolchain and necessary files are accessible.
    – I installed and configured the ESP-IDF toolchain for the ESP32 platform (ESP-CAM) and set the necessary environment paths to integrate with Zephyr.
    -I also installed the Device Tree Compiler (DTC) to avoid errors related to device tree preprocessing.
    – i think am missing something or i did something wrong i can’t figured it out

  3. melta101#0000

    how about using the application repo from zephyr instead of making your own Cmakelist.txt

  4. melta101#0000

    also what is the path of your app?
    in tree or OOT?

  5. wafa_ath#0000

    it’s OOT ,Emm can you please guide me about using the application repo from zephyr …

  6. melta101#0000
  7. wafa_ath#0000

    oh yes that is exactly what i did , i went through all those steps in orde, i will chek again maybe am missing something

  8. wafa_ath#0000

    0IMG_20241207_153744.jpg

  9. melta101#0000

    by any chances do you have zephyr in zephyr?

  10. wafa_ath#0000

    How to check that?!

  11. melta101#0000

    i see that there is a folder zephyr but all the content present in zephyr is also there outside that folder

  12. wafa_ath#0000

    Ow yes , is that make a problem! Should i delete it!

  13. melta101#0000

    not sure
    but better delete
    why create more variables

  14. wafa_ath#0000

    Okay i will try

  15. ZacckOsiemo#0000

    i tried this and i failed horribly

  16. melta101#0000

    what happened?

  17. melta101#0000

    which style did you try?

  18. ZacckOsiemo#0000

    could never get the app to build

  19. ZacckOsiemo#0000

    I tried making a standalone app out of the repo

  20. melta101#0000

    i used to have that prob alot
    Path prob are a pain

  21. melta101#0000
  22. ZacckOsiemo#0000

    Yep I followed that very closesly

  23. ZacckOsiemo#0000

    and then twister doesnt want to run out of the repo

  24. ZacckOsiemo#0000

    but new app in repo boom, just works. I’ll try it in a little while again.

  25. melta101#0000

    yea that works like a charm

  26. melta101#0000

    i have been facing with my zephyr trouble

  27. melta101#0000

    when i try to build, it just stops there

  28. melta101#0000
  29. melta101#0000

    but when i try to build on a identical way on another dir

    it works as intended

  30. melta101#0000

    okay wow
    it just gets stuck at vscode not a normal terminal

  31. melta101#0000

    successfully wasted a day

  32. melta101#0000

    was planning to create a new tool for west flash

CONTRIBUTE TO THIS THREAD

Browse other questions tagged 

Leaderboard

RANKED BY XP

All time
  • 1.
    Avatar
    @Nayel115
    1620 XP
  • 2.
    Avatar
    @UcGee
    650 XP
  • 3.
    Avatar
    @melta101
    600 XP
  • 4.
    Avatar
    @lifegochi
    250 XP
  • 5.
    Avatar
    @Youuce
    180 XP
  • 6.
    Avatar
    @hemalchevli
    170 XP