tests: drivers: adc: Add support to samv71 soc

Add sam_v71_xult board conf to enable adc driver tests for samv71 soc.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2019-12-14 17:02:57 -03:00 committed by Anas Nashif
commit 62cda9532c
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,3 @@
CONFIG_ADC=y
CONFIG_ADC_SAM_AFEC=y
CONFIG_ADC_0=y

View file

@ -105,7 +105,8 @@
#define ADC_ACQUISITION_TIME ADC_ACQ_TIME_DEFAULT
#define ADC_1ST_CHANNEL_ID 1
#elif defined(CONFIG_BOARD_SAM_E70_XPLAINED)
#elif defined(CONFIG_BOARD_SAM_E70_XPLAINED) || \
defined(CONFIG_BOARD_SAM_V71_XULT)
#define ADC_DEVICE_NAME DT_ADC_0_NAME
#define ADC_RESOLUTION 12