diff --git a/docs/docs/development/setup/native.mdx b/docs/docs/development/setup/native.mdx index 629463c9..d077d7d1 100644 --- a/docs/docs/development/setup/native.mdx +++ b/docs/docs/development/setup/native.mdx @@ -116,7 +116,8 @@ python3 -m venv .venv source .venv/bin/activate ``` - + + 1. Create a new virtual environment: @@ -126,24 +127,27 @@ python -m venv .venv 2. Activate the virtual environment: - - + + ```sh .venv\Scripts\activate.bat ``` - - + + + ```powershell .venv\Scripts\Activate.ps1 ``` - - - - + + + + + + 1. Create a new virtual environment: @@ -157,7 +161,7 @@ python3 -m venv .venv source .venv/bin/activate ``` - + Once activated your shell will be prefixed with `(.venv)`. The virtual environment can be deactivated at any time by running `deactivate`. @@ -221,7 +225,8 @@ source ~/.bashrc ::: - + + 1. Install `west`: @@ -247,7 +252,8 @@ $env:PATH += ";$Scripts" ::: - + + 1. Install `west`: @@ -256,7 +262,7 @@ $env:PATH += ";$Scripts" pip3 install -U west ``` - + 2. Initialize the application and update to fetch modules, including Zephyr: @@ -285,7 +291,8 @@ west zephyr-export pip3 install --user -r zephyr/scripts/requirements-base.txt ``` - + + 4. Install the additional dependencies found in Zephyr's `requirements-base.txt`: @@ -294,7 +301,8 @@ pip3 install --user -r zephyr/scripts/requirements-base.txt pip install -r zephyr/scripts/requirements-base.txt ``` - + + 4. Install the additional dependencies found in Zephyr's `requirements-base.txt`. @@ -302,7 +310,7 @@ pip install -r zephyr/scripts/requirements-base.txt pip3 install -r zephyr/scripts/requirements-base.txt ``` - + @@ -314,7 +322,6 @@ Return to Zephyr's Getting Started Guide and [Install Zephyr SDK](https://docs.z ### OS specific notes - `dfu-util` is required to flash devices that use DFU, but there is currently no maintained package for it on Chocolatey. [QMK @@ -341,7 +348,6 @@ export CROSS_COMPILE=/usr/bin/arm-none-eabi- ``` - Your setup is now complete.