Hi,
I have a project for nRF52 in VS Code. The project was able to compile and everything worked fine. However, after about a month, I reopened the project and now there is a problem with compilation - somewhere around devicetree. It is hard for me to understand what the issue is. I also tried to make some changes, but the project still won't compile. Even when I go back in Git to a branch that definitely used to compile, it won't compile today.
Now, I downloaded the new SDK 2.7.0-rc2 (before I had v2.5.2), restarted the PC, and now I can compile the program. However, it gets stuck right at the start in the function nrfx_clock_anomaly_132
on the line:
// Delay required time. while ((DWT->CYCCNT - cyccnt_inital) < ANOMALY_132_DELAY_CYCLES) {}
I did not change anything in the code, and I know that the hardware board was working correctly before.
I am not sure what to do and where the problem is. It behaves very unstable on my PC; sometimes it won't compile, and other times the code that worked before doesn't work now. Can you please help me?
edit: Now, however, I made a new build configuration and everything is working again - everything is even working perfectly - I really don't understand this.
project is here: https://file.io/EfQTXIODfs0h
Thank you for your help.