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

VSCode & nRF Connect SDK extensions issues.

I am having a number of problems with the nRF extension actions.

1) Pristine build does not seem to be building correctly as I have a ovelay file shown in the build section, which states a pristine build required to include this overlay in build. But it doesn't get included.

2) The flash & erase and flash have stopped working. I can flash by evoking debug or I can use nrfjprog in a terminal to succesfully flash. Its just doesn't work via the menu items in actions.

3) When flashing was working properly I was warned that the --verify option wasn't used. I'm not sure how to activate this permenatly.

I have resinstalled vscode, extensions and the SDK.

Any help would be appreciated.

  • Same problem started for me a couple days ago.  Also uninstalled/reinstalled everything to no avail.

  • Hello Nigel,

    I am sorry to hear to hear that.

    We've actually had reports about similar issues earlier, but those were mainly regarding your second point: the Flash & Erase and Flash actions. This has been identified as an issue with V1.65 of the extension, so one solution is simply to downgrade from that to a previous one. However, there is a new version of the extension coming very soon that will also contain a fix for this issue.

    I don't know if I have seen any reports about your first issue, though it might be that it is connected to the other one. Are you seeing this on any of the basic examples as well? I'll see if I can reproduce it.

    When it comes to your third point, are you saying you want it to use the verify option?

    Regards,

    Elfving

  • Hi Elfving

    Ok I will live with the flash issues till the new version comes out as there is an suitable workround.

    I can demostrated the prestine build problem by creating a freestanding app from shell_bt_nus example. In the build section I click on add ovelay. Just adding a blank file or putting some valid information in, pristine build will not include it. The build panel continues to say not in build, and hover message say needs pristine build. (As a workround I just deleted the contents of the build dir and started the build again.)

    On verify, I assume its best to this? but it does report a problem though the app I'm developing seems to run ok if i prog without verify. So I would like to use the verify if its advisable!

    Thanks

    Nigel

  • Hi again,

    njeester said:
    In the build section I click on add ovelay. Just adding a blank file or putting some valid information in, pristine build will not include it.

    That is odd. Does the project build if you put in-valid information in it as well? And what NCS version are you using?

    njeester said:
    I assume its best to this? but it does report a problem though the app I'm developing seems to run ok if i prog without verify. So I would like to use the verify if its advisable!

    There are unfortunately no way of setting additional west arguments in the extension as of now, and I don't think this something you need to worry about. 

    Regards,

    Elfving

  • Hi again,

    njeester said:
    In the build section I click on add ovelay. Just adding a blank file or putting some valid information in, pristine build will not include it.

    That is odd. Does the project build if you put in-valid information in it as well? And what NCS version are you using?

    njeester said:
    I assume its best to this? but it does report a problem though the app I'm developing seems to run ok if i prog without verify. So I would like to use the verify if its advisable!

    There are unfortunately no way of setting additional west arguments in the extension as of now, and I don't think this something you need to worry about. 

    Regards,

    Elfving

Related