drivers/dac: stm32: Adding DAC driver for nucleo_f767zi

Adding DAC driver for STM32 based nucleo_f767zi platform.

Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
Sidhdharth Yadav 2021-03-11 06:45:44 -08:00 committed by Carles Cufí
commit ffd89a03b6
2 changed files with 3 additions and 2 deletions

View file

@ -10,7 +10,8 @@
#include <ztest.h>
#if defined(CONFIG_BOARD_NUCLEO_L073RZ) || \
defined(CONFIG_BOARD_NUCLEO_L152RE)
defined(CONFIG_BOARD_NUCLEO_L152RE) || \
defined(CONFIG_BOARD_NUCLEO_F767ZI)
#define DAC_DEVICE_NAME DT_LABEL(DT_NODELABEL(dac1))
#define DAC_CHANNEL_ID 1

View file

@ -2,5 +2,5 @@ common:
tags: dac drivers userspace
tests:
drivers.dac:
platform_allow: frdm_k22f frdm_k64f nucleo_l073rz nucleo_l152re twr_ke18f
platform_allow: frdm_k22f frdm_k64f nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi
depends_on: dac