unable to add SES project to VSC nRF Connect

Hello,

I have an SES project that I would like to migrate to the nRF Connect plugin, in Visual Studio Code. When I try to "Add an existing application" and select the directory containing the emProject file, I get an error stating that "the directory does not contain application source".

I have watched the YouTube video and it looks like this should work. Am I missing a step to prepare for the import?

Thanks

Parents
  • I asked if there was a plan to support old style projects in the new nrf connect SDK, in the last SDK webinar. I was told to look at the migrating to nrf connect YouTube video. 

    does this mean there is no plan?

  • Hi,

    This video should show how to move from SES to VS Code.

    Not sure what you mean by "old style projects". Like I said, both SES and VS Code will use the CMake and config files (Kconfig/devicetree/etc) from the sample/application directory during the project configuration and build process. If you open the project in VS Code, it should build similar to the SES version, but note that if you have made temporary changes to the configs in the build directory (for instance through the "Configure nRF Connect SDK Project" in SES), these will be lost when building with VS Code. These configs must be moved to permanent (prj.conf file) if you want them to be applied to VS code project.

    Best regards,
    Jørgen

Reply
  • Hi,

    This video should show how to move from SES to VS Code.

    Not sure what you mean by "old style projects". Like I said, both SES and VS Code will use the CMake and config files (Kconfig/devicetree/etc) from the sample/application directory during the project configuration and build process. If you open the project in VS Code, it should build similar to the SES version, but note that if you have made temporary changes to the configs in the build directory (for instance through the "Configure nRF Connect SDK Project" in SES), these will be lost when building with VS Code. These configs must be moved to permanent (prj.conf file) if you want them to be applied to VS code project.

    Best regards,
    Jørgen

Children
Related