Skip to content

Commit bc5c075

Browse files
mmahadevan108nashif
authored andcommitted
samples: dac: Add overlay for FRDM MCXN947 qspi variant
- Add overlay for the FRDM MCXN947 qspi variant - Fix the overlay file name for the default variant Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent d5ae219 commit bc5c075

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0_qspi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ supported:
1919
- dma
2020
- gpio
2121
- spi
22+
- dac
2223
- i2c
2324
- watchdog
2425
- pwm
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright 2024 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
9+
/*
10+
* Please note on the FRDM-MCXN947 board, DAC0 output signal port is J1-4.
11+
*/
12+
zephyr,user {
13+
dac = <&dac0>;
14+
dac-channel-id = <0>;
15+
dac-resolution = <12>;
16+
};
17+
};

0 commit comments

Comments
 (0)