Compare commits
2 commits
2d8219f126
...
4bab811ea0
Author | SHA1 | Date | |
---|---|---|---|
4bab811ea0 | |||
71cff3297e |
|
@ -8,18 +8,16 @@ Need to have the `zmk-config` directory mounted at `/workspaces/zmk-config` in D
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
|
|
||||||
|
west build --board nrf52840_mdk_dongle -d build/mdk_dongle -- -DSHIELD=mdk_dongle -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nice_nano -d build/tidbit -- -DSHIELD=tidbit -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/tidbit -- -DSHIELD=tidbit -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nice_nano -d build/pockettype/default -- -DSHIELD=pockettype -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/pockettype/default -- -DSHIELD=pockettype -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nrf52840_mdk -d build/pockettype/mdk -- -DSHIELD=pockettype_mdk -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
|
||||||
|
|
||||||
west build --board nice_nano -d build/pockettype/peripheral -- -DSHIELD=pockettype_peripheral -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/pockettype/peripheral -- -DSHIELD=pockettype_peripheral -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nice_nano -d build/tg4x/default -- -DSHIELD=tg4x -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/tg4x/default -- -DSHIELD=tg4x -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nrf52840_mdk -d build/tg4x/mdk -- -DSHIELD=tg4x_mdk -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
|
||||||
|
|
||||||
west build --board nice_nano -d build/tg4x/peripheral -- -DSHIELD=tg4x_peripheral -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/tg4x/peripheral -- -DSHIELD=tg4x_peripheral -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
||||||
west build --board nice_nano -d build/lily58/left -- -DSHIELD=lily58_left -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
west build --board nice_nano -d build/lily58/left -- -DSHIELD=lily58_left -DZMK_CONFIG=/workspaces/zmk-config/keyboards/zmk-config/config
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_ZMK_SPLIT=y
|
||||||
|
CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL=y
|
|
@ -10,12 +10,12 @@
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
behaviors {
|
behaviors {
|
||||||
ht: hold_tap {
|
rst: boot_reset {
|
||||||
compatible = "zmk,behavior-hold-tap";
|
compatible = "zmk,behavior-hold-tap";
|
||||||
label = "Hold Tap";
|
label = "Hold Tap Bootloader-Reset";
|
||||||
#binding-cells = <2>;
|
#binding-cells = <2>;
|
||||||
tapping_term_ms = <150>;
|
tapping_term_ms = <150>;
|
||||||
flavor = "tap-preferred";
|
flavor = "balanced";
|
||||||
bindings = <&bootloader>, <&reset>;
|
bindings = <&bootloader>, <&reset>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
default_layer {
|
default_layer {
|
||||||
bindings = <
|
bindings = <
|
||||||
&ht B R
|
&rst B R
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,17 +1,3 @@
|
||||||
# Split Keyboard FAQ / Notes
|
|
||||||
|
|
||||||
- TRRS IS DANGEROUS IF BOTH HALVES HAVE BATTERIES
|
|
||||||
- TRRS will provide power to peripheral half and that can cause battery overheats, failures, fires
|
|
||||||
- BOTH HALVES SHOULD BE POWERED INDEPENDENTLY
|
|
||||||
- Halves communicate via ble
|
|
||||||
- Both halves should be powered independently of each other
|
|
||||||
- ONLY the central half should be paired to a computer via BT
|
|
||||||
- Central half is the only half that has to be plugged into usb for usb hid support
|
|
||||||
|
|
||||||
# Generating settings reset images
|
|
||||||
|
|
||||||
west build --board nice_nano -d build/settings_reset -- -DSHIELD=settings_reset
|
|
||||||
|
|
||||||
# User Behaviors
|
# User Behaviors
|
||||||
|
|
||||||
Needs documentation, see pockettype and mdk dongle for ideas -- specifically the LED code and CMakeLists.txt
|
Needs documentation, see pockettype and mdk dongle for ideas -- specifically the LED code and CMakeLists.txt
|
||||||
|
@ -20,6 +6,12 @@ Needs documentation, see pockettype and mdk dongle for ideas -- specifically the
|
||||||
|
|
||||||
Generic behavior for led on/off via gpio (see pocket type / mdk personal sources for ideas)
|
Generic behavior for led on/off via gpio (see pocket type / mdk personal sources for ideas)
|
||||||
|
|
||||||
|
# Peripheral Over USB
|
||||||
|
|
||||||
|
Figure out how to setup the code to allow the peripheral half of a board to work over USB
|
||||||
|
|
||||||
|
Per Pete Johnson : Mostly build tweaks
|
||||||
|
|
||||||
# Dyanmic Layer Actions
|
# Dyanmic Layer Actions
|
||||||
|
|
||||||
- look at hold tap implementation for inspiration (keymap file poprtion)
|
- look at hold tap implementation for inspiration (keymap file poprtion)
|
||||||
|
@ -41,8 +33,13 @@ Generic behavior for led on/off via gpio (see pocket type / mdk personal sources
|
||||||
|
|
||||||
# Hardware To Do / Notes
|
# Hardware To Do / Notes
|
||||||
|
|
||||||
|
## MDK Dongle
|
||||||
|
|
||||||
|
Submit to upstream zephyr
|
||||||
|
|
||||||
## Dongles
|
## Dongles
|
||||||
|
|
||||||
|
- Remove need to have kscan defined for the dongle portion of a build
|
||||||
- Setup user buttons via user code to trip boot loader / other things
|
- Setup user buttons via user code to trip boot loader / other things
|
||||||
- Can do `zmk-config/config/boards/shields/CMakeLists.txt`
|
- Can do `zmk-config/config/boards/shields/CMakeLists.txt`
|
||||||
- Setup dedicated mdk dongle shield
|
- Setup dedicated mdk dongle shield
|
||||||
|
|
Loading…
Reference in a new issue