tests: drivers: STM32: Enabling ADC tests for nucleo_h7a3zi_q

This commit enables test_adc to build and run for this new board

Signed-off-by: Manojkumar Subramaniam <manoj@electrolance.com>
This commit is contained in:
Manojkumar Subramaniam 2021-10-14 13:58:12 +08:00 committed by Anas Nashif
commit 0757678514

View file

@ -235,7 +235,8 @@
#define ADC_1ST_CHANNEL_ID 15
#elif defined(CONFIG_BOARD_NUCLEO_H743ZI) || \
defined(CONFIG_BOARD_NUCLEO_H753ZI)
defined(CONFIG_BOARD_NUCLEO_H753ZI) || \
defined(CONFIG_BOARD_NUCLEO_H7A3ZI_Q)
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, st_stm32_adc))
#define ADC_RESOLUTION 16
#define ADC_GAIN ADC_GAIN_1