Commit 45008f26 authored by Andrej Butok's avatar Andrej Butok Committed by Benjamin Cabé
Browse files

samples: tests: mimxrt1170_evk: avoid duplication in configuration

- Remove duplicated conf/.overlay configuration for
  mimmxrt1170_evk A and B revisions that have the same content.
- No change if .conf/.overlay have different content.

Signed-off-by: default avatarAndrej Butok <andrey.butok@nxp.com>
parent a97881fd
Loading
Loading
Loading
Loading
+0 −35
Changes for samples/drivers/adc/adc_dt/boards/mimxrt1170_evk_mimxrt1176_cm7_A.overlay: 0 added lines, 35 removed lines.
Original line number Diff line number Diff line
/*
 * SPDX-License-Identifier: Apache-2.0
 *
 * Copyright (c) 2020 Linaro Limited
 * Copyright 2023-2024 NXP
 */

#include <zephyr/dt-bindings/adc/mcux-lpadc.h>

/ {
	zephyr,user {
		/* adjust channel number according to pinmux in board.dts */
		io-channels = <&lpadc0 0>;
	};
};

&lpadc0 {
	#address-cells = <1>;
	#size-cells = <0>;

	/*
	 * To use this sample:
	 * - Connect LPADC0 CH0 signal to voltage between 0~1.8V (J9 pin 10)
	 */

	channel@0 {
		reg = <0>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_EXTERNAL0";
		zephyr,vref-mv = <1800>;
		zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_TICKS, 7)>;
		zephyr,resolution = <12>;
		zephyr,input-positive = <MCUX_LPADC_CH0A>;
	};
};
+0 −7
Changes for samples/drivers/display/boards/mimxrt1170_evk_mimxrt1176_cm7_B.conf: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
#
# Copyright 2023, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_HEAP_MEM_POOL_SIZE=64928
Loading