tests: dac: testing dac loopback on stm32f746zg board

This adds the config to PASS the tests/drivers/dac/dac_loopback
on the nucleo_f746zg board, when PA0 and PA4 are connected.
The DTS of the nucleo_f746zg defines the ADC1 ch0 and DAC1 ch1.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-07-20 14:38:52 +02:00 committed by Christopher Friedt
parent 0161c170b9
commit d6e1ddcc25
2 changed files with 3 additions and 2 deletions

View file

@ -50,7 +50,8 @@
#define ADC_ACQUISITION_TIME ADC_ACQ_TIME_DEFAULT
#elif defined(CONFIG_BOARD_NUCLEO_F207ZG) || \
defined(CONFIG_BOARD_NUCLEO_F429ZI)
defined(CONFIG_BOARD_NUCLEO_F429ZI) || \
defined(CONFIG_BOARD_NUCLEO_F746ZG)
/*
* DAC output on PA4
* ADC input read from PA0

View file

@ -9,4 +9,4 @@ tests:
platform_allow: |
frdm_k22f frdm_k64f nucleo_f207zg nucleo_l073rz nucleo_l152re twr_ke18f
bl652_dvk bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk
nucleo_l552ze_q nucleo_f429zi
nucleo_l552ze_q nucleo_f429zi nucleo_f746zg