Skip to content

Commit 7b6eff0

Browse files
committed
tests: build_all: pwm: Add a test to build each PWM driver
Add a tests that builds each PWM driver just once. Signed-off-by: Kumar Gala <[email protected]>
1 parent 7137969 commit 7b6eff0

File tree

2 files changed

+76
-1
lines changed

2 files changed

+76
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2021 Linaro Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pwt {
8+
status = "okay";
9+
};
Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,74 @@
11
common:
22
build_only: true
3-
tags: drivers
3+
tags: drivers pwm
44
tests:
5+
drivers.pwm.gecko.build:
6+
platform_allow: efr32_radio_brd4250b
7+
tags: pwm_gecko
8+
extra_args: "CONFIG_PWM_GECKO=y"
9+
drivers.pwm.imx.build:
10+
platform_allow: colibri_imx7d_m4
11+
tags: pwm_imx
12+
extra_args: "CONFIG_PWM_IMX=y"
13+
drivers.pwm.litex.build:
14+
platform_allow: litex_vexriscv
15+
tags: pwm_litex
16+
extra_args: "CONFIG_PWM_LITEX=y"
17+
drivers.pwm.mcux.ftm.build:
18+
platform_allow: frdm_k22f
19+
tags: pwm_mcux_ftm
20+
extra_args: "CONFIG_PWM_MCUX_FTM=y"
21+
drivers.pwm.mcux.pwt.build:
22+
platform_allow: twr_ke18f
23+
tags: pwm_mcux_pwt
24+
extra_args: "CONFIG_PWM_MCUX_PWT=y CONFIG_PWM_CAPTURE=y"
25+
drivers.pwm.mcux.ftm.build:
26+
platform_allow: frdm_kw41z
27+
tags: pwm_mcux_tpm
28+
extra_args: "CONFIG_PWM_MCUX_TPM=y"
29+
drivers.pwm.mcux.build:
30+
platform_allow: mimxrt1064_evk
31+
tags: pwm_mcux
32+
extra_args: "CONFIG_PWM_MCUX=y"
33+
drivers.pwm.rv32m1.tpm.build:
34+
platform_allow: rv32m1_vega_ri5cy
35+
tags: pwm_rv32m1_tpm
36+
extra_args: "CONFIG_PWM_RV32M1_TPM=y"
37+
drivers.pwm.sifive.build:
38+
platform_allow: hifive1_revb
39+
tags: pwm_sifive
40+
extra_args: "CONFIG_PWM_SIFIVE=y"
41+
drivers.pwm.npcx.build:
42+
platform_allow: npcx7m6fb_evb
43+
tags: pwm_npcx
44+
extra_args: "CONFIG_PWM_NPCX=y"
45+
drivers.pwm.nrf.sw.build:
46+
platform_allow: nrf51dk_nrf51422
47+
tags: pwm_nrf5_sw
48+
extra_args: "CONFIG_PWM_NRF5_SW=y"
49+
drivers.pwm.nrf.build:
50+
platform_allow: nrf52840dk_nrf52840
51+
tags: pwm_nrfx
52+
extra_args: "CONFIG_PWM_NRFX=y"
53+
drivers.pwm.sam0.tcc.build:
54+
platform_allow: atsame54_xpro
55+
tags: pwm_sam0_tcc
56+
extra_args: "CONFIG_PWM_SAM0_TCC=y"
57+
drivers.pwm.build.sam:
58+
platform_allow: sam_e70_xplained sam_v71b_xult
59+
tags: pwm_sam
60+
extra_configs:
61+
- CONFIG_PWM_SAM=y
62+
drivers.pwm.stm32.build:
63+
platform_allow: disco_l475_iot1
64+
tags: pwm_stm32
65+
extra_args: "CONFIG_PWM_STM32=y"
66+
drivers.pwm.xec.build:
67+
platform_allow: mec15xxevb_assy6853
68+
tags: pwm_xec
69+
extra_args: "CONFIG_PWM_XEC=y"
570
drivers.pwm.build.xlnx:
671
platform_allow: arty_a7_arm_designstart_m1
72+
tags: pwm_xlnx_axi_timer
773
extra_configs:
874
- CONFIG_PWM_XLNX_AXI_TIMER=y

0 commit comments

Comments
 (0)