samples: drivers: stm32l562e_dk: Configuring DAC application

This commit configures DAC sample application using overlay to
build and run on stm32l562e_dk platform.

This has been tested in stm32l562e_dk platform.

Signed-off-by: Sidhdharth Yadav <sidhdharth.yadav@hcl.com>
This commit is contained in:
Sidhdharth Yadav 2021-06-28 15:24:39 +05:30 committed by Anas Nashif
commit d1c692afe7
3 changed files with 19 additions and 1 deletions

View file

@ -72,6 +72,17 @@ The sample can be built and executed for the
:goals: build flash
:compact:
Building and Running for STM32L562E DK
======================================
The sample can be built and executed for the
:ref:`stm32l562e_dk_board` as follows:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/dac
:board: stm32l562e_dk
: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

@ -0,0 +1,7 @@
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};

View file

@ -6,7 +6,7 @@ tests:
platform_allow: |
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi nucleo_f429zi bl652_dvk
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk
depends_on: dac
harness: console
harness_config: