Skip to content

Commit 096468e

Browse files
NeilChen93kartben
authored andcommitted
samples: sensor/mcux_lpcmp: Add LPCMP use case
Enable LPCMP use case on NXP frdm_mcxa153 board. Signed-off-by: Neil Chen <[email protected]>
1 parent 33e88b0 commit 096468e

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

samples/sensor/mcux_lpcmp/README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,14 @@ LPCMP positive input port voltage by changing the voltage input to J2-9.
5757
:board: frdm_mcxa156
5858
:goals: build flash
5959
:compact:
60+
61+
Building and Running for NXP FRDM-MCXA153
62+
=========================================
63+
Build the application for the :zephyr:board:`frdm_mcxa153` board, and adjust the
64+
LPCMP positive input port voltage by changing the voltage input to J2-9.
65+
66+
.. zephyr-app-commands::
67+
:zephyr-app: samples/sensor/mcux_lpcmp
68+
:board: frdm_mcxa153
69+
:goals: build flash
70+
:compact:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&lpcmp0 {
8+
function-clock = "CMP_CLOCK";
9+
};

samples/sensor/mcux_lpcmp/sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ common:
77
- mcx_n9xx_evk/mcxn947/cpu0
88
- frdm_mcxn236
99
- frdm_mcxa156
10+
- frdm_mcxa153
1011
integration_platforms:
1112
- frdm_mcxn947/mcxn947/cpu0
1213
- frdm_mcxn236

0 commit comments

Comments
 (0)