summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-10 11:00:03 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-10 11:00:03 -0400
commit6ef823be3ab475b36c242abb2fe3514869f188a0 (patch)
tree32263d74febb97fe7e94e71a0ef881fd9df3b151
parent2f4bc94b7e4b54ca423fce45e1acc5e25b79bd55 (diff)
More doc tweaks for SDK install and build clarity.
* Suggest installing SDK to `~/.local` directory. * Clarify about switching to `app/` before build/flash.
-rw-r--r--docs/docs/dev-setup.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/docs/dev-setup.md b/docs/docs/dev-setup.md
index beca83d..fd6d1d1 100644
--- a/docs/docs/dev-setup.md
+++ b/docs/docs/dev-setup.md
@@ -85,7 +85,7 @@ To build firmwares for the ARM architecture (all supported MCUs/keyboards at thi
```
export ZSDK_VERSION=0.11.2
wget -q "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run" && \
- sh "zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run" --quiet -- -d /opt/toolchains/zephyr-sdk-${ZSDK_VERSION} && \
+ sh "zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run" --quiet -- -d ~/.local/zephyr-sdk-${ZSDK_VERSION} && \
rm "zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run"
```
@@ -167,8 +167,13 @@ cat ~/.zephyrrc >> ~/.zshrc
## Build
-Actually building the ZMK firmware occurs within the `app/` subdirectory
-of the ZMK repository. To build for your particular keyboard, the behaviour varies slightly depending on if you are building for a keyboard with
+From here on, building and flashing ZMK should all be done from the `app/` subdirectory of the ZMK checkout:
+
+```bash
+cd app
+```
+
+To build for your particular keyboard, the behaviour varies slightly depending on if you are building for a keyboard with
an onboard MCU, or one that uses a MCU board addon.
### Keyboard (Shield) + MCU Board