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
|
|
@ -50,12 +50,12 @@ if (ZMK_CONFIG)
|
|||
set(ENV{ZMK_CONFIG} "${ZMK_CONFIG}")
|
||||
if(EXISTS ${ZMK_CONFIG}/boards)
|
||||
message(STATUS "Adding ZMK config directory as board root: ${ZMK_CONFIG}")
|
||||
message(DEPRECATION "The `config/boards` folder is deprecated. Please use a module instead. See https://zmk.dev/docs/development/hardware-integration/new-shield and https://zmk.dev/docs/development/module-creation for more information.")
|
||||
message(DEPRECATION "The `config/boards` folder is deprecated. Please use a module instead. See https://zmk.dev/docs/hardware-integration/new-shield and https://zmk.dev/docs/development/module-creation for more information.")
|
||||
list(APPEND BOARD_ROOT ${ZMK_CONFIG})
|
||||
endif()
|
||||
if(EXISTS ${ZMK_CONFIG}/dts)
|
||||
message(STATUS "Adding ZMK config directory as DTS root: ${ZMK_CONFIG}")
|
||||
message(DEPRECATION "The `config/dts` folder is deprecated. Please use a module instead. See https://zmk.dev/docs/development/hardware-integration/new-shield and https://zmk.dev/docs/development/module-creation for more information.")
|
||||
message(DEPRECATION "The `config/dts` folder is deprecated. Please use a module instead. See https://zmk.dev/docs/hardware-integration/new-shield and https://zmk.dev/docs/development/module-creation for more information.")
|
||||
list(APPEND DTS_ROOT ${ZMK_CONFIG})
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -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