Skip to content

Commit 2880f45

Browse files
IVandeVeirecarlescufi
authored andcommitted
test: drivers: dac: Add support for SAM4S soc
Add support for sam4s_xplained board in dac_api test. Signed-off-by: Ibe Van de Veire <ibe.vandeveire@basalte.be>
1 parent d723d99 commit 2880f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/drivers/dac/dac_api/src/test_dac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
#define DAC_RESOLUTION 12
8686
#define DAC_CHANNEL_ID 0
8787

88-
#elif defined(CONFIG_BOARD_SAM_E70_XPLAINED) || \
89-
defined(CONFIG_BOARD_SAM_V71_XULT)
88+
#elif defined(CONFIG_SOC_FAMILY_ATMEL_SAM) && \
89+
!defined(CONFIG_SOC_SERIES_SAM4L)
9090

9191
#define DAC_DEVICE_NODE DT_NODELABEL(dacc)
9292
#define DAC_RESOLUTION 12

0 commit comments

Comments
 (0)