-
Describe the bug I copied the hello_world to a new directory and installed it in it stm32_hal. Edited by CMAKELIst.txt:
To Reproduce
Expected behavior Environment (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
This is not a valid way to do this. |
Beta Was this translation helpful? Give feedback.
-
Please suggest the correct way to connect to the project stm32_hal. |
Beta Was this translation helpful? Give feedback.
-
west build -b nucleo_f429zi ~/Devel/SDK/nRFC/zephyr/samples/hello_world -p always
|
Beta Was this translation helpful? Give feedback.
-
I also copied the file "stm32f429zitx-pinctrl.dtsi " from stm32_hal to the directory zephyr/dts/arm/st/f4 that was required when compiling. |
Beta Was this translation helpful? Give feedback.
-
Then I get an error:
|
Beta Was this translation helpful? Give feedback.
Then I get an error:
zephyr/boards/arm/nucleo_f429zi/nucleo_f429zi.dts:9:10: fatal error: st/f4/stm32f429zitx-pinctrl.dtsi: No such file or directory 9 | #include <st/f4/stm32f429zitx-pinctrl.dtsi> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. CMake Error at /home/vz/Devel/SDK/nRFC/zephyr/cmake/modules/dts.cmake:189 (message): command failed with return code: 1 Call Stack (most recent call first): /home/vz/Devel/SDK/nRFC/zephyr/cmake/modules/zephyr_default.cmake:121 (include) /home/vz/Devel/SDK/nRFC/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include) /home/vz/Devel/SDK/nRFC/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate) CMakeList…