Skip to content

Commit d1c692a

Browse files
sarthsmartnashif
authored andcommitted
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 <[email protected]>
1 parent 58153cb commit d1c692a

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

samples/drivers/dac/README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ The sample can be built and executed for the
7272
:goals: build flash
7373
:compact:
7474

75+
Building and Running for STM32L562E DK
76+
======================================
77+
The sample can be built and executed for the
78+
:ref:`stm32l562e_dk_board` as follows:
79+
80+
.. zephyr-app-commands::
81+
:zephyr-app: samples/drivers/dac
82+
:board: stm32l562e_dk
83+
:goals: build flash
84+
:compact:
85+
7586
Building and Running for NXP TWR-KE18F
7687
======================================
7788
The sample can be built and executed for the :ref:`twr_ke18f` as
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/ {
2+
zephyr,user {
3+
dac = <&dac1>;
4+
dac-channel-id = <1>;
5+
dac-resolution = <12>;
6+
};
7+
};

samples/drivers/dac/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ tests:
66
platform_allow: |
77
arduino_zero frdm_k22f frdm_k64f nucleo_f091rc nucleo_g071rb nucleo_g431rb
88
nucleo_l073rz nucleo_l152re twr_ke18f nucleo_f767zi nucleo_f429zi bl652_dvk
9-
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco
9+
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk
1010
depends_on: dac
1111
harness: console
1212
harness_config:

0 commit comments

Comments
 (0)