Skip to content

Commit 215571a

Browse files
ycsincarlescufi
authored andcommitted
tests: drivers: build_all: Build MHZ19B
Include MH-Z19B in the build all test. Signed-off-by: Yong Cong Sin <[email protected]>
1 parent 26f7b9c commit 215571a

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

tests/drivers/build_all/sensor/app.overlay

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
122122
reg = <0x55556666 0x1000>;
123123
label = "TEST_UART_CTLR";
124124
status = "okay";
125+
126+
#include "uart.dtsi"
125127
};
126128

127129
dht22 {

tests/drivers/build_all/sensor/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,4 @@ CONFIG_VL53L0X=y
102102
CONFIG_INA23X=y
103103
CONFIG_INA230=y
104104
CONFIG_INA237=y
105+
CONFIG_MHZ19B=y
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (c) 2021, G-Technologies Sdn. Bhd.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
6+
* Application overlay for uart devices
7+
*/
8+
9+
test_uart_mhz19b {
10+
compatible = "winsen,mhz19b";
11+
maximum-range = <10000>;
12+
abc-on;
13+
label = "MHZ19B";
14+
};

0 commit comments

Comments
 (0)