diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/dev-posix-board.md | 13 | ||||
-rw-r--r-- | docs/docs/dev-setup.md | 11 |
2 files changed, 18 insertions, 6 deletions
diff --git a/docs/docs/dev-posix-board.md b/docs/docs/dev-posix-board.md index e804ca8..dc33ea0 100644 --- a/docs/docs/dev-posix-board.md +++ b/docs/docs/dev-posix-board.md @@ -8,6 +8,19 @@ be helpful to build and run the firmware on your local workstation, with generated virtual press/release events flowing into the handler functions. +## Prerequisites + +In order to build targetting the `native_posix` board, you need to setup your system +with a compiler that can target 32-bit POSIX. + +On Debian, you can do this with: + +``` +apt install -y gcc-multilib +``` + +## Building + To do this, you can build ZMK targetting the `native_posix` board. diff --git a/docs/docs/dev-setup.md b/docs/docs/dev-setup.md index 6f26182..5741766 100644 --- a/docs/docs/dev-setup.md +++ b/docs/docs/dev-setup.md @@ -36,9 +36,9 @@ With the latest package information, you can now install the base dependencies: ```bash sudo apt install -y \ - git \ - wget \ - autoconf \ + git \ + wget \ + autoconf \ automake \ build-essential \ ccache \ @@ -46,11 +46,10 @@ sudo apt install -y \ dfu-util \ g++ \ gcc \ - gcc-multilib \ libtool \ make \ - ninja-build \ - cmake \ + ninja-build \ + cmake \ python3-dev \ python3-pip \ python3-setuptools \ |