Minor changes
This commit is contained in:
parent
a559896f34
commit
7104412106
4 changed files with 21 additions and 31 deletions
|
@ -95,12 +95,12 @@
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
sd_partition: partition@0 {
|
sd_partition: partition@0 {
|
||||||
label = "softdevice";
|
label = "mbr";
|
||||||
reg = <0x00000000 0x00026000>;
|
reg = <0x00000000 0x00001000>;
|
||||||
};
|
};
|
||||||
code_partition: partition@26000 {
|
code_partition: partition@1000 {
|
||||||
label = "code_partition";
|
label = "code_partition";
|
||||||
reg = <0x00026000 0x000c6000>;
|
reg = <0x00001000 0x000d3000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
// ├──[24]──┼──[25]──┼──[26]──┼──[27]──┼──[28]──┼──[29]──┤ ├──[30]──┼──[31]──┼──[32]──┼──[33]──┼──[34]──┼──[35]──┤
|
// ├──[24]──┼──[25]──┼──[26]──┼──[27]──┼──[28]──┼──[29]──┤ ├──[30]──┼──[31]──┼──[32]──┼──[33]──┼──[34]──┼──[35]──┤
|
||||||
______ ______ ______ ______ ______ ______ Z_MUT &kp LEFT &kp DOWN &kp RIGHT &kp PGDN ______
|
______ ______ ______ ______ ______ ______ Z_MUT &kp LEFT &kp DOWN &kp RIGHT &kp PGDN ______
|
||||||
// ├──[36]──┼──[37]──┼──[38]──┼──[39]──┼──[40]──┼──[41]──┼──[52]──┐ ┌──[53]──┼──[42]──┼──[43]──┼──[44]──┼──[45]──┼──[46]──┼──[47]──┤
|
// ├──[36]──┼──[37]──┼──[38]──┼──[39]──┼──[40]──┼──[41]──┼──[52]──┐ ┌──[53]──┼──[42]──┼──[43]──┼──[44]──┼──[45]──┼──[46]──┼──[47]──┤
|
||||||
______ ______ ______ ______ &suspend Z_BOOT &vim_s &vim_q Z_BOOT &suspend ______ ______ ______ ______
|
______ ______ ______ ______ ______ Z_BOOT &vim_s &vim_q Z_BOOT ______ ______ ______ &kp BSLH ______
|
||||||
// └────────┴────────┴─────┬──┴[48]─┬──┴[49]─┬──┴[50]─┬──┴──[51]──┤ ├──[54]──┴──┬─[55]┴──┬─[56]┴──┬─[57]┴──┬─────┴────────┴────────┘
|
// └────────┴────────┴─────┬──┴[48]─┬──┴[49]─┬──┴[50]─┬──┴──[51]──┤ ├──[54]──┴──┬─[55]┴──┬─[56]┴──┬─[57]┴──┬─────┴────────┴────────┘
|
||||||
______ ______ ______ ______ ______ ______ ______ ______
|
______ ______ ______ ______ ______ ______ ______ ______
|
||||||
// └────────┴────────┴────────┴───────────┘ └───────────┴────────┴────────┴────────┘
|
// └────────┴────────┴────────┴───────────┘ └───────────┴────────┴────────┴────────┘
|
||||||
|
@ -101,10 +101,8 @@
|
||||||
|
|
||||||
combos {
|
combos {
|
||||||
compatible = "zmk,combos";
|
compatible = "zmk,combos";
|
||||||
// layer toggle
|
//COMBO(nlock, &tog RSE, 28 31)
|
||||||
COMBO(nlock, &tog RSE, 28 31)
|
|
||||||
COMBO(caps, &kp CAPS, 25 34)
|
COMBO(caps, &kp CAPS, 25 34)
|
||||||
// vim shortcuts
|
|
||||||
};
|
};
|
||||||
|
|
||||||
macros {
|
macros {
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
behaviors {
|
behaviors {
|
||||||
reset: behavior_reset {
|
sys_reset: behavior_reset {
|
||||||
compatible = "zmk,behavior-reset";
|
compatible = "zmk,behavior-reset";
|
||||||
label = "RESET";
|
label = "SYSRESET";
|
||||||
#binding-cells = <0>;
|
#binding-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,11 +20,5 @@
|
||||||
type = <RST_UF2>;
|
type = <RST_UF2>;
|
||||||
#binding-cells = <0>;
|
#binding-cells = <0>;
|
||||||
};
|
};
|
||||||
suspend: behavior_reset_suspend {
|
|
||||||
compatible = "zmk,behavior-reset";
|
|
||||||
label = "SUSPEND";
|
|
||||||
type = <RST_SUSPEND>;
|
|
||||||
#binding-cells = <0>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,5 +11,3 @@
|
||||||
// https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107
|
// https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107
|
||||||
|
|
||||||
#define RST_UF2 0x57
|
#define RST_UF2 0x57
|
||||||
#define RST_OTA 0xA8
|
|
||||||
#define RST_SUSPEND 0xFE
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue