summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/boards/shields/corne/corne.conf4
-rwxr-xr-xbuild.sh5
-rwxr-xr-xflash-left.sh1
-rwxr-xr-xflash-right.sh1
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