west build -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG=/home/cowboy/Documents/keyboard-maps/corne-config/
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: /home/cowboy/Aur/zmk/app
-- CMake version: 3.22.1
-- Cache files will be written to: /home/cowboy/.cache/zephyr
-- Zephyr version: 3.5.0 (/home/cowboy/Aur/zmk/zephyr)
-- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
-- Adding ZMK config directory as board root: /home/cowboy/Documents/keyboard-maps/corne-config/
-- Adding /home/cowboy/Aur/zmk/app/boards/shields/corne
-- ZMK Config directory: /home/cowboy/Documents/keyboard-maps/corne-config/
-- Using keymap file: /home/cowboy/Aur/zmk/app/boards/shields/corne/corne.keymap
-- Board: nice_nano_v2
-- Shield(s): corne_left
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
CMake Error at /home/cowboy/Aur/zmk/zephyr/cmake/modules/FindZephyr-sdk.cmake:109 (find_package):
Could not find a package configuration file provided by "Zephyr-sdk"
(requested version 0.16) with any of the following names:
Zephyr-sdkConfig.cmake
zephyr-sdk-config.cmake
Add the installation prefix of "Zephyr-sdk" to CMAKE_PREFIX_PATH or set
"Zephyr-sdk_DIR" to a directory containing one of the above files. If
"Zephyr-sdk" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
/home/cowboy/Aur/zmk/zephyr/cmake/modules/FindHostTools.cmake:53 (find_package)
/home/cowboy/Aur/zmk/zephyr/cmake/modules/dts.cmake:9 (find_package)
/home/cowboy/Aur/zmk/zephyr/cmake/modules/zephyr_default.cmake:129 (include)
/home/cowboy/Aur/zmk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
/home/cowboy/Aur/zmk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
CMakeLists.txt:8 (find_package)
#Having trouble doing local build
1 messages · Page 1 of 1 (latest)
west build -b nice_nano_v2 -- -DSHIELD=corne_left -DZMK_CONFIG=/home/cowboy/Documents/keyboard-maps/corne-config/```
the config-config can be found here
That is a very old page: https://zmk.dev/docs/development/setup links to current instructions
This guide will show you how to set up a development environment for building ZMK locally.