docs: Update native posix instructions for zephyr 4.1 (#3151)

This commit is contained in:
Robert U
2025-12-18 00:46:55 -05:00
committed by GitHub
parent 45de943485
commit edb36b5838

View File

@@ -20,11 +20,10 @@ apt install -y gcc-multilib
## Building ## Building
To do this, you can build ZMK targeting the To do this, you can build ZMK targeting the `native_sim` board.
`native_posix_64` board.
```sh ```sh
west build --pristine --board native_posix_64 -- -DZMK_CONFIG=tests/none/normal/ west build --pristine --board native_sim/native/64 -- -DZMK_CONFIG=tests/none/normal/
``` ```
Once built, you can run the firmware locally: Once built, you can run the firmware locally:
@@ -35,4 +34,4 @@ Once built, you can run the firmware locally:
## Virtual Key Events ## Virtual Key Events
The virtual key presses are hardcoded in `boards/native_posix_64.overlay` file, should you want to change the sequence to test various actions like Mod-Tap, etc. The virtual key presses are hardcoded in `boards/extensions/native_sim/native_sim_64.overlay` file, should you want to change the sequence to test various actions like Mod-Tap, etc.