File tree 2 files changed +12
-1
lines changed
tests/drivers/pwm/pwm_api
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 32
32
#include <zephyr.h>
33
33
#include <ztest.h>
34
34
35
+ #ifdef CONFIG_PWM_QMSI_DEV_NAME
35
36
#define PWM_DEV_NAME CONFIG_PWM_QMSI_DEV_NAME
37
+ #elif defined CONFIG_BOARD_COLIBRI_IMX7D_M4
38
+ #define PWM_DEV_NAME PWM_1_LABEL
39
+ #endif
36
40
41
+ #ifdef CONFIG_BOARD_COLIBRI_IMX7D_M4
42
+ #define DEFAULT_PERIOD_CYCLE 1024
43
+ #define DEFAULT_PULSE_CYCLE 512
44
+ #define DEFAULT_PERIOD_USEC 2000
45
+ #define DEFAULT_PULSE_USEC 500
46
+ #else
37
47
#define DEFAULT_PERIOD_CYCLE 64000
38
48
#define DEFAULT_PULSE_CYCLE 32000
39
49
#define DEFAULT_PERIOD_USEC 2000
40
50
#define DEFAULT_PULSE_USEC 1000
51
+ #endif
41
52
42
53
#ifdef CONFIG_BOARD_QUARK_D2000_CRB
43
54
#include <pinmux.h>
Original file line number Diff line number Diff line change 2
2
peripheral.pwm :
3
3
# FIXME: We should remove those and just rely on depends_on
4
4
platform_whitelist : quark_se_c1000_devboard quark_se_c1000_ss_devboard
5
- arduino_101 arduino_101_sss
5
+ arduino_101 arduino_101_sss colibri_imx7d_m4
6
6
tags : drivers pwm
7
7
depends_on : pwm
You can’t perform that action at this time.
0 commit comments