Skip to content

Commit 47ef17e

Browse files
committed
samples: dac: Enable dac sample on mimxrt1180_evk
Enable dac sample on mimxrt1180_evk Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent 01bf75d commit 47ef17e

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

samples/drivers/dac/README.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,25 @@ follows:
222222

223223
DAC output is available on connector J12 pin 4.
224224

225+
Building and Running for MIMXRT1180-EVK
226+
=======================================
227+
The sample can be built and executed for the :zephyr:board:`MIMXRT1180-EVK` as
228+
follows:
229+
230+
.. zephyr-app-commands::
231+
:zephyr-app: samples/drivers/dac
232+
:board: mimxrt1180_evk/mimxrt1189/cm33
233+
:goals: flash
234+
:compact:
235+
236+
.. zephyr-app-commands::
237+
:zephyr-app: samples/drivers/dac
238+
:board: mimxrt1180_evk/mimxrt1189/cm7
239+
:goals: flash
240+
:compact:
241+
242+
Connect J10 pin 1-2., the DAC output is available on TP9.
243+
225244
Sample output
226245
=============
227246

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
zephyr,user {
9+
dac = <&dac>;
10+
dac-channel-id = <0>;
11+
dac-resolution = <12>;
12+
};
13+
};
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
zephyr,user {
9+
dac = <&dac>;
10+
dac-channel-id = <0>;
11+
dac-resolution = <12>;
12+
};
13+
};

0 commit comments

Comments
 (0)