samples: sensor: ccs811: Add board efr32mg_sltb004a
The ccs811 sensor is connected to exclusive i2c pins CCS811_I2C. Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
This commit is contained in:
parent
2872af1a93
commit
f00f434aea
2 changed files with 10 additions and 1 deletions
9
samples/sensor/ccs811/boards/efr32mg_sltb004a.overlay
Normal file
9
samples/sensor/ccs811/boards/efr32mg_sltb004a.overlay
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Christian Taedcke
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
};
|
|
@ -11,5 +11,5 @@ tests:
|
|||
sample.sensor.ccs811:
|
||||
harness: sensor
|
||||
tags: sensors
|
||||
platform_whitelist: thingy52_nrf52832
|
||||
platform_whitelist: thingy52_nrf52832 efr32mg_sltb004a
|
||||
depends_on: i2c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue