From 34076754792c1a0b435adfadbf23fb2383163694 Mon Sep 17 00:00:00 2001 From: Neil Chen Date: Fri, 29 Nov 2024 14:50:33 +0800 Subject: [PATCH] samples: drivers/dac: Support dac example for NXP frdm_mcxa156 Support dac example for NXP frdm_mcxa156 Signed-off-by: Neil Chen --- samples/drivers/dac/boards/frdm_mcxa156.overlay | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 samples/drivers/dac/boards/frdm_mcxa156.overlay diff --git a/samples/drivers/dac/boards/frdm_mcxa156.overlay b/samples/drivers/dac/boards/frdm_mcxa156.overlay new file mode 100644 index 00000000000..51ba129d8f9 --- /dev/null +++ b/samples/drivers/dac/boards/frdm_mcxa156.overlay @@ -0,0 +1,17 @@ +/* + * Copyright 2024 NXP + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + + /* + * Please note on the FRDM-MCXA156 board, DAC0 output signal port is J2-9. + */ + zephyr,user { + dac = <&dac0>; + dac-channel-id = <0>; + dac-resolution = <12>; + }; +};