tests: drivers: pwm: add MAX31790
Add MAX31790 to the build all tests of PWM. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
44810b190c
commit
732b54d825
17
tests/drivers/build_all/pwm/max31790.overlay
Normal file
17
tests/drivers/build_all/pwm/max31790.overlay
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2023 SILA Embedded Solutions GmbH
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&arduino_i2c {
|
||||
status = "okay";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
|
||||
max31790_max31790: max31790@20 {
|
||||
compatible = "maxim,max31790";
|
||||
status = "okay";
|
||||
reg = <0x20>;
|
||||
pwm-controller;
|
||||
#pwm-cells = <2>;
|
||||
};
|
||||
};
|
|
@ -69,3 +69,7 @@ tests:
|
|||
drivers.pwm.build.test:
|
||||
platform_allow: qemu_cortex_m3
|
||||
tags: pwm_test
|
||||
drivers.pwm.max31790.build:
|
||||
platform_allow: nucleo_f429zi
|
||||
extra_args: DTC_OVERLAY_FILE=max31790.overlay
|
||||
tags: pwm_max31790
|
||||
|
|
Loading…
Reference in a new issue