Hello All,
We are intending to start a new project using nRF52840 SOC, for the same i decided to work with nRF connect SDK as it is recommended by nordic,
I am new to Nordic as well as nRF Connect SDK, so i decided to study the nRF Connect SDK fundamentals course on Dev academy in order to have proper understanding,
I am able to work as per excersizes given and was able run the demonstarted codes,
However For excersize 2 in order to have better understanding i tried importing blinky sample using option "Add new application from sample" and then modified the code for button interrupt,
But i am not able to understand why i am getting the following error, whereas there is nothing much in this excersize and the code is replicated as same,
[{
"resource": "/c:/VSCode_nRF/myapps/ButtonPolling/build/zephyr/include/generated/devicetree_unfixed.h",
"owner": "cpptools",
"severity": 8,
"message": "'DT_N_S_buttons_S_button_0' undeclared (first use in this function); did you mean 'DT_N_S_buttons_S_button_0_ORD'?",
"source": "gcc",
"startLineNumber": 1138,
"startColumn": 32,
"endLineNumber": 1138,
"endColumn": 32
}]
Also when i try using the excersize code i am able to work properly.
I understand this looks very simple error but as the error is from Build directory which is generated using VS code so i am afraid that changes made here would afftect my whole configuration would change the configs for all project.
Please suggest where i have gone wrong