This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse for NCS examples

Hello,

I am trying to use "west" command in Eclipse but I am not able to do it.

I was able to do that in Visual Studio though.

I found this link https://devzone.nordicsemi.com/f/nordic-q-a/62446/getting-started-with-a-custom-nrf9160-board-and-eclipse-ide-instead-of-segger , which states that it can be build like the following:

cmake .. -DBOARD=my_board -G"Eclipse CDT4 - Ninja" - After running this command, I can use the "build" directory path in Eclipse and build there using Ninja. This will create a zephyr.hex file and I can flash it using Programmer from nRF Connect. 

But in Visual Studio, after adding required PATHS in environment variables, I am able to use "west" command directly in Terminal of VS. I just have to use the following commands in the required project directory:

west build -b board_name

west flash 

Is there a way to replicate the procedure of using "west" command in Eclipse and flash it within eclipse? 

Parents Reply Children
No Data
Related