samples: sensor/mcux_lpcmp: Add LPCMP use case
Enable LPCMP use case on NXP frdm_mcxn236 board. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
parent
9b532e3e7a
commit
482d5182aa
|
@ -35,3 +35,14 @@ LPCMP positive input port voltage by changing the voltage input to J2-17.
|
|||
:board: frdm_mcxn947//cpu0
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
||||
Building and Running for NXP FRDM-MCXN236
|
||||
=========================================
|
||||
Build the application for the :ref:`frdm_mcxn236` board, and adjust the
|
||||
LPCMP positive input port voltage by changing the voltage input to J2-8.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/sensor/mcux_lpcmp
|
||||
:board: frdm_mcxn236
|
||||
:goals: build flash
|
||||
:compact:
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright 2024 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&lpcmp0 {
|
||||
function-clock = "CMP_CLOCK";
|
||||
};
|
|
@ -4,8 +4,10 @@ sample:
|
|||
common:
|
||||
platform_allow:
|
||||
- frdm_mcxn947/mcxn947/cpu0
|
||||
- frdm_mcxn236
|
||||
integration_platforms:
|
||||
- frdm_mcxn947/mcxn947/cpu0
|
||||
- frdm_mcxn236
|
||||
tags:
|
||||
- drivers
|
||||
- sensor
|
||||
|
|
Loading…
Reference in New Issue