From 49e128b1f814571e024c6f5f61f4531ccbe95103 Mon Sep 17 00:00:00 2001 From: Kyle McCreery Date: Sun, 18 Jul 2021 16:14:35 -0400 Subject: [PATCH] Removing test directories. --- app/boards/shields/murphpad/Kconfig.defconfig | 45 ---------- app/boards/shields/murphpad/Kconfig.shield | 5 -- .../shields/murphpad/boards/nice_nano.conf | 3 - .../shields/murphpad/boards/nice_nano.overlay | 34 -------- app/boards/shields/murphpad/murphpad.conf | 9 -- app/boards/shields/murphpad/murphpad.keymap | 85 ------------------- app/boards/shields/murphpad/murphpad.overlay | 74 ---------------- app/boards/shields/naked60/Kconfig.defconfig | 9 -- app/boards/shields/naked60/Kconfig.shield | 5 -- app/boards/shields/naked60/naked60.conf | 2 - app/boards/shields/naked60/naked60.keymap | 59 ------------- app/boards/shields/naked60/naked60.overlay | 41 --------- 12 files changed, 371 deletions(-) delete mode 100644 app/boards/shields/murphpad/Kconfig.defconfig delete mode 100644 app/boards/shields/murphpad/Kconfig.shield delete mode 100644 app/boards/shields/murphpad/boards/nice_nano.conf delete mode 100644 app/boards/shields/murphpad/boards/nice_nano.overlay delete mode 100644 app/boards/shields/murphpad/murphpad.conf delete mode 100644 app/boards/shields/murphpad/murphpad.keymap delete mode 100644 app/boards/shields/murphpad/murphpad.overlay delete mode 100644 app/boards/shields/naked60/Kconfig.defconfig delete mode 100644 app/boards/shields/naked60/Kconfig.shield delete mode 100644 app/boards/shields/naked60/naked60.conf delete mode 100644 app/boards/shields/naked60/naked60.keymap delete mode 100644 app/boards/shields/naked60/naked60.overlay diff --git a/app/boards/shields/murphpad/Kconfig.defconfig b/app/boards/shields/murphpad/Kconfig.defconfig deleted file mode 100644 index 6ec7e096..00000000 --- a/app/boards/shields/murphpad/Kconfig.defconfig +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (c) 2021 The ZMK Contributors -# SPDX-License-Identifier: MIT - -if SHIELD_MURPHPAD - -config ZMK_KEYBOARD_NAME - default "MurphPad" - -endif - -if ZMK_DISPLAY - -config I2C - default y - -config SSD1306 - default y - -config SSD1306_REVERSE_MODE - default y - -endif # ZMK_DISPLAY - -if LVGL - -config LVGL_HOR_RES_MAX - default 128 - -config LVGL_VER_RES_MAX - default 32 - -config LVGL_VDB_SIZE - default 64 - -config LVGL_DPI - default 148 - -config LVGL_BITS_PER_PIXEL - default 1 - -choice LVGL_COLOR_DEPTH - default LVGL_COLOR_DEPTH_1 -endchoice - -endif # LVGL diff --git a/app/boards/shields/murphpad/Kconfig.shield b/app/boards/shields/murphpad/Kconfig.shield deleted file mode 100644 index 389caa26..00000000 --- a/app/boards/shields/murphpad/Kconfig.shield +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright (c) 2021 The ZMK Contributors -# SPDX-License-Identifier: MIT - -config SHIELD_MURPHPAD - def_bool $(shields_list_contains,murphpad) \ No newline at end of file diff --git a/app/boards/shields/murphpad/boards/nice_nano.conf b/app/boards/shields/murphpad/boards/nice_nano.conf deleted file mode 100644 index dda71c13..00000000 --- a/app/boards/shields/murphpad/boards/nice_nano.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Uncomment both to enable underglow -CONFIG_ZMK_RGB_UNDERGLOW=y -CONFIG_WS2812_STRIP=y diff --git a/app/boards/shields/murphpad/boards/nice_nano.overlay b/app/boards/shields/murphpad/boards/nice_nano.overlay deleted file mode 100644 index b247334e..00000000 --- a/app/boards/shields/murphpad/boards/nice_nano.overlay +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) 2021 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -&spi1 { - compatible = "nordic,nrf-spim"; - status = "okay"; - mosi-pin = <31>; - // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. - sck-pin = <5>; - miso-pin = <7>; - - led_strip: ws2812@0 { - compatible = "worldsemi,ws2812-spi"; - label = "WS2812"; - - /* SPI */ - reg = <0>; /* ignored, but necessary for SPI bindings */ - spi-max-frequency = <4000000>; - - /* WS2812 */ - chain-length = <8>; /* number of LEDs */ - spi-one-frame = <0x70>; - spi-zero-frame = <0x40>; - }; -}; - -/ { - chosen { - zmk,underglow = &led_strip; - }; -}; \ No newline at end of file diff --git a/app/boards/shields/murphpad/murphpad.conf b/app/boards/shields/murphpad/murphpad.conf deleted file mode 100644 index bdcd4255..00000000 --- a/app/boards/shields/murphpad/murphpad.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Uncomment to turn on logging, and set ZMK logging to debug output -# CONFIG_ZMK_USB_LOGGING=y - -# Uncomment both to enable encoder -CONFIG_EC11=y -CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y - -# Uncomment to enable OLED -CONFIG_ZMK_DISPLAY=y \ No newline at end of file diff --git a/app/boards/shields/murphpad/murphpad.keymap b/app/boards/shields/murphpad/murphpad.keymap deleted file mode 100644 index 4b6814b6..00000000 --- a/app/boards/shields/murphpad/murphpad.keymap +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright (c) 2021 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include -#include - - -#define TIMEOUT 300 - -&encoder_1 { - status = "okay"; -}; - -&encoder_2 { - status = "okay"; -}; - -/ { - combos { - compatible = "zmk,combos"; - combo_btclr { - timeout-ms = ; - key-positions = <1 6>; - bindings = <&bt BT_CLR>; - }; - combo_reset { - timeout-ms = ; - key-positions = <1 3>; - bindings = <&reset>; - }; - combo_bootloader { - timeout-ms = ; - key-positions = <1 2>; - bindings = <&bootloader>; - }; - combo_bt_nxt { - timeout-ms = ; - key-positions = <1 4>; - bindings = <&bt BT_NXT>; - }; - }; - - sensors { - compatible = "zmk,keymap-sensors"; - sensors = <&encoder_1 &encoder_2>; - }; - - - keymap0: keymap { - compatible = "zmk,keymap"; - - default_layer { - label = "default layer"; - bindings = < - &bt BT_CLR &kp TAB &kp F5 &kp LC(LA(C)) &kp LG(D) - &rgb_ug RGB_TOG &kp ESC &kp KP_DIVIDE &kp KP_MULTIPLY &kp KP_MINUS - &rgb_ug RGB_EFF &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_PLUS - &kp C_MUTE &kp KP_N4 &kp KP_N5 &kp KP_N6 &trans - &mo 1 &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER - &kp BSPC &kp KP_N0 &trans &kp KP_DOT &trans - >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; - - }; - - fn_layer { - label = "fn layer"; - bindings = < - &trans &trans &trans &trans &trans - &trans &kp KP_NUM &trans &trans &trans - &trans &trans &trans &trans &trans - &bt BT_CLR &trans &trans &trans &trans - &trans &trans &trans &trans &trans - &kp DEL &trans &trans &trans &trans - >; - sensor-bindings = <&inc_dec_kp PG_UP PG_DN &inc_dec_kp C_VOL_UP C_VOL_DN>; - - }; - }; -}; \ No newline at end of file diff --git a/app/boards/shields/murphpad/murphpad.overlay b/app/boards/shields/murphpad/murphpad.overlay deleted file mode 100644 index af830756..00000000 --- a/app/boards/shields/murphpad/murphpad.overlay +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) 2021 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include - -/ { - chosen { - zmk,kscan = &kscan0; - }; - - kscan0: kscan { - compatible = "zmk,kscan-gpio-matrix"; - label = "KSCAN"; - - diode-direction = "col2row"; - row-gpios - = <&pro_micro_a 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 16 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 14 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 15 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_a 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_a 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - ; - col-gpios - = <&pro_micro_a 9 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 7 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 5 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 6 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 10 GPIO_ACTIVE_HIGH> - ; - }; - - encoder_1: encoder_1 { - compatible = "alps,ec11"; - label = "Encoder 1"; - a-gpios = <&pro_micro_d 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - b-gpios = <&pro_micro_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - resolution = <4>; - status = "disabled"; - }; - - encoder_2: encoder_2 { - compatible = "alps,ec11"; - label = "Encoder 2"; - a-gpios = <&pro_micro_d 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - b-gpios = <&pro_micro_d 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; - resolution = <4>; - status = "disabled"; - }; - -}; - -&pro_micro_i2c { - status = "okay"; - - oled: ssd1306@3c { - compatible = "solomon,ssd1306fb"; - reg = <0x3c>; - label = "DISPLAY"; - width = <128>; - height = <32>; - segment-offset = <0>; - page-offset = <0>; - display-offset = <0>; - multiplex-ratio = <31>; - segment-remap; - com-invdir; - com-sequential; - prechargep = <0x22>; - }; -}; diff --git a/app/boards/shields/naked60/Kconfig.defconfig b/app/boards/shields/naked60/Kconfig.defconfig deleted file mode 100644 index c0aad5ed..00000000 --- a/app/boards/shields/naked60/Kconfig.defconfig +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2020 The ZMK Contributors -# SPDX-License-Identifier: MIT - -if SHIELD_NAKED60 - -config ZMK_KEYBOARD_NAME - default "naked60bmp" - -endif \ No newline at end of file diff --git a/app/boards/shields/naked60/Kconfig.shield b/app/boards/shields/naked60/Kconfig.shield deleted file mode 100644 index 3c9a5650..00000000 --- a/app/boards/shields/naked60/Kconfig.shield +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright (c) 2020 The ZMK Contributors -# SPDX-License-Identifier: MIT - -config SHIELD_NAKED60 - def_bool $(shields_list_contains,naked60) \ No newline at end of file diff --git a/app/boards/shields/naked60/naked60.conf b/app/boards/shields/naked60/naked60.conf deleted file mode 100644 index b54cd310..00000000 --- a/app/boards/shields/naked60/naked60.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Turn on logging, and set ZMK logging to debug output -CONFIG_ZMK_USB_LOGGING=n \ No newline at end of file diff --git a/app/boards/shields/naked60/naked60.keymap b/app/boards/shields/naked60/naked60.keymap deleted file mode 100644 index 5ea345e8..00000000 --- a/app/boards/shields/naked60/naked60.keymap +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (c) 2020 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include -#include -#include - -#define TIMEOUT 100 - -/ { - combos { - compatible = "zmk,combos"; - combo_btclr { - timeout-ms = ; - key-positions = <0 41>; - bindings = <&bt BT_CLR>; - }; - combo_reset { - timeout-ms = ; - key-positions = <0 16>; - bindings = <&reset>; - }; - combo_bootloader { - timeout-ms = ; - key-positions = <0 11>; - bindings = <&bootloader>; - }; - combo_bt_nxt { - timeout-ms = ; - key-positions = <0 54>; - bindings = <&bt BT_NXT>; - }; - }; - keymap0: keymap { - compatible = "zmk,keymap"; - - default_layer { - bindings = < - &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC - &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH - &mo 1 &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp APOS - &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH - &kp LCTRL &kp LGUI &kp LALT &kp RET &kp SPACE &kp SPACE &kp SPACE &kp SPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT - >; - }; - fn_layer { - bindings = < - &kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp DEL - &trans &kp F11 &kp F12 &trans &trans &trans &trans &trans &trans &trans &kp PSCRN &trans - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans - &trans &trans &trans &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &trans &trans - &trans &trans &trans &kp C_MUTE &trans &trans &trans &trans &kp HOME &kp PG_DN &kp PG_UP &kp END - >; - }; - }; -}; \ No newline at end of file diff --git a/app/boards/shields/naked60/naked60.overlay b/app/boards/shields/naked60/naked60.overlay deleted file mode 100644 index 3357bfea..00000000 --- a/app/boards/shields/naked60/naked60.overlay +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2020 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - -#include - -/ { - chosen { - zmk,kscan = &kscan0; - }; - - kscan0: kscan { - compatible = "zmk,kscan-gpio-matrix"; - label = "KSCAN"; - - diode-direction = "col2row"; - row-gpios - = <&pro_micro_d 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - , <&pro_micro_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)> - ; - col-gpios - = <&pro_micro_a 3 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 2 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 1 GPIO_ACTIVE_HIGH> - , <&pro_micro_a 0 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 15 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 14 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 16 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 6 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 7 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 8 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 9 GPIO_ACTIVE_HIGH> - , <&pro_micro_d 1 GPIO_ACTIVE_HIGH> - ; - }; -}; \ No newline at end of file