Replies: 1 comment
-
I attached the complete build ouput: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to get started with TFM by building the TFM samples for a Nordic DK. I tried multiple boards and different samples. Unfortunally, the samples I tried so far, are not compiling with the following message:
D:/zephyr/Zephyr-3.7.0/zephyr/modules/trusted-firmware-m/nordic/include/RTE_Device.h:14:10: fatal error: zephyr/devicetree.h: No such file or directory 14 | #include <zephyr/devicetree.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed.
if I replace
#include <zephyr/devicetree.h>
in RTE_Device.h by#include <zephyr/devicetree_generated.h>
, I get the following error:D:/zephyr/Zephyr-3.7.0/zephyr/modules/trusted-firmware-m/nordic/include/RTE_Device.h:35:24: error: missing binary operator before token "(" 35 | #if DT_PINCTRL_HAS_NAME(DT_NODELABEL(uart1), default) && DOMAIN_NS != 1U | ^ ninja: build stopped: subcommand failed.
The same samples compiles for a nucleo_l552ze_q board with a lot of warnings. If I use the Nordic connect SDK, the samples compile without complaint, but I think they should also without. I tried this with Zephyr 3.7.0 and 4.0.0 with SDK 0.16.8 on Windows 10.
I appreciate any help on this topic.
Beta Was this translation helpful? Give feedback.
All reactions