From afc353241e6a998959f898b6056d6bfc1f36819d Mon Sep 17 00:00:00 2001 From: Nicolas Munnich Date: Fri, 19 Apr 2024 19:44:22 +0200 Subject: [PATCH] Added a note to clarify requirements-base --- docs/docs/development/setup.mdx | 40 +++++++++++++++++++++++++++++++++ docs/docusaurus.config.js | 1 + 2 files changed, 41 insertions(+) diff --git a/docs/docs/development/setup.mdx b/docs/docs/development/setup.mdx index feba3fab..fa4e19a7 100644 --- a/docs/docs/development/setup.mdx +++ b/docs/docs/development/setup.mdx @@ -52,6 +52,16 @@ Return to this guide once you are finished with all four sections. Zephyr's [Install Linux Host Dependencies](https://docs.zephyrproject.org/3.5.0/develop/getting_started/installation_linux.html) page may be of use for distributions which are not based on Ubuntu. +:::info +ZMK does not need all of the additional dependencies found in Zephyr's `requirements.txt`, only those found in `requirements-base.txt` + +```diff +- pip3 install -r zephyr/scripts/requirements.txt ++ pip3 install -r zephyr/scripts/requirements-base.txt +``` + +::: + @@ -66,6 +76,16 @@ Return to this guide once you are finished with all four sections. `dfu-util` is required to flash devices that use DFU, but there is currently no maintained package for it on Chocolatey. [QMK Toolbox](https://github.com/qmk/qmk_toolbox) contains a working version of it though. +:::info +ZMK does not need all of the additional dependencies found in Zephyr's `requirements.txt`, only those found in `requirements-base.txt` + +```diff +- pip3 install -r zephyr/scripts/requirements.txt ++ pip3 install -r zephyr/scripts/requirements-base.txt +``` + +::: + @@ -78,6 +98,16 @@ Open Zephyr's [Getting Started Guide](https://docs.zephyrproject.org/3.5.0/devel Return to this guide once you are finished with all four sections. +:::info +ZMK does not need all of the additional dependencies found in Zephyr's `requirements.txt`, only those found in `requirements-base.txt` + +```diff +- pip3 install -r zephyr/scripts/requirements.txt ++ pip3 install -r zephyr/scripts/requirements-base.txt +``` + +::: + @@ -92,6 +122,16 @@ Open Zephyr's [Getting Started Guide](https://docs.zephyrproject.org/3.5.0/devel Return to this guide once you are finished with all four sections. +:::info +ZMK does not need all of the additional dependencies found in Zephyr's `requirements.txt`, only those found in `requirements-base.txt` + +```diff +- pip3 install -r zephyr/scripts/requirements.txt ++ pip3 install -r zephyr/scripts/requirements-base.txt +``` + +::: + #### Install Cross-Compile Toolchain Because Raspberry OS runs on the same architecture (but different ABI) as ARM keyboard MCUs, the operating system's installed [cross compilers](https://docs.zephyrproject.org/3.5.0/develop/toolchains/other_x_compilers.html) can be used to target the different ABI. Building for non-ARM MCUs has not been tested. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index c9a07179..6456d95e 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -31,6 +31,7 @@ module.exports = { "linker-script", "log", "powershell", + "diff", ], theme, darkTheme,