Update docs/docs/development/build-flash.md
Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
This commit is contained in:
parent
d3f94becde
commit
da24b50099
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ For instance, building kyria firmware from a user `myUser`'s `zmk-config` folder
|
||||||
west build -b nice_nano -- -DSHIELD=kyria_left -DZMK_CONFIG="C:/Users/myUser/Documents/Github/zmk-config/config"
|
west build -b nice_nano -- -DSHIELD=kyria_left -DZMK_CONFIG="C:/Users/myUser/Documents/Github/zmk-config/config"
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: The above command must be invoked from the `zmk/app` directory, or alternatively you will need to add the `-s /path/to/zmk/app` flag to your `west` command. Otherwise, you will see errors such as `ERROR: source directory "." does not contain a CMakeLists.txt; is this really what you want to build?`
|
:::caution
|
||||||
|
The above command must still be invoked from the `zmk/app` directory as noted above, rather than the config directory. Otherwise, you will encounter errors such as `ERROR: source directory "." does not contain a CMakeLists.txt; is this really what you want to build?`. Alternatively you can add the `-s /path/to/zmk/app` flag to your `west` command.
|
||||||
|
:::
|
||||||
|
|
||||||
In order to make your `zmk-config` folder available when building within the VSCode Remote Container, you need to create a docker volume named `zmk-config`
|
In order to make your `zmk-config` folder available when building within the VSCode Remote Container, you need to create a docker volume named `zmk-config`
|
||||||
by binding it to the full path of your config directory. If you have run the VSCode Remote Container before, it is likely that docker has created this
|
by binding it to the full path of your config directory. If you have run the VSCode Remote Container before, it is likely that docker has created this
|
||||||
|
|
Loading…
Add table
Reference in a new issue