Hi, The Keil MDK shows an error when I open a example project from nrfSDK. but there is no error when compile.
Could someone please clarify. Thank you .
Hi, The Keil MDK shows an error when I open a example project from nrfSDK. but there is no error when compile.
Could someone please clarify. Thank you .
Hi,
I have the same thing at my computer.
It seems that this is an issue with the code-completion feature in Keil. The code-completion option does some parsing of the file and it's included headers, and seem to miss this declaration somehow.
As you point out, there's no compiler-error, so it's safe to ignore.
Best regards Håkon
I actually talked to Keil/ARM about this at a embedded conference. This is a restriction in their autocompletion tool, where it does not properly parse function implementations in header files. It shall not have any effect on your compilation, but it is annoying to see from a user-perspective.
I actually talked to Keil/ARM about this at a embedded conference. This is a restriction in their autocompletion tool, where it does not properly parse function implementations in header files. It shall not have any effect on your compilation, but it is annoying to see from a user-perspective.
The solution for this is to edit the Keil UVCC.ini file as described here. This will allow the compiler to ignore the "error" and you won't get the annoying red X next to the headers.