docs: Introduction: Replace references to native_posix w native_sim

Let's replace the references to native_posix with native_sim,
in the introduction and beyond the getting started guide.

Background: during this release native_sim is replacing
native_posix as the main host test/development platform.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-10 11:11:44 +01:00 committed by Carles Cufí
parent c3d863f864
commit 85b54358a1
2 changed files with 15 additions and 15 deletions

View file

@ -177,7 +177,8 @@ Build and Run an Application
You can build, flash, and run Zephyr applications on real
hardware using a supported host system. Depending on your operating system,
you can also run it in emulation with QEMU, or as a native POSIX application.
you can also run it in emulation with QEMU, or as a native application with
:ref:`native_sim <native_sim>`.
Additional information about building applications can be found in the
:ref:`build_an_application` section.
@ -291,22 +292,21 @@ To exit QEMU, type :kbd:`Ctrl-a`, then :kbd:`x`.
Use ``qemu_cortex_m3`` to target an emulated Arm Cortex-M3 sample.
.. _gs_posix:
.. _gs_native:
Run a Sample Application natively (POSIX OS)
============================================
Run a Sample Application natively (Linux)
=========================================
You can compile some samples to run as host processes
on a POSIX OS. This is currently only tested on Linux hosts. See
:ref:`native_posix` for more information. On 64-bit host operating systems, you
need to install a 32-bit C library; see :ref:`native_posix_deps` for details.
You can compile some samples to run as host programs
on Linux. See :ref:`native_sim` for more information. On 64-bit host operating systems, you
need to install a 32-bit C library, or build targeting :ref:`native_sim_64 <native_sim32_64>`.
First, build Hello World for ``native_posix``.
First, build Hello World for ``native_sim``.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:host-os: unix
:board: native_posix
:board: native_sim
:goals: build
Next, run the application.

View file

@ -144,8 +144,8 @@ Zephyr offers a large and ever growing number of features including:
**Native Linux, macOS, and Windows Development**
A command-line CMake build environment runs on popular developer OS
systems. A native POSIX port lets you build and run Zephyr as a native
application on Linux and other OSes, aiding development and testing.
systems. A native port (:ref:`native_sim <native_sim>`) lets you build and run Zephyr as a native
application on Linux, aiding development and testing.
**Virtual File System Interface with ext2, FatFs, and LittleFS Support**
ext2, LittleFS and FatFS support; FCB (Flash Circular Buffer) for memory constrained
@ -170,9 +170,9 @@ Zephyr offers a large and ever growing number of features including:
NVS allows storage of binary blobs, strings, integers, longs, and any
combination of these.
**Native POSIX port**
Supports running Zephyr as a Linux application with support for various
subsystems and networking.
**Native port**
:ref:`Native sim <native_sim>` allows running Zephyr as a Linux application with support
for various subsystems and networking.
.. include:: ../../README.rst