build nrf52 platform with vscode

I use vscode to build nrf52 platform.as shown below:

Parents
  • Hello, 

    , can you please open the welcome page from the nRF Connect extension menu and verify that your the toolchain path is pointing to correct path? From the command pallette of VS Code, please run the nRF Connect: Generate Support information and provide the output here.

    What version of nRF Connect for VS Code are you running? We know that there is an issue with the flash functionality in latest version 1.65.

    , please provide more information on the issue you have. 

    Kind regards,
    Øyvind

  • Hi Øyvind,

    To try something simple, I added a new example-application. This is the result I got when adding a build configuration:

    > Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya <
    
    Building hello_world_dummya
    west build --build-dir c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya\build c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE"
    
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')
    The terminal process terminated with exit code: 2.
    
    Terminal will be reused by tasks, press any key to close it.

    Best regards,

    Erik

Reply
  • Hi Øyvind,

    To try something simple, I added a new example-application. This is the result I got when adding a build configuration:

    > Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya <
    
    Building hello_world_dummya
    west build --build-dir c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya\build c:\Users\erik\OneDrive\FarrowTech\Udvikling\Software\nRF_samples\hello_world_dummya --pristine --board nrf52840dk_nrf52840 -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE"
    
    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] <command> ...
    west: error: argument <command>: invalid choice: 'build' (choose from 'init', 'update', 'list', 'manifest', 'diff', 'status', 'forall', 'help', 'config', 'topdir', 'selfupdate')
    The terminal process terminated with exit code: 2.
    
    Terminal will be reused by tasks, press any key to close it.

    Best regards,

    Erik

Children
Related