Topics

Windows hosted development


PeterFromSwe
 

Hi

Are options for windows development documented somewhere. Getting started guide has too many open ended solutions for windows host I think.

There are so many alternatives such as
Two separate physical boxes including everything. Turn chair to switch...
Windows host with some remote desktop to physical machine.
Windows host with some  remote desktop to virtualmachine.
Windows host with shared folders to virtualmachine and ssh.
Windows host with linux subsystem
Windows host with CMD 
(Possibly Linux host combinations as well but that is another topic...)

What is important to achieve is
Windows IDE-support of some kind, such as visual studio or eclipse,
including both build and debug working out of the box.

Riot has a convenient virtual machine (through vagrant) for builds and windows hosted debugging in eclipse supported through shared folders to vm. Maybe some inspiration from there?

Regards
/Peter


Carles Cufi
 

Hi Peter,

 

As you will have noticed in our Getting Started Guide for Windows (https://docs.zephyrproject.org/latest/getting_started/index.html), we only really propose two solutions:

 

  • Using native cmd.exe (default, recommended)
  • Using WSL (boils down to then following the Linux instructions, it is stated as non-recommended)

 

So I really don’t think that the statement “Getting started guide has too many open ended solutions for windows host” is accurate.

 

Regarding your requirements:

 

Windows IDE-support of some kind, such as visual studio or eclipse,

including both build and debug working out of the box.

 

Those are easily achieved using the default cmd.exe instructions and then either Eclipse or VS Code.

In fact, the section describing Eclipse debugging assumes running on a Windows host:

https://docs.zephyrproject.org/latest/application/index.html?highlight=eclipse#eclipse-debugging

 

If you’d like to contribute instructions on how to use VS Code instead, please do so as a pull request.

A starting point for that might be: https://github.com/bus710/zephyr-rtos-development-in-linux

Most of the instructions in that GitHub repo should apply to Windows.

 

Regards,

 

Carles

 

From: users@... <users@...> On Behalf Of PeterFromSwe via Lists.Zephyrproject.Org
Sent: 23 January 2020 15:45
To: users@...
Cc: users@...
Subject: [Zephyr-users] Windows hosted development

 

Hi

 

Are options for windows development documented somewhere. Getting started guide has too many open ended solutions for windows host I think.

 

There are so many alternatives such as

Two separate physical boxes including everything. Turn chair to switch...

Windows host with some remote desktop to physical machine.

Windows host with some  remote desktop to virtualmachine.

Windows host with shared folders to virtualmachine and ssh.

Windows host with linux subsystem

Windows host with CMD 

(Possibly Linux host combinations as well but that is another topic...)

 

What is important to achieve is

Windows IDE-support of some kind, such as visual studio or eclipse,

including both build and debug working out of the box.

 

Riot has a convenient virtual machine (through vagrant) for builds and windows hosted debugging in eclipse supported through shared folders to vm. Maybe some inspiration from there?

 

Regards

/Peter