Commit eaa492ab authored by Chen Xingyu's avatar Chen Xingyu Committed by Fabio Baltieri
Browse files

tests: drivers: build_all: input: Add adc-keys



* so that it'll be built by the CI

Signed-off-by: default avatarChen Xingyu <hi@xingrz.me>
parent d181607f
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -33,6 +33,20 @@
			status = "okay";
		};

		adc-keys {
			compatible = "adc-keys";
			io-channels = <&test_adc 0>;
			keyup-threshold-mv = <0>;
			button_0 {
				press-thresholds-mv = <1500>, <1750>;
				zephyr,code = <0>;
			};
			button_1 {
				press-thresholds-mv = <2500>, <1750>;
				zephyr,code = <1>;
			};
		};

		gpio-keys {
			compatible = "gpio-keys";
			debounce-interval-ms = <30>;
+4 −0
Original line number Diff line number Diff line
@@ -24,3 +24,7 @@ tests:
    extra_configs:
      - CONFIG_ADC=y
      - CONFIG_SETTINGS=y

  drivers.input.adc_keys:
    extra_configs:
      - CONFIG_ADC=y