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

stm32f7xx.h: No such file or directory #22525

Closed
adrianalin opened this issue Feb 6, 2020 · 2 comments
Closed

stm32f7xx.h: No such file or directory #22525

adrianalin opened this issue Feb 6, 2020 · 2 comments

Comments

@adrianalin
Copy link

Fail to build samples/hello_world for stm32f769i_disco target.

To Reproduce
Steps to reproduce the behavior:

  1. cd samples/hellow_world
  2. cmake -B build -DBOARD=stm32f769i_disco .
  3. cd build
  4. make
  5. see error

Expected behavior
Build successfully.

Impact
Cannot run examples.

Screenshots or console output

Scanning dependencies of target offsets
[  7%] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
In file included from /home/adrian/stm32f7/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
                 from /home/adrian/stm32f7/zephyr/arch/arm/include/aarch32/cortex_m/stack.h:23,
                 from /home/adrian/stm32f7/zephyr/arch/arm/include/kernel_arch_data.h:33,
                 from /home/adrian/stm32f7/zephyr/arch/arm/core/offsets/offsets_aarch32.c:26,
                 from /home/adrian/stm32f7/zephyr/arch/arm/core/offsets/offsets.c:12:
/home/adrian/stm32f7/zephyr/soc/arm/st_stm32/stm32f7/soc.h:24:10: fatal error: stm32f7xx.h: No such file or directory
   24 | #include <stm32f7xx.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [zephyr/CMakeFiles/offsets.dir/build.make:63: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:760: zephyr/CMakeFiles/offsets.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Environment (please complete the following information):

  • Lubuntu 5.0.0-38-generic #41-Ubuntu
  • Toolchain: Zephyr SDK
  • Commit SHA or Version used: 9d1614477efb45455021bf1eda4f74598579927b
@adrianalin adrianalin added the bug The issue is a bug, or the PR is fixing a bug label Feb 6, 2020
@jfischer-no
Copy link
Collaborator

I bet west update will resolve the issue.

@jfischer-no jfischer-no added question and removed bug The issue is a bug, or the PR is fixing a bug labels Feb 6, 2020
@adrianalin
Copy link
Author

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

2 participants