Applications without a display
west build -b native_sim/native/aarch64 -t run zephyr/samples/hello_world
The output appears in your terminal, and Ctrl-C stops the application on the phone.
- After editing the code,
west build -t runrebuilds and runs. - To build another application in the same build directory, add
-p always. - Leave out
-t runto only buildbuild/zephyr/zephyr.exe. - With several devices connected, choose one with
ANDROID_SERIAL.