Commit 096468e7 authored by Neil Chen's avatar Neil Chen Committed by Benjamin Cabé
Browse files

samples: sensor/mcux_lpcmp: Add LPCMP use case

Enable LPCMP use case on NXP frdm_mcxa153 board.

Signed-off-by: default avatarNeil Chen <cheng.chen_1@nxp.com>
parent 33e88b07
Loading
Loading
Loading
Loading
+11 −0
Changes for samples/sensor/mcux_lpcmp/README.rst: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -57,3 +57,14 @@ LPCMP positive input port voltage by changing the voltage input to J2-9.
   :board: frdm_mcxa156
   :goals: build flash
   :compact:

Building and Running for NXP FRDM-MCXA153
=========================================
Build the application for the :zephyr:board:`frdm_mcxa153` 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_mcxa153
   :goals: build flash
   :compact:
+9 −0
Changes for samples/sensor/mcux_lpcmp/boards/frdm_mcxa153.overlay: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
/*
 * Copyright 2025 NXP
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&lpcmp0 {
	function-clock = "CMP_CLOCK";
};
+1 −0
Changes for samples/sensor/mcux_lpcmp/sample.yaml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ common:
    - mcx_n9xx_evk/mcxn947/cpu0
    - frdm_mcxn236
    - frdm_mcxa156
    - frdm_mcxa153
  integration_platforms:
    - frdm_mcxn947/mcxn947/cpu0
    - frdm_mcxn236