tests: drivers: build_all: input: Add adc-keys
* so that it'll be built by the CI Signed-off-by: Chen Xingyu <hi@xingrz.me>
This commit is contained in:
parent
d181607f4e
commit
eaa492ab3e
|
@ -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>;
|
||||
|
|
|
@ -24,3 +24,7 @@ tests:
|
|||
extra_configs:
|
||||
- CONFIG_ADC=y
|
||||
- CONFIG_SETTINGS=y
|
||||
|
||||
drivers.input.adc_keys:
|
||||
extra_configs:
|
||||
- CONFIG_ADC=y
|
||||
|
|
Loading…
Reference in New Issue