docs: Move the hardware integration section out of development (#3360)
This commit is contained in:
parent
fff185eaee
commit
ed56d81db7
64 changed files with 184 additions and 183 deletions
|
|
@ -71,7 +71,7 @@ BUILD_ASSERT(
|
|||
#define ZMK_LAYOUT_INST(n) \
|
||||
BUILD_ASSERT(!IS_ENABLED(CONFIG_ZMK_STUDIO) || DT_INST_NODE_HAS_PROP(n, keys), \
|
||||
"ZMK Studio requires physical layouts with key positions. See " \
|
||||
"https://zmk.dev/docs/development/hardware-integration/studio-setup"); \
|
||||
"https://zmk.dev/docs/hardware-integration/studio-setup"); \
|
||||
static const struct zmk_key_physical_attrs _CONCAT(_zmk_physical_layout_keys_, \
|
||||
n)[DT_INST_PROP_LEN_OR(n, keys, 0)] = { \
|
||||
LISTIFY(DT_INST_PROP_LEN_OR(n, keys, 0), ZKPA_INIT, (, ), n)}; \
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ static const struct gpio_dt_spec detect_gpio = GPIO_DT_SPEC_INST_GET(0, detect_g
|
|||
#else
|
||||
|
||||
#error \
|
||||
"Need to create a node with compatible of 'zmk,wired-split` with a `device` property set to an enabled UART. See http://zmk.dev/docs/development/hardware-integration/new-shield#wired-split"
|
||||
"Need to create a node with compatible of 'zmk,wired-split` with a `device` property set to an enabled UART. See http://zmk.dev/docs/hardware-integration/new-shield#wired-split"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ static const struct gpio_dt_spec detect_gpio = GPIO_DT_SPEC_INST_GET(0, detect_g
|
|||
#else
|
||||
|
||||
#error \
|
||||
"Need to create a node with compatible of 'zmk,wired-split` with a `device` property set to an enabled UART. See http://zmk.dev/docs/development/hardware-integration/new-shield#wired-split"
|
||||
"Need to create a node with compatible of 'zmk,wired-split` with a `device` property set to an enabled UART. See http://zmk.dev/docs/hardware-integration/new-shield#wired-split"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue