samples: sensor/mcux_lpcmp: Add LPCMP use case
Enable LPCMP use case on NXP frdm_mcxa156 board. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
This commit is contained in:
parent
9535794017
commit
f6490bf33d
3 changed files with 21 additions and 0 deletions
|
@ -46,3 +46,14 @@ LPCMP positive input port voltage by changing the voltage input to J2-8.
|
||||||
:board: frdm_mcxn236
|
:board: frdm_mcxn236
|
||||||
:goals: build flash
|
:goals: build flash
|
||||||
:compact:
|
:compact:
|
||||||
|
|
||||||
|
Building and Running for NXP FRDM-MCXA156
|
||||||
|
=========================================
|
||||||
|
Build the application for the :zephyr:board:`frdm_mcxa156` board, and adjust the
|
||||||
|
LPCMP positive input port voltage by changing the voltage input to J2-9.
|
||||||
|
|
||||||
|
.. zephyr-app-commands::
|
||||||
|
:zephyr-app: samples/sensor/mcux_lpcmp
|
||||||
|
:board: frdm_mcxa156
|
||||||
|
:goals: build flash
|
||||||
|
:compact:
|
||||||
|
|
9
samples/sensor/mcux_lpcmp/boards/frdm_mcxa156.overlay
Normal file
9
samples/sensor/mcux_lpcmp/boards/frdm_mcxa156.overlay
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2024 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&lpcmp0 {
|
||||||
|
function-clock = "CMP_CLOCK";
|
||||||
|
};
|
|
@ -5,6 +5,7 @@ common:
|
||||||
platform_allow:
|
platform_allow:
|
||||||
- frdm_mcxn947/mcxn947/cpu0
|
- frdm_mcxn947/mcxn947/cpu0
|
||||||
- frdm_mcxn236
|
- frdm_mcxn236
|
||||||
|
- frdm_mcxa156
|
||||||
integration_platforms:
|
integration_platforms:
|
||||||
- frdm_mcxn947/mcxn947/cpu0
|
- frdm_mcxn947/mcxn947/cpu0
|
||||||
- frdm_mcxn236
|
- frdm_mcxn236
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue