docs: Remove label property from documentation

This commit is contained in:
Joel Spadin
2023-10-06 20:49:58 -05:00
parent d4e8dee444
commit 5ecd3521f5
24 changed files with 51 additions and 83 deletions

View File

@@ -176,7 +176,6 @@ this to all of the `.dts` files for the boards that were affected by this issue.
```diff
code_partition: partition@26000 {
label = "code_partition";
- reg = <0x00026000 0x000d2000>;
+ reg = <0x00026000 0x000c6000>;
};
@@ -184,7 +183,6 @@ this to all of the `.dts` files for the boards that were affected by this issue.
- storage_partition: partition@f8000 {
+ storage_partition: partition@ec000 {
label = "storage";
- reg = <0x000f8000 0x00008000>;
+ reg = <0x000ec000 0x00008000>;
};
@@ -193,3 +191,7 @@ this to all of the `.dts` files for the boards that were affected by this issue.
And with those changes, we should no longer run into this issue! In the process
of these changes, we lost 48KB of space for application code, but we're only
using around 20% of it anyways. 🎉
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.

View File

@@ -98,7 +98,7 @@ There has been lots of work to get display support complete enough for use by en
#### Highest Layer Display
[mcrosson] has contributed the next display widget, showing the highest active layer in the keymap. [petejohanson] then added a small follow up to allow layers in keymaps to add a `label` property to each layer, e.g. `label = "Nav";` and have that label be displayed in the widget instead of the numeric layer number.
[mcrosson] has contributed the next display widget, showing the highest active layer in the keymap. [petejohanson] then added a small follow up to allow layers in keymaps to add a `name` property to each layer, e.g. `name = "Nav";` and have that name be displayed in the widget instead of the numeric layer number.
#### WPM
@@ -192,3 +192,7 @@ Thanks again to the numerous contributors, testers, and users who have made work
[petejohanson]: https://github.com/petejohanson
[innovaker]: https://github.com/innovaker
[joelspadin]: https://github.com/joelspadin
## Article Updates
- 12/2023: The `label` property for keymap layers was renamed to `display-name`.

View File

@@ -79,7 +79,6 @@ Zephyr's WS2812 `led_strip` driver added a new required property. When adding [u
```dts
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
label = "WS2812";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
@@ -115,7 +114,6 @@ For example, for a shield with:
oled: ssd1306@3c {
compatible = "solomon,ssd1306fb";
reg = <0x3c>;
label = "SSD1306";
width = <128>;
height = <32>;
segment-offset = <0>;
@@ -153,7 +151,6 @@ Underneath the USB device, add the CDC ACM node:
status = "okay";
cdc_acm_uart: cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM_0";
};
};
```
@@ -226,3 +223,7 @@ This will also enable us to support the XIAO compatible Adafruit Qt Py RP2040 an
Thanks to all the testers who have helped verify ZMK functionality on the newer Zephyr version.
[petejohanson]: https://github.com/petejohanson
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.

View File

@@ -55,7 +55,6 @@ a user taps a single key in their keymap, e.g.
behaviors {
td0: tap_dance_0 {
compatible = "zmk,behavior-tap-dance";
label = "TAP_DANCE_0";
#binding-cells = <0>;
tapping-term-ms = <200>;
bindings = <&kp N1>, <&kp N2>, <&kp N3>;
@@ -263,3 +262,7 @@ As we approach the two year birthday for ZMK, I am reminded of how far we have c
[joelspadin]: https://github.com/joelspadin
[bcat]: https://github.com/bcat
[dxmh]: https://github.com/dxmh
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.

View File

@@ -38,7 +38,6 @@ Previously, an encoder configuration looked like:
```dts
left_encoder: encoder_left {
compatible = "alps,ec11";
label = "LEFT_ENCODER";
a-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
resolution = <4>;
@@ -61,7 +60,6 @@ That was the entirety of the configuration for encoders.
```dts
left_encoder: encoder_left {
compatible = "alps,ec11";
label = "LEFT_ENCODER";
a-gpios = <&pro_micro 21 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro 20 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
steps = <80>;
@@ -117,3 +115,7 @@ The old configuration will be supported for a period of one month, and then remo
[petejohanson]: https://github.com/petejohanson
[joelspadin]: https://github.com/joelspadin
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.

View File

@@ -34,7 +34,6 @@ As an example, you can now define a mod-morph that swaps `;` and `:` so that the
```dts
col_semi: colon_semicolon {
compatible = "zmk,behavior-mod-morph";
label = "COLON_SEMICOLON";
#binding-cells = <0>;
bindings = <&kp COLON>, <&kp SEMI>;
mods = <(MOD_LSFT|MOD_RSFT)>;
@@ -48,9 +47,8 @@ As an example, you can now define a mod-morph that swaps `;` and `:` so that the
As a simple example, you could define a macro that puts any keycode provided between double quotes as below, then use it like `&ql A` in your keymap:
```dts
ql: quoted_letter_macro {
ql: quoted_letter {
#binding-cells = <1>;
label = "QUOTED_LETTER";
compatible = "zmk,behavior-macro-one-param";
bindings =
<&kp DQT>,
@@ -293,3 +291,7 @@ Also a big thank you to contributors that submit patches and perform reviews, te
[urob]: https://github.com/urob
[filterpaper]: https://github.com/filterpaper
[ReFil]: https://github.com/ReFil
## Article Updates
- 12/2023: Removed the deprecated `label` property from code snippets.