samples/drivers: nucleo_f767zi: Enable DAC sample application.

This commit enables DAC sample application for nucleo_f767zi.

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

View file

@ -35,6 +35,17 @@ The sample can be built and executed for the
:goals: build flash
:compact:
Building and Running for ST Nucleo F767ZI
=========================================
The sample can be built and executed for the
:ref:`nucleo_f767zi_board` as follows:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/dac
:board: nucleo_f767zi
:goals: build flash
:compact:
Building and Running for NXP TWR-KE18F
======================================
The sample can be built and executed for the :ref:`twr_ke18f` as

View file

@ -5,7 +5,7 @@ tests:
tags: DAC
platform_allow: |
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
nucleo_l073rz nucleo_l152re twr_ke18f
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi
depends_on: dac
harness: console
harness_config:

View file

@ -12,7 +12,8 @@
defined(CONFIG_BOARD_NUCLEO_G071RB) || \
defined(CONFIG_BOARD_NUCLEO_G431RB) || \
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
#define DAC_RESOLUTION 12