Regarding the issue where some interfaces are not visible in the SDK regarding their corresponding definitions

Recently, when using the ncs v2.9.0 SDK, I found that the definitions for some interfaces could not be found. For instance, nrf_radio_packet_conf_t (it cannot be found even through a global search in VSCode); however, when I switch to the SDK of ncs v2.6.0, I can easily jump to the relevant definition. Why is this so?

And I downloaded the SDK through the Toolchain Manager in nRF Connect for Desktop. The file should be complete.

Parents
  • Hello,

    In my experience, this work sometimes, and sometimes not. It really depends on the context that the nRF Connect for VS Code extension has in "focus". I have also seen that if I have too many applications in the VS Code list:

    it may stop working. 

    Also, sometimes, closing VS Code and opening it again helps. 

    So the first thing I would try is to close all open files, open the main.c file of your application, and make sure that it builds successfully. Then, you can try again. If not, try restarting VS Code, and see if that helps.

    Best regards,

    Edvin

Reply
  • Hello,

    In my experience, this work sometimes, and sometimes not. It really depends on the context that the nRF Connect for VS Code extension has in "focus". I have also seen that if I have too many applications in the VS Code list:

    it may stop working. 

    Also, sometimes, closing VS Code and opening it again helps. 

    So the first thing I would try is to close all open files, open the main.c file of your application, and make sure that it builds successfully. Then, you can try again. If not, try restarting VS Code, and see if that helps.

    Best regards,

    Edvin

Children
No Data
Related