From 2356c1db3c0feed11fbf5c4c8c45cc1d2cb4f412 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Tue, 10 Jun 2025 12:17:23 +0200 Subject: [PATCH] doc native: Clarify that in Windows one needs a VM for native_sim Be more explicit about the need for a Virtual Machine running Linux if running in Windows. Also WSL2 has been out for ~5 years. Let's reduce the amount of info on how to run it in WSL1, as probably almost nobody is using it anymore. Signed-off-by: Alberto Escolar Piedras --- boards/native/doc/arch_soc.rst | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/boards/native/doc/arch_soc.rst b/boards/native/doc/arch_soc.rst index 6b6a5a5e10e..2802a978b77 100644 --- a/boards/native/doc/arch_soc.rst +++ b/boards/native/doc/arch_soc.rst @@ -63,15 +63,11 @@ This port is designed and tested to run in Linux. .. note:: - The 32 bit version of this port does not directly work in the old Windows Subsystem - for Linux (WSL1) because WSL1 does not support native 32-bit binaries. - You may want to consider WSL2, or, if using :ref:`native_sim `, - you can also just use the ``native_sim/native/64`` - target: Check :ref:`32 and 64bit versions`. - Otherwise `with some tinkering - `_ it - should be possible to make it work. - + To use it in Windows, you will need a Virtual Machine running a Linux guest. + You can use WSL 2 (Windows Subsystem for Linux v2), or another VM running your preferred Linux + distribution. + Note: The old WSL 1 is very limited and cannot run 32-bit binaries like the default 32-bit + native_sim build configuration. .. _posix_arch_limitations: