Thursday 26 August 2021

ZMK process 02 - Building and flashing

 https://zmk.dev/docs/development/build-flash

  1.  cd app
  2. To flash keyboard shields https://zmk.dev/docs/hardware/
  3. Sofle (sofle_left and sofle_right)
  4.  Corne (corne_left and corne_right)
  5. west build -d build/left -b nrfmicro_13 -- -DSHIELD=sofle_left
  6. double press reset button
  7. west flash

sofle keyboard config edit here:

 C:\Users\chino\ZMK\app\boards\shields\sofle

 C:/Users/chino/ZMK/app/build/left/zephyr/zmk.uf2 


issue

cant build locally, only through github actions. 

https://github.com/zmkfirmware/zmk/issues/786

you need to use corne_left and corne_right.conf separately, or point west to your config folder when building (recommended)
just add — -DZMK_CONFIG=/path/to/config

 

sorry I missed that. one recommendation I’d have is to delete the build folder before building, see if that makes a difference

 

 

----update 20210918

Complete through github action for the files, drop it at 

zmk-config

master

.config and .keymap 

----cant work because the action taken for sofle left and right

#attempt 1"

try to create locally: issue 1, not working when saying that pronton c as default

west config build.pristine always

then, 

west build -b nrfmicro_13 -- -DSHIELD=reviung41

success

Converted to uf2, output size: 317952, start address: 0x26000
Wrote 317952 bytes to C:/Users/chino/ZMK/app/build/zephyr/zmk.uf2

----update 20210922 

complete through github action 

referring to