diff options
author | Nick Van Doorn <nick@nv.delivery> | 2021-10-05 23:17:47 -0700 |
---|---|---|
committer | Nick Van Doorn <nick@nv.delivery> | 2021-10-12 19:57:43 -0700 |
commit | aedbaf9ce78a69dc3f7d83bf03f58ba547614778 (patch) | |
tree | 017c7c133e7893095e367a59b5e74411ad99a0df | |
parent | 81bc7f108a1d0fa0c051d374cf2c7c165c8397d6 (diff) |
Add some handy scriptsmain
Hell yeah!
-rw-r--r-- | app/boards/shields/corne/corne.conf | 4 | ||||
-rwxr-xr-x | build.sh | 5 | ||||
-rwxr-xr-x | flash-left.sh | 1 | ||||
-rwxr-xr-x | flash-right.sh | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/app/boards/shields/corne/corne.conf b/app/boards/shields/corne/corne.conf index 974243c..8c8962a 100644 --- a/app/boards/shields/corne/corne.conf +++ b/app/boards/shields/corne/corne.conf @@ -1,6 +1,6 @@ # Uncomment the following lines to enable the Corne RGB Underglow -# CONFIG_ZMK_RGB_UNDERGLOW=y -# CONFIG_WS2812_STRIP=y +CONFIG_ZMK_RGB_UNDERGLOW=y +CONFIG_WS2812_STRIP=y # Uncomment the following line to enable the Corne OLED Display # CONFIG_ZMK_DISPLAY=y diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..c31fb55 --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +export PATH=~/Library/Python/3.9/bin:$PATH +export GNUARMEMB_TOOLCHAIN_PATH=/usr/local +export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb +west build app -d build/left -b nice_nano_v2 -- -DSHIELD=corne_left +west build app -d build/right -b nice_nano_v2 -- -DSHIELD=corne_right diff --git a/flash-left.sh b/flash-left.sh new file mode 100755 index 0000000..217f06d --- /dev/null +++ b/flash-left.sh @@ -0,0 +1 @@ +cp build/left/zephyr/zmk.uf2 /Volumes/NICENANO diff --git a/flash-right.sh b/flash-right.sh new file mode 100755 index 0000000..8ac1872 --- /dev/null +++ b/flash-right.sh @@ -0,0 +1 @@ +cp build/right/zephyr/zmk.uf2 /Volumes/NICENANO |