Skip to content

Commit c7397f7

Browse files
sarthsmartnashif
authored andcommitted
samples: drivers: nucleo_l552ze_q: Configuring DAC application
This commit configures DAC sample application using overlay to build and run on nucleo_l552ze_q platform. This has been tested in nucleo_l552ze_q platform. Signed-off-by: Sidhdharth Yadav <[email protected]>
1 parent d1c692a commit c7397f7

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
@@ -83,6 +83,17 @@ The sample can be built and executed for the
8383
:goals: build flash
8484
:compact:
8585

86+
Building and Running for ST Nucleo L552ZE Q
87+
===========================================
88+
The sample can be built and executed for the
89+
:ref:`nucleo_l552ze_q_board` as follows:
90+
91+
.. zephyr-app-commands::
92+
:zephyr-app: samples/drivers/dac
93+
:board: nucleo_l552ze_q
94+
:goals: build flash
95+
:compact:
96+
8697
Building and Running for NXP TWR-KE18F
8798
======================================
8899
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 stm32l562e_dk
9+
bl653_dvk bl654_dvk bl5340_dvk_cpuapp stm32f3_disco stm32l562e_dk nucleo_l552ze_q
1010
depends_on: dac
1111
harness: console
1212
harness_config:

0 commit comments

Comments
 (0)