From aedbaf9ce78a69dc3f7d83bf03f58ba547614778 Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Tue, 5 Oct 2021 23:17:47 -0700 Subject: Add some handy scripts Hell yeah! --- app/boards/shields/corne/corne.conf | 4 ++-- build.sh | 5 +++++ flash-left.sh | 1 + flash-right.sh | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 build.sh create mode 100755 flash-left.sh create mode 100755 flash-right.sh 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 -- cgit v1.2.3