Commit 8ce99a86 authored by Sidhdharth Yadav's avatar Sidhdharth Yadav Committed by Carles Cufi
Browse files

samples/drivers: nucleo_f767zi: Enable DAC sample application.



This commit enables DAC sample application for nucleo_f767zi.

Signed-off-by: default avatarSidhdharth Yadav <sidhdharth.yadav@hcl.com>
parent ffd89a03
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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:
+2 −1
Original line number Diff line number Diff line
@@ -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