tests: Modified ADC test for clicker 2

Modified the drivers.adc test to include the MikroE Clicker 2 board

Signed-off-by: Paul M. Bendixen <pbe@trifork.com>
This commit is contained in:
Paul M. Bendixen 2020-08-05 09:25:44 +02:00 committed by Carles Cufí
parent a888e925c3
commit e5d36db59c
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@
#elif defined(CONFIG_BOARD_NUCLEO_L476RG) || \
defined(CONFIG_BOARD_BLACKPILL_F411CE) || \
defined(CONFIG_BOARD_BLACKPILL_F401CE) || \
defined(CONFIG_BOARD_NUCLEO_L4R5ZI)
defined(CONFIG_BOARD_NUCLEO_L4R5ZI) || \
defined(CONFIG_BOARD_MIKROE_CLICKER_2)
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, st_stm32_adc))
#define ADC_RESOLUTION 10
#define ADC_GAIN ADC_GAIN_1