Skip to content

Commit 0757678

Browse files
manoj153nashif
authored andcommitted
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 <[email protected]>
1 parent 4c54e23 commit 0757678

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/drivers/adc/adc_api/src/test_adc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@
235235
#define ADC_1ST_CHANNEL_ID 15
236236

237237
#elif defined(CONFIG_BOARD_NUCLEO_H743ZI) || \
238-
defined(CONFIG_BOARD_NUCLEO_H753ZI)
238+
defined(CONFIG_BOARD_NUCLEO_H753ZI) || \
239+
defined(CONFIG_BOARD_NUCLEO_H7A3ZI_Q)
239240
#define ADC_DEVICE_NAME DT_LABEL(DT_INST(0, st_stm32_adc))
240241
#define ADC_RESOLUTION 16
241242
#define ADC_GAIN ADC_GAIN_1

0 commit comments

Comments
 (0)