When compiling the solution for lesson 4 exercise 3, I am getting the following errors.
When compiling the solution for lesson 4 exercise 3, I am getting the following errors.
Hi,
Which SDK version are you using? Did you set the Toolchain version also to the same as the SDK version?
Are you using the 5340DK?
Did you install the latest versions of nRF Command Line Tools and the nRF Connect for Desktop as well?
Regards,
Priyanka
I am using the latest version of everything, I updated them all yesterday.
Hi,
Unfortunately I am not able to replicate this. Could you try building and flashing with nRF Connect SDK v2.6.1? This is the one I tried and it worked.
Priyanka said:Are you using the 5340DK?
Could you confirm this?
-Priyanka
I am currently using the v2.6.1 of the SDK.
I am using Nordic Thingy 53. (5340, the non-dk version I think)
I am currently using the v2.6.1 of the SDK.
I am using Nordic Thingy 53. (5340, the non-dk version I think)
Hi,
In the solution folder for this exercise, you will see that there are overlays written only for 2 boards:
So when using any other boards, you will have to write the overlay for the same.
In your error, devce_dts_ord_113 being undeclared, you can see from the devicetree_generated.h file in \build\zephyr\include\generated
that the error corresponds to spi@9000
When you check the zephyr.dts file, you can see that the spi1 is actually disabled:
So as a solution, you could write an overlay file where the sp1 is enabled, or where spi1 has the status="okay".
This should do the trick.
-Priyanka