Skip to content

Commit 348fa78

Browse files
committed
tests: drivers: pwm: pwm_api: Update native_posix ifdef check
Updates the ifdef check to match renamed board Kconfigs. Signed-off-by: Jamie McCrae <[email protected]>
1 parent 13fe183 commit 348fa78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/drivers/pwm/pwm_api/src/test_pwm.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,17 @@
6464
#define DEFAULT_PULSE_NSEC 1000000
6565
#endif
6666

67-
#if defined CONFIG_BOARD_SAM_E70_XPLAINED
67+
#if defined(CONFIG_BOARD_SAM_E70_XPLAINED) || \
68+
defined(CONFIG_BOARD_SAM_E70B_XPLAINED)
6869
#define DEFAULT_PWM_PORT 2 /* PWM on EXT2 connector, pin 8 */
6970
#elif defined CONFIG_PWM_NRFX
7071
#define DEFAULT_PWM_PORT DT_PROP(DT_ALIAS(pwm_0), ch0_pin)
7172
#elif defined CONFIG_BOARD_ADAFRUIT_ITSYBITSY_M4_EXPRESS
7273
#define DEFAULT_PWM_PORT 2 /* TCC1/WO[2] on PA18 (D7) */
73-
#elif defined CONFIG_BOARD_MIMXRT685_EVK
74+
#elif defined CONFIG_BOARD_MIMXRT685_EVK_CM33
7475
#define DEFAULT_PWM_PORT 7 /* D3 on Arduino connector J27 */
75-
#elif defined CONFIG_BOARD_LPCXPRESSO55S69_CPU0
76+
#elif defined(CONFIG_BOARD_LPCXPRESSO55S69_CPU0) || \
77+
defined(CONFIG_BOARD_LPCXPRESSO55S69_NS)
7678
#define DEFAULT_PWM_PORT 2 /* D2 on Arduino connector P18 */
7779
#elif DT_HAS_COMPAT_STATUS_OKAY(st_stm32_pwm)
7880
/* Default port should be adapted per board to fit the channel

0 commit comments

Comments
 (0)