diff --git a/tests/quarantine.yaml b/tests/quarantine.yaml index 16e197c859..d026729d46 100644 --- a/tests/quarantine.yaml +++ b/tests/quarantine.yaml @@ -356,11 +356,17 @@ - waveshare_rp2040_eth/rp2040 scenarios: - grove.rpipico.v1.grove_btn.gpio.d16 + - grove.rpipico.v1.grove_btn.gpio.d16.inv - grove.rpipico.v1.grove_btn.gpio.d17 + - grove.rpipico.v1.grove_btn.gpio.d17.inv - grove.rpipico.v1.grove_btn.gpio.d18 + - grove.rpipico.v1.grove_btn.gpio.d18.inv - grove.rpipico.v1.grove_btn.gpio.d19 + - grove.rpipico.v1.grove_btn.gpio.d19.inv - grove.rpipico.v1.grove_btn.gpio.d20 + - grove.rpipico.v1.grove_btn.gpio.d20.inv - grove.rpipico.v1.grove_btn.gpio.d21 + - grove.rpipico.v1.grove_btn.gpio.d21.inv # Grove Connectors (directly) On-Board @@ -396,112 +402,204 @@ - seeeduino_cm0/samd21g18a scenarios: - grove.connectors.grove_btn.gpio.d2 + - grove.connectors.grove_btn.gpio.d2.inv - grove.connectors.grove_btn.gpio.d3 + - grove.connectors.grove_btn.gpio.d3.inv - grove.connectors.grove_btn.gpio.d4 + - grove.connectors.grove_btn.gpio.d4.inv - grove.connectors.grove_btn.gpio.d5 + - grove.connectors.grove_btn.gpio.d5.inv - grove.connectors.grove_btn.gpio.d6 + - grove.connectors.grove_btn.gpio.d6.inv - grove.connectors.grove_btn.gpio.d7 + - grove.connectors.grove_btn.gpio.d7.inv - grove.connectors.grove_btn.gpio.d8 + - grove.connectors.grove_btn.gpio.d8.inv - grove.connectors.grove_btn.gpio.d9 + - grove.connectors.grove_btn.gpio.d9.inv - grove.connectors.grove_btn.gpio.d10 + - grove.connectors.grove_btn.gpio.d10.inv - grove.connectors.grove_btn.gpio.d11 + - grove.connectors.grove_btn.gpio.d11.inv - grove.connectors.grove_btn.gpio.d12 + - grove.connectors.grove_btn.gpio.d12.inv - grove.connectors.grove_btn.gpio.d13 + - grove.connectors.grove_btn.gpio.d13.inv - grove.connectors.grove_btn.gpio.d14 + - grove.connectors.grove_btn.gpio.d14.inv - grove.connectors.grove_btn.gpio.d15 + - grove.connectors.grove_btn.gpio.d15.inv - grove.connectors.grove_btn.gpio.d16 + - grove.connectors.grove_btn.gpio.d16.inv - grove.connectors.grove_btn.gpio.d17 + - grove.connectors.grove_btn.gpio.d17.inv - grove.connectors.grove_btn.gpio.d20 + - grove.connectors.grove_btn.gpio.d20.inv - grove.connectors.grove_btn.gpio.d21 + - grove.connectors.grove_btn.gpio.d21.inv - grove.connectors.grove_btn.gpio.d22 + - grove.connectors.grove_btn.gpio.d22.inv - grove.connectors.grove_btn.gpio.d23 + - grove.connectors.grove_btn.gpio.d23.inv - grove.connectors.grove_btn.gpio.d24 + - grove.connectors.grove_btn.gpio.d24.inv - grove.connectors.grove_btn.gpio.d25 + - grove.connectors.grove_btn.gpio.d25.inv - grove.connectors.grove_btn.gpio.d26 + - grove.connectors.grove_btn.gpio.d26.inv - grove.connectors.grove_btn.gpio.d27 + - grove.connectors.grove_btn.gpio.d27.inv - grove.connectors.grove_btn.gpio.d28 + - grove.connectors.grove_btn.gpio.d28.inv - grove.connectors.grove_btn.gpio.d29 + - grove.connectors.grove_btn.gpio.d29.inv - grove.connectors.grove_btn.gpio.d30 + - grove.connectors.grove_btn.gpio.d30.inv - grove.connectors.grove_btn.gpio.d31 + - grove.connectors.grove_btn.gpio.d31.inv - comment: "shield(grove.connectors.grove_btn): seeeduino_lotus: invalid board condition." platforms: - seeeduino_lotus/samd21g18a scenarios: - grove.connectors.grove_btn.gpio.d9 + - grove.connectors.grove_btn.gpio.d9.inv - grove.connectors.grove_btn.gpio.d10 + - grove.connectors.grove_btn.gpio.d10.inv - grove.connectors.grove_btn.gpio.d11 + - grove.connectors.grove_btn.gpio.d11.inv - grove.connectors.grove_btn.gpio.d12 + - grove.connectors.grove_btn.gpio.d12.inv - grove.connectors.grove_btn.gpio.d13 + - grove.connectors.grove_btn.gpio.d13.inv - grove.connectors.grove_btn.gpio.d20 + - grove.connectors.grove_btn.gpio.d20.inv - grove.connectors.grove_btn.gpio.d21 + - grove.connectors.grove_btn.gpio.d21.inv - grove.connectors.grove_btn.gpio.d22 + - grove.connectors.grove_btn.gpio.d22.inv - grove.connectors.grove_btn.gpio.d23 + - grove.connectors.grove_btn.gpio.d23.inv - grove.connectors.grove_btn.gpio.d24 + - grove.connectors.grove_btn.gpio.d24.inv - grove.connectors.grove_btn.gpio.d25 + - grove.connectors.grove_btn.gpio.d25.inv - grove.connectors.grove_btn.gpio.d26 + - grove.connectors.grove_btn.gpio.d26.inv - grove.connectors.grove_btn.gpio.d27 + - grove.connectors.grove_btn.gpio.d27.inv - grove.connectors.grove_btn.gpio.d28 + - grove.connectors.grove_btn.gpio.d28.inv - grove.connectors.grove_btn.gpio.d29 + - grove.connectors.grove_btn.gpio.d29.inv - grove.connectors.grove_btn.gpio.d30 + - grove.connectors.grove_btn.gpio.d30.inv - grove.connectors.grove_btn.gpio.d31 + - grove.connectors.grove_btn.gpio.d31.inv - comment: "shield(grove.connectors.grove_btn): cytron_maker_nano_rp2040: invalid board condition." platforms: - cytron_maker_nano_rp2040/rp2040 scenarios: - grove.connectors.grove_btn.gpio.d2 + - grove.connectors.grove_btn.gpio.d2.inv - grove.connectors.grove_btn.gpio.d3 + - grove.connectors.grove_btn.gpio.d3.inv - grove.connectors.grove_btn.gpio.d4 + - grove.connectors.grove_btn.gpio.d4.inv - grove.connectors.grove_btn.gpio.d5 + - grove.connectors.grove_btn.gpio.d5.inv - grove.connectors.grove_btn.gpio.d6 + - grove.connectors.grove_btn.gpio.d6.inv - grove.connectors.grove_btn.gpio.d7 + - grove.connectors.grove_btn.gpio.d7.inv - grove.connectors.grove_btn.gpio.d8 + - grove.connectors.grove_btn.gpio.d8.inv - grove.connectors.grove_btn.gpio.d9 + - grove.connectors.grove_btn.gpio.d9.inv - grove.connectors.grove_btn.gpio.d10 + - grove.connectors.grove_btn.gpio.d10.inv - grove.connectors.grove_btn.gpio.d11 + - grove.connectors.grove_btn.gpio.d11.inv - grove.connectors.grove_btn.gpio.d12 + - grove.connectors.grove_btn.gpio.d12.inv - grove.connectors.grove_btn.gpio.d13 + - grove.connectors.grove_btn.gpio.d13.inv - grove.connectors.grove_btn.gpio.d16 + - grove.connectors.grove_btn.gpio.d16.inv - grove.connectors.grove_btn.gpio.d17 + - grove.connectors.grove_btn.gpio.d17.inv - grove.connectors.grove_btn.gpio.d18 + - grove.connectors.grove_btn.gpio.d18.inv - grove.connectors.grove_btn.gpio.d19 + - grove.connectors.grove_btn.gpio.d19.inv - grove.connectors.grove_btn.gpio.d20 + - grove.connectors.grove_btn.gpio.d20.inv - grove.connectors.grove_btn.gpio.d21 + - grove.connectors.grove_btn.gpio.d21.inv - grove.connectors.grove_btn.gpio.d22 + - grove.connectors.grove_btn.gpio.d22.inv - grove.connectors.grove_btn.gpio.d23 + - grove.connectors.grove_btn.gpio.d23.inv - grove.connectors.grove_btn.gpio.d24 + - grove.connectors.grove_btn.gpio.d24.inv - grove.connectors.grove_btn.gpio.d25 + - grove.connectors.grove_btn.gpio.d25.inv - grove.connectors.grove_btn.gpio.d26 + - grove.connectors.grove_btn.gpio.d26.inv - grove.connectors.grove_btn.gpio.d27 + - grove.connectors.grove_btn.gpio.d27.inv - grove.connectors.grove_btn.gpio.d28 + - grove.connectors.grove_btn.gpio.d28.inv - grove.connectors.grove_btn.gpio.d29 + - grove.connectors.grove_btn.gpio.d29.inv - grove.connectors.grove_btn.gpio.d30 + - grove.connectors.grove_btn.gpio.d30.inv - grove.connectors.grove_btn.gpio.d31 + - grove.connectors.grove_btn.gpio.d31.inv - comment: "shield(grove.connectors.grove_btn): cytron_maker_pi_rp2040: invalid board condition." platforms: - cytron_maker_pi_rp2040/rp2040 scenarios: - grove.connectors.grove_btn.gpio.d8 + - grove.connectors.grove_btn.gpio.d8.inv - grove.connectors.grove_btn.gpio.d9 + - grove.connectors.grove_btn.gpio.d9.inv - grove.connectors.grove_btn.gpio.d10 + - grove.connectors.grove_btn.gpio.d10.inv - grove.connectors.grove_btn.gpio.d11 + - grove.connectors.grove_btn.gpio.d11.inv - grove.connectors.grove_btn.gpio.d12 + - grove.connectors.grove_btn.gpio.d12.inv - grove.connectors.grove_btn.gpio.d13 + - grove.connectors.grove_btn.gpio.d13.inv - grove.connectors.grove_btn.gpio.d14 + - grove.connectors.grove_btn.gpio.d14.inv - grove.connectors.grove_btn.gpio.d15 + - grove.connectors.grove_btn.gpio.d15.inv - grove.connectors.grove_btn.gpio.d18 + - grove.connectors.grove_btn.gpio.d18.inv - grove.connectors.grove_btn.gpio.d19 + - grove.connectors.grove_btn.gpio.d19.inv - grove.connectors.grove_btn.gpio.d20 + - grove.connectors.grove_btn.gpio.d20.inv - grove.connectors.grove_btn.gpio.d21 + - grove.connectors.grove_btn.gpio.d21.inv - grove.connectors.grove_btn.gpio.d22 + - grove.connectors.grove_btn.gpio.d22.inv - grove.connectors.grove_btn.gpio.d23 + - grove.connectors.grove_btn.gpio.d23.inv - grove.connectors.grove_btn.gpio.d24 + - grove.connectors.grove_btn.gpio.d24.inv - grove.connectors.grove_btn.gpio.d25 + - grove.connectors.grove_btn.gpio.d25.inv - grove.connectors.grove_btn.gpio.d29 + - grove.connectors.grove_btn.gpio.d29.inv - grove.connectors.grove_btn.gpio.d30 + - grove.connectors.grove_btn.gpio.d30.inv - grove.connectors.grove_btn.gpio.d31 + - grove.connectors.grove_btn.gpio.d31.inv ############################################################################## # diff --git a/tests/shields/grove_btn/dts_bindings/CMakeLists.txt b/tests/shields/grove_btn/dts_bindings/CMakeLists.txt index ef1b7eae40..f0b3b01036 100644 --- a/tests/shields/grove_btn/dts_bindings/CMakeLists.txt +++ b/tests/shields/grove_btn/dts_bindings/CMakeLists.txt @@ -8,12 +8,13 @@ project(grove_btn_shields) target_sources(app PRIVATE src/main.c) -function(test_if config node_parent node_label node_dscr) +function(test_if config node_parent node_label node_dscr node_alt_dscr) if(${config}) dt_nodelabel(node_path NODELABEL "${node_label}") if(DEFINED node_path AND "${node_path}" MATCHES "${node_parent}") dt_prop(node_prop PATH "${node_path}" PROPERTY "label") - if(DEFINED node_prop AND "${node_prop}" STREQUAL "${node_dscr}") + if(DEFINED node_prop AND ("${node_prop}" STREQUAL "${node_dscr}" + OR "${node_prop}" STREQUAL "${node_alt_dscr}")) message(STATUS "Found label \"${node_label}\" at \"${node_path}\" " "as \"${node_prop}\"") else() @@ -21,7 +22,7 @@ function(test_if config node_parent node_label node_dscr) "actual either " "the node path \"${node_path}\" at label \"${node_label}\" " "was not found or has no \"label\" property with \"${node_dscr}\" or " - "the node labels are missing or misspelled." + "\"${node_alt_dscr}\" or the node labels are missing or misspelled." ) endif() else() @@ -48,35 +49,35 @@ endif() # ) #endif() -test_if(CONFIG_SHIELD_GROVE_BTN_D0 "/grove_btns" "grove_btn_d0" "Grove Button D0") -test_if(CONFIG_SHIELD_GROVE_BTN_D1 "/grove_btns" "grove_btn_d1" "Grove Button D1") -test_if(CONFIG_SHIELD_GROVE_BTN_D2 "/grove_btns" "grove_btn_d2" "Grove Button D2") -test_if(CONFIG_SHIELD_GROVE_BTN_D3 "/grove_btns" "grove_btn_d3" "Grove Button D3") -test_if(CONFIG_SHIELD_GROVE_BTN_D4 "/grove_btns" "grove_btn_d4" "Grove Button D4") -test_if(CONFIG_SHIELD_GROVE_BTN_D5 "/grove_btns" "grove_btn_d5" "Grove Button D5") -test_if(CONFIG_SHIELD_GROVE_BTN_D6 "/grove_btns" "grove_btn_d6" "Grove Button D6") -test_if(CONFIG_SHIELD_GROVE_BTN_D7 "/grove_btns" "grove_btn_d7" "Grove Button D7") -test_if(CONFIG_SHIELD_GROVE_BTN_D8 "/grove_btns" "grove_btn_d8" "Grove Button D8") -test_if(CONFIG_SHIELD_GROVE_BTN_D9 "/grove_btns" "grove_btn_d9" "Grove Button D9") -test_if(CONFIG_SHIELD_GROVE_BTN_D10 "/grove_btns" "grove_btn_d10" "Grove Button D10") -test_if(CONFIG_SHIELD_GROVE_BTN_D11 "/grove_btns" "grove_btn_d11" "Grove Button D11") -test_if(CONFIG_SHIELD_GROVE_BTN_D12 "/grove_btns" "grove_btn_d12" "Grove Button D12") -test_if(CONFIG_SHIELD_GROVE_BTN_D13 "/grove_btns" "grove_btn_d13" "Grove Button D13") -test_if(CONFIG_SHIELD_GROVE_BTN_D14 "/grove_btns" "grove_btn_d14" "Grove Button D14") -test_if(CONFIG_SHIELD_GROVE_BTN_D15 "/grove_btns" "grove_btn_d15" "Grove Button D15") -test_if(CONFIG_SHIELD_GROVE_BTN_D16 "/grove_btns" "grove_btn_d16" "Grove Button D16") -test_if(CONFIG_SHIELD_GROVE_BTN_D17 "/grove_btns" "grove_btn_d17" "Grove Button D17") -test_if(CONFIG_SHIELD_GROVE_BTN_D18 "/grove_btns" "grove_btn_d18" "Grove Button D18") -test_if(CONFIG_SHIELD_GROVE_BTN_D19 "/grove_btns" "grove_btn_d19" "Grove Button D19") -test_if(CONFIG_SHIELD_GROVE_BTN_D20 "/grove_btns" "grove_btn_d20" "Grove Button D20") -test_if(CONFIG_SHIELD_GROVE_BTN_D21 "/grove_btns" "grove_btn_d21" "Grove Button D21") -test_if(CONFIG_SHIELD_GROVE_BTN_D22 "/grove_btns" "grove_btn_d22" "Grove Button D22") -test_if(CONFIG_SHIELD_GROVE_BTN_D23 "/grove_btns" "grove_btn_d23" "Grove Button D23") -test_if(CONFIG_SHIELD_GROVE_BTN_D24 "/grove_btns" "grove_btn_d24" "Grove Button D24") -test_if(CONFIG_SHIELD_GROVE_BTN_D25 "/grove_btns" "grove_btn_d25" "Grove Button D25") -test_if(CONFIG_SHIELD_GROVE_BTN_D26 "/grove_btns" "grove_btn_d26" "Grove Button D26") -test_if(CONFIG_SHIELD_GROVE_BTN_D27 "/grove_btns" "grove_btn_d27" "Grove Button D27") -test_if(CONFIG_SHIELD_GROVE_BTN_D28 "/grove_btns" "grove_btn_d28" "Grove Button D28") -test_if(CONFIG_SHIELD_GROVE_BTN_D29 "/grove_btns" "grove_btn_d29" "Grove Button D29") -test_if(CONFIG_SHIELD_GROVE_BTN_D30 "/grove_btns" "grove_btn_d30" "Grove Button D30") -test_if(CONFIG_SHIELD_GROVE_BTN_D31 "/grove_btns" "grove_btn_d31" "Grove Button D31") +test_if(CONFIG_SHIELD_GROVE_BTN_D0 "/grove_btns" "grove_btn_d0" "Grove Button D0" "Grove Button D0 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D1 "/grove_btns" "grove_btn_d1" "Grove Button D1" "Grove Button D1 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D2 "/grove_btns" "grove_btn_d2" "Grove Button D2" "Grove Button D2 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D3 "/grove_btns" "grove_btn_d3" "Grove Button D3" "Grove Button D3 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D4 "/grove_btns" "grove_btn_d4" "Grove Button D4" "Grove Button D4 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D5 "/grove_btns" "grove_btn_d5" "Grove Button D5" "Grove Button D5 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D6 "/grove_btns" "grove_btn_d6" "Grove Button D6" "Grove Button D6 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D7 "/grove_btns" "grove_btn_d7" "Grove Button D7" "Grove Button D7 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D8 "/grove_btns" "grove_btn_d8" "Grove Button D8" "Grove Button D8 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D9 "/grove_btns" "grove_btn_d9" "Grove Button D9" "Grove Button D9 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D10 "/grove_btns" "grove_btn_d10" "Grove Button D10" "Grove Button D10 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D11 "/grove_btns" "grove_btn_d11" "Grove Button D11" "Grove Button D11 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D12 "/grove_btns" "grove_btn_d12" "Grove Button D12" "Grove Button D12 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D13 "/grove_btns" "grove_btn_d13" "Grove Button D13" "Grove Button D13 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D14 "/grove_btns" "grove_btn_d14" "Grove Button D14" "Grove Button D14 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D15 "/grove_btns" "grove_btn_d15" "Grove Button D15" "Grove Button D15 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D16 "/grove_btns" "grove_btn_d16" "Grove Button D16" "Grove Button D16 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D17 "/grove_btns" "grove_btn_d17" "Grove Button D17" "Grove Button D17 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D18 "/grove_btns" "grove_btn_d18" "Grove Button D18" "Grove Button D18 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D19 "/grove_btns" "grove_btn_d19" "Grove Button D19" "Grove Button D19 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D20 "/grove_btns" "grove_btn_d20" "Grove Button D20" "Grove Button D20 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D21 "/grove_btns" "grove_btn_d21" "Grove Button D21" "Grove Button D21 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D22 "/grove_btns" "grove_btn_d22" "Grove Button D22" "Grove Button D22 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D23 "/grove_btns" "grove_btn_d23" "Grove Button D23" "Grove Button D23 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D24 "/grove_btns" "grove_btn_d24" "Grove Button D24" "Grove Button D24 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D25 "/grove_btns" "grove_btn_d25" "Grove Button D25" "Grove Button D25 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D26 "/grove_btns" "grove_btn_d26" "Grove Button D26" "Grove Button D26 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D27 "/grove_btns" "grove_btn_d27" "Grove Button D27" "Grove Button D27 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D28 "/grove_btns" "grove_btn_d28" "Grove Button D28" "Grove Button D28 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D29 "/grove_btns" "grove_btn_d29" "Grove Button D29" "Grove Button D29 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D30 "/grove_btns" "grove_btn_d30" "Grove Button D30" "Grove Button D30 (inverted)") +test_if(CONFIG_SHIELD_GROVE_BTN_D31 "/grove_btns" "grove_btn_d31" "Grove Button D31" "Grove Button D31 (inverted)") diff --git a/tests/shields/grove_btn/dts_bindings/testcase.yaml b/tests/shields/grove_btn/dts_bindings/testcase.yaml index 628aab1832..dd29d7d964 100644 --- a/tests/shields/grove_btn/dts_bindings/testcase.yaml +++ b/tests/shields/grove_btn/dts_bindings/testcase.yaml @@ -60,18 +60,36 @@ tests: dt_nodelabel_enabled("grove_uart_header") and dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d0 + grove.base.v2.grove_btn.gpio.d0.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_d0_header") and + dt_nodelabel_enabled("grove_uart_header") and + dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d0_inv grove.base.v1.grove_btn.gpio.d0: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d0_header") or dt_nodelabel_enabled("grove_uart_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d0 + grove.base.v1.grove_btn.gpio.d0.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d0_header") or + dt_nodelabel_enabled("grove_uart_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d0_inv grove.base.v2.grove_btn.gpio.d1: depends_on: arduino_gpio filter: dt_nodelabel_enabled("grove_d0_header") and dt_nodelabel_enabled("grove_uart_header") and dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d1 + grove.base.v2.grove_btn.gpio.d1.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_d0_header") and + dt_nodelabel_enabled("grove_uart_header") and + dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d1_inv grove.base.v1.grove_btn.gpio.d1: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d1_header") or @@ -79,53 +97,107 @@ tests: dt_nodelabel_enabled("grove_uart_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d1 + grove.base.v1.grove_btn.gpio.d1.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d1_header") or + dt_nodelabel_enabled("grove_d0_header") or + dt_nodelabel_enabled("grove_uart_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d1_inv grove.base.v2.grove_btn.gpio.d2: depends_on: arduino_gpio filter: dt_nodelabel_enabled("grove_d2_header") and dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d2 + grove.base.v2.grove_btn.gpio.d2.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_d2_header") and + dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d2_inv grove.base.v1.grove_btn.gpio.d2: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d2_header") or dt_nodelabel_enabled("grove_d1_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d2 + grove.base.v1.grove_btn.gpio.d2.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d2_header") or + dt_nodelabel_enabled("grove_d1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d2_inv grove.base.v2.grove_btn.gpio.d3: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d3_header") or dt_nodelabel_enabled("grove_d2_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d3 + grove.base.v2.grove_btn.gpio.d3.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d3_header") or + dt_nodelabel_enabled("grove_d2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d3_inv grove.base.v1.grove_btn.gpio.d3: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d3_header") or dt_nodelabel_enabled("grove_d2_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d3 + grove.base.v1.grove_btn.gpio.d3.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d3_header") or + dt_nodelabel_enabled("grove_d2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d3_inv grove.base.v2.grove_btn.gpio.d4: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d4_header") or dt_nodelabel_enabled("grove_d3_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d4 + grove.base.v2.grove_btn.gpio.d4.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d4_header") or + dt_nodelabel_enabled("grove_d3_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d4_inv grove.base.v1.grove_btn.gpio.d4: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d4_header") or dt_nodelabel_enabled("grove_d3_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d4 + grove.base.v1.grove_btn.gpio.d4.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d4_header") or + dt_nodelabel_enabled("grove_d3_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d4_inv grove.base.v2.grove_btn.gpio.d5: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d5_header") or dt_nodelabel_enabled("grove_d4_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d5 + grove.base.v2.grove_btn.gpio.d5.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d5_header") or + dt_nodelabel_enabled("grove_d4_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d5_inv grove.base.v1.grove_btn.gpio.d5: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d5_header") or dt_nodelabel_enabled("grove_d4_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d5 + grove.base.v1.grove_btn.gpio.d5.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d5_header") or + dt_nodelabel_enabled("grove_d4_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d5_inv grove.base.v2.grove_btn.gpio.d6: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d6_header") or @@ -135,6 +207,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d6.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d6_header") or + dt_nodelabel_enabled("grove_d5_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d6_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d6: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d6_header") or @@ -144,6 +225,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d6.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d6_header") or + dt_nodelabel_enabled("grove_d5_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d6_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v2.grove_btn.gpio.d7: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d7_header") or @@ -153,6 +243,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d7.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d7_header") or + dt_nodelabel_enabled("grove_d6_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d7_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d7: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d7_header") or @@ -162,6 +261,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d7.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d7_header") or + dt_nodelabel_enabled("grove_d6_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d7_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v2.grove_btn.gpio.d8: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d8_header") or @@ -171,6 +279,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d8.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d8_header") or + dt_nodelabel_enabled("grove_d7_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d8_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d8: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d8_header") or @@ -180,6 +297,15 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d8.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d8_header") or + dt_nodelabel_enabled("grove_d7_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d8_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v2.grove_btn.gpio.d9: depends_on: arduino_gpio filter: dt_nodelabel_enabled("grove_d8_header") and @@ -188,6 +314,14 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d9.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_d8_header") and + dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d9_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d9: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d9_header") or @@ -197,34 +331,71 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d9.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d9_header") or + dt_nodelabel_enabled("grove_d8_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d9_inv + platform_exclude: + - pan1781_evb + - pan1782_evb # grove.base.v2.grove_btn.gpio.d10 + # grove.base.v2.grove_btn.gpio.d10.inv grove.base.v1.grove_btn.gpio.d10: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d10_header") or dt_nodelabel_enabled("grove_d9_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d10 + grove.base.v1.grove_btn.gpio.d10.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d10_header") or + dt_nodelabel_enabled("grove_d9_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d10_inv # grove.base.v2.grove_btn.gpio.d11 + # grove.base.v2.grove_btn.gpio.d11.inv grove.base.v1.grove_btn.gpio.d11: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d11_header") or dt_nodelabel_enabled("grove_d10_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d11", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d11 + grove.base.v1.grove_btn.gpio.d11.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d11_header") or + dt_nodelabel_enabled("grove_d10_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d11", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d11_inv # grove.base.v2.grove_btn.gpio.d12 + # grove.base.v2.grove_btn.gpio.d12.inv grove.base.v1.grove_btn.gpio.d12: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d12_header") or dt_nodelabel_enabled("grove_d11_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d12", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d12 + grove.base.v1.grove_btn.gpio.d12.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d12_header") or + dt_nodelabel_enabled("grove_d11_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d12", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d12_inv # grove.base.v2.grove_btn.gpio.d13 + # grove.base.v2.grove_btn.gpio.d13.inv grove.base.v1.grove_btn.gpio.d13: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_d13_header") or dt_nodelabel_enabled("grove_d12_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d13", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d13 + grove.base.v1.grove_btn.gpio.d13.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_d13_header") or + dt_nodelabel_enabled("grove_d12_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d13", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d13_inv grove.base.v2.grove_btn.gpio.d14: depends_on: arduino_gpio filter: dt_nodelabel_enabled("grove_a0_header") and @@ -234,6 +405,15 @@ tests: - frdm_kw41z - hifive1 - hifive1@B + grove.base.v2.grove_btn.gpio.d14.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_a0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d14", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d14_inv + platform_exclude: + - frdm_kw41z + - hifive1 + - hifive1@B grove.base.v1.grove_btn.gpio.d14: depends_on: arduino_gpio filter: dt_nodelabel_enabled("grove_a0_header") and @@ -243,18 +423,39 @@ tests: - frdm_kw41z - hifive1 - hifive1@B + grove.base.v1.grove_btn.gpio.d14.inv: + depends_on: arduino_gpio + filter: dt_nodelabel_enabled("grove_a0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d14", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d14_inv + platform_exclude: + - frdm_kw41z + - hifive1 + - hifive1@B grove.base.v2.grove_btn.gpio.d15: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a1_header") or dt_nodelabel_enabled("grove_a0_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d15", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d15 + grove.base.v2.grove_btn.gpio.d15.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a1_header") or + dt_nodelabel_enabled("grove_a0_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d15", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d15_inv grove.base.v1.grove_btn.gpio.d15: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a1_header") or dt_nodelabel_enabled("grove_a0_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d15", "gpio-keys") extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d15 + grove.base.v1.grove_btn.gpio.d15.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a1_header") or + dt_nodelabel_enabled("grove_a0_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d15", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d15_inv grove.base.v2.grove_btn.gpio.d16: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a2_header") or @@ -263,6 +464,14 @@ tests: extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d16 platform_exclude: - stm32mp157c_dk2 + grove.base.v2.grove_btn.gpio.d16.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a2_header") or + dt_nodelabel_enabled("grove_a1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d16", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d16_inv + platform_exclude: + - stm32mp157c_dk2 grove.base.v1.grove_btn.gpio.d16: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a2_header") or @@ -271,6 +480,14 @@ tests: extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d16 platform_exclude: - stm32mp157c_dk2 + grove.base.v1.grove_btn.gpio.d16.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a2_header") or + dt_nodelabel_enabled("grove_a1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d16", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d16_inv + platform_exclude: + - stm32mp157c_dk2 grove.base.v2.grove_btn.gpio.d17: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a3_header") or @@ -280,6 +497,15 @@ tests: platform_exclude: - lpcxpresso55s16 - stm32mp157c_dk2 + grove.base.v2.grove_btn.gpio.d17.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a3_header") or + dt_nodelabel_enabled("grove_a2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d17", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d17_inv + platform_exclude: + - lpcxpresso55s16 + - stm32mp157c_dk2 grove.base.v1.grove_btn.gpio.d17: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a3_header") or @@ -289,6 +515,15 @@ tests: platform_exclude: - lpcxpresso55s16 - stm32mp157c_dk2 + grove.base.v1.grove_btn.gpio.d17.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a3_header") or + dt_nodelabel_enabled("grove_a2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d17", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d17_inv + platform_exclude: + - lpcxpresso55s16 + - stm32mp157c_dk2 grove.base.v2.grove_btn.gpio.d18: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a4_header") or @@ -299,6 +534,16 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d18.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a4_header") or + dt_nodelabel_enabled("grove_a3_header") or + dt_nodelabel_enabled("grove_i2c_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d18", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d18_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d18: depends_on: arduino_gpio filter: ( dt_nodelabel_enabled("grove_a4_header") or @@ -309,6 +554,16 @@ tests: platform_exclude: - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d18.inv: + depends_on: arduino_gpio + filter: ( dt_nodelabel_enabled("grove_a4_header") or + dt_nodelabel_enabled("grove_a3_header") or + dt_nodelabel_enabled("grove_i2c_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d18", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d18_inv + platform_exclude: + - pan1781_evb + - pan1782_evb grove.base.v2.grove_btn.gpio.d19: depends_on: arduino_gpio filter: (dt_nodelabel_enabled("grove_a4_header") or @@ -319,6 +574,16 @@ tests: - frdm_kw41z - pan1781_evb - pan1782_evb + grove.base.v2.grove_btn.gpio.d19.inv: + depends_on: arduino_gpio + filter: (dt_nodelabel_enabled("grove_a4_header") or + dt_nodelabel_enabled("grove_i2c_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d19", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v2;grove_btn_d19_inv + platform_exclude: + - frdm_kw41z + - pan1781_evb + - pan1782_evb grove.base.v1.grove_btn.gpio.d19: depends_on: arduino_gpio filter: (dt_nodelabel_enabled("grove_a4_header") or @@ -329,6 +594,16 @@ tests: - frdm_kw41z - pan1781_evb - pan1782_evb + grove.base.v1.grove_btn.gpio.d19.inv: + depends_on: arduino_gpio + filter: (dt_nodelabel_enabled("grove_a4_header") or + dt_nodelabel_enabled("grove_i2c_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d19", "gpio-keys") + extra_args: SHIELD=seeed_grove_base_v1;grove_btn_d19_inv + platform_exclude: + - frdm_kw41z + - pan1781_evb + - pan1782_evb # # Grove Button by simple GPIO on Grove Shield for Seeeduino XIAO # @@ -337,24 +612,47 @@ tests: filter: dt_nodelabel_enabled("grove_d0_header") and dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d0 + grove.xiao.v1.grove_btn.gpio.d0.inv: + depends_on: xiao_gpio + filter: dt_nodelabel_enabled("grove_d0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d0_inv grove.xiao.v1.grove_btn.gpio.d1: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d1_header") or dt_nodelabel_enabled("grove_d0_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d1 + grove.xiao.v1.grove_btn.gpio.d1.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d1_header") or + dt_nodelabel_enabled("grove_d0_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d1_inv grove.xiao.v1.grove_btn.gpio.d2: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d2_header") or dt_nodelabel_enabled("grove_d1_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d2 + grove.xiao.v1.grove_btn.gpio.d2.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d2_header") or + dt_nodelabel_enabled("grove_d1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d2_inv grove.xiao.v1.grove_btn.gpio.d3: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d3_header") or dt_nodelabel_enabled("grove_d2_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d3 + grove.xiao.v1.grove_btn.gpio.d3.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d3_header") or + dt_nodelabel_enabled("grove_d2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d3_inv grove.xiao.v1.grove_btn.gpio.d4: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d4_header") or @@ -362,6 +660,13 @@ tests: dt_nodelabel_enabled("grove_i2c_header") and dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d4 + grove.xiao.v1.grove_btn.gpio.d4.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d4_header") or + dt_nodelabel_enabled("grove_d5_header") ) and + dt_nodelabel_enabled("grove_i2c_header") and + dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d4_inv grove.xiao.v1.grove_btn.gpio.d5: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d5_header") or @@ -369,6 +674,13 @@ tests: dt_nodelabel_enabled("grove_i2c_header") and dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d5 + grove.xiao.v1.grove_btn.gpio.d5.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d5_header") or + dt_nodelabel_enabled("grove_d4_header") ) and + dt_nodelabel_enabled("grove_i2c_header") and + dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d5_inv grove.xiao.v1.grove_btn.gpio.d6: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d6_header") or @@ -376,6 +688,13 @@ tests: dt_nodelabel_enabled("grove_uart_header") and dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d6 + grove.xiao.v1.grove_btn.gpio.d6.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d6_header") or + dt_nodelabel_enabled("grove_d7_header") ) and + dt_nodelabel_enabled("grove_uart_header") and + dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d6_inv grove.xiao.v1.grove_btn.gpio.d7: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d7_header") or @@ -383,23 +702,47 @@ tests: dt_nodelabel_enabled("grove_uart_header") and dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d7 + grove.xiao.v1.grove_btn.gpio.d7.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d7_header") or + dt_nodelabel_enabled("grove_d6_header") ) and + dt_nodelabel_enabled("grove_uart_header") and + dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d7_inv grove.xiao.v1.grove_btn.gpio.d8: depends_on: xiao_gpio filter: dt_nodelabel_enabled("grove_d8_header") and dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d8 + grove.xiao.v1.grove_btn.gpio.d8.inv: + depends_on: xiao_gpio + filter: dt_nodelabel_enabled("grove_d8_header") and + dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d8_inv grove.xiao.v1.grove_btn.gpio.d9: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d9_header") or dt_nodelabel_enabled("grove_d8_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d9 + grove.xiao.v1.grove_btn.gpio.d9.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d9_header") or + dt_nodelabel_enabled("grove_d8_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d9_inv grove.xiao.v1.grove_btn.gpio.d10: depends_on: xiao_gpio filter: ( dt_nodelabel_enabled("grove_d10_header") or dt_nodelabel_enabled("grove_d9_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d10 + grove.xiao.v1.grove_btn.gpio.d10.inv: + depends_on: xiao_gpio + filter: ( dt_nodelabel_enabled("grove_d10_header") or + dt_nodelabel_enabled("grove_d9_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") + extra_args: SHIELD=seeed_grove_xiao_v1;grove_btn_d10_inv # # Grove Button by simple GPIO on Grove Shield for Pi Pico # @@ -409,29 +752,57 @@ tests: dt_nodelabel_enabled("grove_uart0_header") and dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d0 + grove.rpipico.v1.grove_btn.gpio.d0.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d1_header") and + dt_nodelabel_enabled("grove_uart0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d0_inv grove.rpipico.v1.grove_btn.gpio.d1: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d1_header") and dt_nodelabel_enabled("grove_uart0_header") and dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d1 + grove.rpipico.v1.grove_btn.gpio.d1.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d1_header") and + dt_nodelabel_enabled("grove_uart0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d1_inv grove.rpipico.v1.grove_btn.gpio.d2: depends_on: pico_gpio filter: dt_nodelabel_enabled("generic_spi_header") and dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d2 + grove.rpipico.v1.grove_btn.gpio.d2.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("generic_spi_header") and + dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d2_inv grove.rpipico.v1.grove_btn.gpio.d3: depends_on: pico_gpio filter: dt_nodelabel_enabled("generic_spi_header") and dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d3 + grove.rpipico.v1.grove_btn.gpio.d3.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("generic_spi_header") and + dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d3_inv grove.rpipico.v1.grove_btn.gpio.d4: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d5_header") and dt_nodelabel_enabled("grove_uart1_header") and dt_nodelabel_enabled("generic_spi_header") and dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") - extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d4 + grove.rpipico.v1.grove_btn.gpio.d4.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d5_header") and + dt_nodelabel_enabled("grove_uart1_header") and + dt_nodelabel_enabled("generic_spi_header") and + dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d4_inv grove.rpipico.v1.grove_btn.gpio.d5: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d5_header") and @@ -439,36 +810,73 @@ tests: dt_nodelabel_enabled("generic_spi_header") and dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d5 + grove.rpipico.v1.grove_btn.gpio.d5.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d5_header") and + dt_nodelabel_enabled("grove_uart1_header") and + dt_nodelabel_enabled("generic_spi_header") and + dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d5_inv grove.rpipico.v1.grove_btn.gpio.d6: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d7_header") and dt_nodelabel_enabled("grove_i2c1_header") and dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d6 + grove.rpipico.v1.grove_btn.gpio.d6.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d7_header") and + dt_nodelabel_enabled("grove_i2c1_header") and + dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d6_inv grove.rpipico.v1.grove_btn.gpio.d7: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d7_header") and dt_nodelabel_enabled("grove_i2c1_header") and dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d7 + grove.rpipico.v1.grove_btn.gpio.d7.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d7_header") and + dt_nodelabel_enabled("grove_i2c1_header") and + dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d7_inv grove.rpipico.v1.grove_btn.gpio.d8: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d9_header") and dt_nodelabel_enabled("grove_i2c0_header") and dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d8 + grove.rpipico.v1.grove_btn.gpio.d8.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d9_header") and + dt_nodelabel_enabled("grove_i2c0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d8_inv grove.rpipico.v1.grove_btn.gpio.d9: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d9_header") and dt_nodelabel_enabled("grove_i2c0_header") and dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d9 + grove.rpipico.v1.grove_btn.gpio.d9.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d9_header") and + dt_nodelabel_enabled("grove_i2c0_header") and + dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d9_inv # grove.rpipico.v1.grove_btn.gpio.d10 + # grove.rpipico.v1.grove_btn.gpio.d10.inv # grove.rpipico.v1.grove_btn.gpio.d11 + # grove.rpipico.v1.grove_btn.gpio.d11.inv # grove.rpipico.v1.grove_btn.gpio.d12 + # grove.rpipico.v1.grove_btn.gpio.d12.inv # grove.rpipico.v1.grove_btn.gpio.d13 + # grove.rpipico.v1.grove_btn.gpio.d13.inv # grove.rpipico.v1.grove_btn.gpio.d14 + # grove.rpipico.v1.grove_btn.gpio.d14.inv # grove.rpipico.v1.grove_btn.gpio.d15 + # grove.rpipico.v1.grove_btn.gpio.d15.inv grove.rpipico.v1.grove_btn.gpio.d16: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d16_header") and @@ -480,6 +888,17 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d16.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d16_header") and + dt_label_with_parent_compat_enabled("grove_btn_d16", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d16_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb grove.rpipico.v1.grove_btn.gpio.d17: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d16_header") and @@ -491,6 +910,17 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d17.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d16_header") and + dt_label_with_parent_compat_enabled("grove_btn_d17", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d17_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb grove.rpipico.v1.grove_btn.gpio.d18: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d18_header") and @@ -502,6 +932,17 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d18.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d18_header") and + dt_label_with_parent_compat_enabled("grove_btn_d18", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d18_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb grove.rpipico.v1.grove_btn.gpio.d19: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d18_header") and @@ -513,6 +954,17 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d19.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d18_header") and + dt_label_with_parent_compat_enabled("grove_btn_d19", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d19_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb grove.rpipico.v1.grove_btn.gpio.d20: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d20_header") and @@ -524,6 +976,17 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d20.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d20_header") and + dt_label_with_parent_compat_enabled("grove_btn_d20", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d20_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb grove.rpipico.v1.grove_btn.gpio.d21: depends_on: pico_gpio filter: dt_nodelabel_enabled("grove_d20_header") and @@ -535,16 +998,37 @@ tests: - waveshare_rp2040_lcd_0_96 - waveshare_rp2040_plus - waveshare_rp2040_plus@16mb + grove.rpipico.v1.grove_btn.gpio.d21.inv: + depends_on: pico_gpio + filter: dt_nodelabel_enabled("grove_d20_header") and + dt_label_with_parent_compat_enabled("grove_btn_d21", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d21_inv + platform_allow: + - rpi_pico + - rpi_pico/rp2040/w + - waveshare_rp2040_lcd_0_96 + - waveshare_rp2040_plus + - waveshare_rp2040_plus@16mb # grove.rpipico.v1.grove_btn.gpio.d22 + # grove.rpipico.v1.grove_btn.gpio.d22.inv # grove.rpipico.v1.grove_btn.gpio.d23 + # grove.rpipico.v1.grove_btn.gpio.d23.inv # grove.rpipico.v1.grove_btn.gpio.d24 + # grove.rpipico.v1.grove_btn.gpio.d24.inv # grove.rpipico.v1.grove_btn.gpio.d25 + # grove.rpipico.v1.grove_btn.gpio.d25.inv grove.rpipico.v1.grove_btn.gpio.d26: depends_on: pico_gpio filter: ( dt_nodelabel_enabled("grove_a0_header") or dt_nodelabel_enabled("grove_d26_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d26", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d26 + grove.rpipico.v1.grove_btn.gpio.d26.inv: + depends_on: pico_gpio + filter: ( dt_nodelabel_enabled("grove_a0_header") or + dt_nodelabel_enabled("grove_d26_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d26", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d26_inv grove.rpipico.v1.grove_btn.gpio.d27: depends_on: pico_gpio filter: ( dt_nodelabel_enabled("grove_a1_header") or @@ -552,6 +1036,13 @@ tests: dt_nodelabel_enabled("grove_d27_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d27", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d27 + grove.rpipico.v1.grove_btn.gpio.d27.inv: + depends_on: pico_gpio + filter: ( dt_nodelabel_enabled("grove_a1_header") or + dt_nodelabel_enabled("grove_a0_header") or + dt_nodelabel_enabled("grove_d27_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d27", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d27_inv grove.rpipico.v1.grove_btn.gpio.d28: depends_on: pico_gpio filter: ( dt_nodelabel_enabled("grove_a2_header") or @@ -559,6 +1050,13 @@ tests: dt_nodelabel_enabled("grove_d28_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d28", "gpio-keys") extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d28 + grove.rpipico.v1.grove_btn.gpio.d28.inv: + depends_on: pico_gpio + filter: ( dt_nodelabel_enabled("grove_a2_header") or + dt_nodelabel_enabled("grove_a1_header") or + dt_nodelabel_enabled("grove_d28_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d28", "gpio-keys") + extra_args: SHIELD=seeed_grove_rpipico_v1;grove_btn_d28_inv # # Grove Button by simple GPIO on Grove Connectors # @@ -568,6 +1066,12 @@ tests: dt_nodelabel_enabled("grove_uart_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") extra_args: SHIELD=grove_btn_d0 + grove.connectors.grove_btn.gpio.d0.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d0_header") or + dt_nodelabel_enabled("grove_uart_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d0", "gpio-keys") + extra_args: SHIELD=grove_btn_d0_inv grove.connectors.grove_btn.gpio.d1: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d1_header") or @@ -575,6 +1079,13 @@ tests: dt_nodelabel_enabled("grove_uart_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") extra_args: SHIELD=grove_btn_d1 + grove.connectors.grove_btn.gpio.d1.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d1_header") or + dt_nodelabel_enabled("grove_d0_header") or + dt_nodelabel_enabled("grove_uart_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d1", "gpio-keys") + extra_args: SHIELD=grove_btn_d1_inv grove.connectors.grove_btn.gpio.d2: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d2_header") or @@ -584,6 +1095,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d2.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d2_header") or + dt_nodelabel_enabled("grove_d1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d2", "gpio-keys") + extra_args: SHIELD=grove_btn_d2_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d3: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d3_header") or @@ -593,6 +1113,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d3.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d3_header") or + dt_nodelabel_enabled("grove_d2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d3", "gpio-keys") + extra_args: SHIELD=grove_btn_d3_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d4: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d4_header") or @@ -602,6 +1131,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d4.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d4_header") or + dt_nodelabel_enabled("grove_d3_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d4", "gpio-keys") + extra_args: SHIELD=grove_btn_d4_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d5: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d5_header") or @@ -611,6 +1149,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d5.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d5_header") or + dt_nodelabel_enabled("grove_d4_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d5", "gpio-keys") + extra_args: SHIELD=grove_btn_d5_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d6: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d6_header") or @@ -620,6 +1167,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d6.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d6_header") or + dt_nodelabel_enabled("grove_d5_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d6", "gpio-keys") + extra_args: SHIELD=grove_btn_d6_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d7: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d7_header") or @@ -629,6 +1185,15 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d7.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d7_header") or + dt_nodelabel_enabled("grove_d6_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d7", "gpio-keys") + extra_args: SHIELD=grove_btn_d7_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d8: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d8_header") or @@ -637,6 +1202,14 @@ tests: extra_args: SHIELD=grove_btn_d8 platform_allow: - seeeduino_lotus + grove.connectors.grove_btn.gpio.d8.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d8_header") or + dt_nodelabel_enabled("grove_d7_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d8", "gpio-keys") + extra_args: SHIELD=grove_btn_d8_inv + platform_allow: + - seeeduino_lotus grove.connectors.grove_btn.gpio.d9: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d9_header") or @@ -644,6 +1217,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") extra_args: SHIELD=grove_btn_d9 skip: true + grove.connectors.grove_btn.gpio.d9.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d9_header") or + dt_nodelabel_enabled("grove_d8_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d9", "gpio-keys") + extra_args: SHIELD=grove_btn_d9_inv + skip: true grove.connectors.grove_btn.gpio.d10: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d10_header") or @@ -651,6 +1231,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") extra_args: SHIELD=grove_btn_d10 skip: true + grove.connectors.grove_btn.gpio.d10.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d10_header") or + dt_nodelabel_enabled("grove_d9_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d10", "gpio-keys") + extra_args: SHIELD=grove_btn_d10_inv + skip: true grove.connectors.grove_btn.gpio.d11: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d11_header") or @@ -658,6 +1245,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d11", "gpio-keys") extra_args: SHIELD=grove_btn_d11 skip: true + grove.connectors.grove_btn.gpio.d11.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d11_header") or + dt_nodelabel_enabled("grove_d10_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d11", "gpio-keys") + extra_args: SHIELD=grove_btn_d11_inv + skip: true grove.connectors.grove_btn.gpio.d12: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d12_header") or @@ -665,6 +1259,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d12", "gpio-keys") extra_args: SHIELD=grove_btn_d12 skip: true + grove.connectors.grove_btn.gpio.d12.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d12_header") or + dt_nodelabel_enabled("grove_d11_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d12", "gpio-keys") + extra_args: SHIELD=grove_btn_d12_inv + skip: true grove.connectors.grove_btn.gpio.d13: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d13_header") or @@ -672,6 +1273,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d13", "gpio-keys") extra_args: SHIELD=grove_btn_d13 skip: true + grove.connectors.grove_btn.gpio.d13.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d13_header") or + dt_nodelabel_enabled("grove_d12_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d13", "gpio-keys") + extra_args: SHIELD=grove_btn_d13_inv + skip: true grove.connectors.grove_btn.gpio.d14: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d14_header") or @@ -682,6 +1290,16 @@ tests: platform_allow: - cytron_maker_nano_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d14.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d14_header") or + dt_nodelabel_enabled("grove_d13_header") or + dt_nodelabel_enabled("grove_a0_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d14", "gpio-keys") + extra_args: SHIELD=grove_btn_d14_inv + platform_allow: + - cytron_maker_nano_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d15: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d15_header") or @@ -693,6 +1311,17 @@ tests: platform_allow: - cytron_maker_nano_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d15.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d15_header") or + dt_nodelabel_enabled("grove_d14_header") or + dt_nodelabel_enabled("grove_a1_header") or + dt_nodelabel_enabled("grove_a0_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d15", "gpio-keys") + extra_args: SHIELD=grove_btn_d15_inv + platform_allow: + - cytron_maker_nano_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d16: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d16_header") or @@ -704,6 +1333,17 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d16.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d16_header") or + dt_nodelabel_enabled("grove_d15_header") or + dt_nodelabel_enabled("grove_a2_header") or + dt_nodelabel_enabled("grove_a1_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d16", "gpio-keys") + extra_args: SHIELD=grove_btn_d16_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d17: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d17_header") or @@ -715,6 +1355,17 @@ tests: platform_allow: - cytron_maker_pi_rp2040 - seeeduino_lotus + grove.connectors.grove_btn.gpio.d17.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d17_header") or + dt_nodelabel_enabled("grove_d16_header") or + dt_nodelabel_enabled("grove_a3_header") or + dt_nodelabel_enabled("grove_a2_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d17", "gpio-keys") + extra_args: SHIELD=grove_btn_d17_inv + platform_allow: + - cytron_maker_pi_rp2040 + - seeeduino_lotus grove.connectors.grove_btn.gpio.d18: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d18_header") or @@ -722,6 +1373,13 @@ tests: dt_nodelabel_enabled("grove_a4_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d18", "gpio-keys") extra_args: SHIELD=grove_btn_d18 + grove.connectors.grove_btn.gpio.d18.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d18_header") or + dt_nodelabel_enabled("grove_i2c_header") or + dt_nodelabel_enabled("grove_a4_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d18", "gpio-keys") + extra_args: SHIELD=grove_btn_d18_inv grove.connectors.grove_btn.gpio.d19: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d19_header") or @@ -729,6 +1387,13 @@ tests: dt_nodelabel_enabled("grove_a5_header") ) and dt_label_with_parent_compat_enabled("grove_btn_d19", "gpio-keys") extra_args: SHIELD=grove_btn_d19 + grove.connectors.grove_btn.gpio.d19.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d19_header") or + dt_nodelabel_enabled("grove_i2c_header") or + dt_nodelabel_enabled("grove_a5_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d19", "gpio-keys") + extra_args: SHIELD=grove_btn_d19_inv grove.connectors.grove_btn.gpio.d20: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d20_header") or @@ -736,6 +1401,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d20", "gpio-keys") extra_args: SHIELD=grove_btn_d20 skip: true + grove.connectors.grove_btn.gpio.d20.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d20_header") or + dt_nodelabel_enabled("grove_a6_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d20", "gpio-keys") + extra_args: SHIELD=grove_btn_d20_inv + skip: true grove.connectors.grove_btn.gpio.d21: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d21_header") or @@ -743,6 +1415,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d21", "gpio-keys") extra_args: SHIELD=grove_btn_d21 skip: true + grove.connectors.grove_btn.gpio.d21.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d21_header") or + dt_nodelabel_enabled("grove_d20_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d21", "gpio-keys") + extra_args: SHIELD=grove_btn_d21_inv + skip: true grove.connectors.grove_btn.gpio.d22: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d22_header") or @@ -750,6 +1429,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d22", "gpio-keys") extra_args: SHIELD=grove_btn_d22 skip: true + grove.connectors.grove_btn.gpio.d22.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d22_header") or + dt_nodelabel_enabled("grove_d21_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d22", "gpio-keys") + extra_args: SHIELD=grove_btn_d22_inv + skip: true grove.connectors.grove_btn.gpio.d23: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d23_header") or @@ -757,6 +1443,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d23", "gpio-keys") extra_args: SHIELD=grove_btn_d23 skip: true + grove.connectors.grove_btn.gpio.d23.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d23_header") or + dt_nodelabel_enabled("grove_d22_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d23", "gpio-keys") + extra_args: SHIELD=grove_btn_d23_inv + skip: true grove.connectors.grove_btn.gpio.d24: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d24_header") or @@ -764,6 +1457,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d24", "gpio-keys") extra_args: SHIELD=grove_btn_d24 skip: true + grove.connectors.grove_btn.gpio.d24.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d24_header") or + dt_nodelabel_enabled("grove_d23_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d24", "gpio-keys") + extra_args: SHIELD=grove_btn_d24_inv + skip: true grove.connectors.grove_btn.gpio.d25: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d25_header") or @@ -771,6 +1471,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d25", "gpio-keys") extra_args: SHIELD=grove_btn_d25 skip: true + grove.connectors.grove_btn.gpio.d25.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d25_header") or + dt_nodelabel_enabled("grove_d24_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d25", "gpio-keys") + extra_args: SHIELD=grove_btn_d25_inv + skip: true grove.connectors.grove_btn.gpio.d26: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d26_header") or @@ -779,6 +1486,14 @@ tests: extra_args: SHIELD=grove_btn_d26 platform_allow: - cytron_maker_pi_rp2040 + grove.connectors.grove_btn.gpio.d26.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d26_header") or + dt_nodelabel_enabled("grove_d25_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d26", "gpio-keys") + extra_args: SHIELD=grove_btn_d26_inv + platform_allow: + - cytron_maker_pi_rp2040 grove.connectors.grove_btn.gpio.d27: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d27_header") or @@ -787,6 +1502,14 @@ tests: extra_args: SHIELD=grove_btn_d27 platform_allow: - cytron_maker_pi_rp2040 + grove.connectors.grove_btn.gpio.d27.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d27_header") or + dt_nodelabel_enabled("grove_d26_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d27", "gpio-keys") + extra_args: SHIELD=grove_btn_d27_inv + platform_allow: + - cytron_maker_pi_rp2040 grove.connectors.grove_btn.gpio.d28: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d28_header") or @@ -795,6 +1518,14 @@ tests: extra_args: SHIELD=grove_btn_d28 platform_allow: - cytron_maker_pi_rp2040 + grove.connectors.grove_btn.gpio.d28.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d28_header") or + dt_nodelabel_enabled("grove_d27_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d28", "gpio-keys") + extra_args: SHIELD=grove_btn_d28_inv + platform_allow: + - cytron_maker_pi_rp2040 grove.connectors.grove_btn.gpio.d29: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d29_header") or @@ -802,6 +1533,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d29", "gpio-keys") extra_args: SHIELD=grove_btn_d29 skip: true + grove.connectors.grove_btn.gpio.d29.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d29_header") or + dt_nodelabel_enabled("grove_d28_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d29", "gpio-keys") + extra_args: SHIELD=grove_btn_d29_inv + skip: true grove.connectors.grove_btn.gpio.d30: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d30_header") or @@ -809,6 +1547,13 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d30", "gpio-keys") extra_args: SHIELD=grove_btn_d30 skip: true + grove.connectors.grove_btn.gpio.d30.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d30_header") or + dt_nodelabel_enabled("grove_d29_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d30", "gpio-keys") + extra_args: SHIELD=grove_btn_d30_inv + skip: true grove.connectors.grove_btn.gpio.d31: depends_on: grove_gpio filter: ( dt_nodelabel_enabled("grove_d31_header") or @@ -816,3 +1561,10 @@ tests: dt_label_with_parent_compat_enabled("grove_btn_d31", "gpio-keys") extra_args: SHIELD=grove_btn_d31 skip: true + grove.connectors.grove_btn.gpio.d31.inv: + depends_on: grove_gpio + filter: ( dt_nodelabel_enabled("grove_d31_header") or + dt_nodelabel_enabled("grove_d30_header") ) and + dt_label_with_parent_compat_enabled("grove_btn_d31", "gpio-keys") + extra_args: SHIELD=grove_btn_d31_inv + skip: true