samples: drivers: dac: Enable dac example on lpcxpresso55s36 board

Added overlay for lpcxpresso55s36, updated README.rst

Signed-off-by: Albort Xue <yao.xue@nxp.com>
This commit is contained in:
Albort Xue 2023-09-07 16:40:24 +08:00 committed by Carles Cufí
commit f5220bd5d1
3 changed files with 27 additions and 0 deletions

View file

@ -209,6 +209,19 @@ also can run for the
:goals: build flash
:compact:
Building and Running for NXP LPCXpresso55S36
============================================
The sample can be built and executed for the :ref:`lpcxpresso55s36` as
follows:
.. zephyr-app-commands::
:zephyr-app: samples/drivers/dac
:board: lpcxpresso55s36
:goals: build flash
:compact:
DAC output is available on connector J12 pin 4.
Sample output
=============

View file

@ -0,0 +1,13 @@
/*
* Copyright 2023 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
zephyr,user {
dac = <&dac0>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};

View file

@ -42,6 +42,7 @@ tests:
- stm32f3_disco
- stm32l562e_dk
- twr_ke18f
- lpcxpresso55s36
depends_on: dac
integration_platforms:
- nucleo_l152re