docs: Update native posix instructions for zephyr 4.1

This commit is contained in:
urob 2025-12-17 21:27:57 -05:00
parent 040238a97d
commit 06d1185ea3
1 changed files with 3 additions and 4 deletions

View File

@ -20,11 +20,10 @@ apt install -y gcc-multilib
## Building
To do this, you can build ZMK targeting the
`native_posix_64` board.
To do this, you can build ZMK targeting the `native_sim` board.
```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:
@ -35,4 +34,4 @@ Once built, you can run the firmware locally:
## 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.