This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to browse SDK and Zyphyr code in VSCode and nRFconnect SDK

SO I've got nRFconnect SDK 1.9.1 running on VSCode on my MAC (attempting to segregate from my Win dev system for now). Wanting to explore it a bit more to see what problems I've got to deal with in it.

Created a project from the DM example (want to know what this is going to entail).  That appears to work fine basically.

So, browsing code. In SES if I want to see the code for the SDk portions, I select the function, right click and "goto definition" Bang, in the code of the SDK itself.  Same for the OS (in my old system FreeRTOS). No problems. I can see as deep as I need to as long as it isn't in the SoftDevice.

Doing that in VSCode, I get nowhere. Nothing, Nada.  So I'm hoping that I'm missing something.  It is very, very often I have to consult SDK code or OS code to see what it's doing really.  I've had to rewrite some SDK function before to make them work right.

So, how do I get full visibility into the entire code stack?

Parents
  • Sorry... Apparently VSCode isn't smart enough to figure it out before you do some sort of build.... Once I told it what board to use (why that would matter is beyond me), it got me into OS code and that sort of thing....  Also corrected all kinds of flagged errors that shouldn' t exist.

    Gotta love MS....

Reply
  • Sorry... Apparently VSCode isn't smart enough to figure it out before you do some sort of build.... Once I told it what board to use (why that would matter is beyond me), it got me into OS code and that sort of thing....  Also corrected all kinds of flagged errors that shouldn' t exist.

    Gotta love MS....

Children
No Data
Related