Skip to content

Commit

Permalink
samples: sensor: Enable bme280 sensor using I2C driver for alder_lake
Browse files Browse the repository at this point in the history
Added overlay and conf to enable bme280 sensor
using i2c on intel_adl_crb board.

Signed-off-by: Bindu S <[email protected]>
  • Loading branch information
bindushree98 authored and MaureenHelm committed Sep 1, 2023
1 parent 21090f9 commit 18e9860
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/x86/intel_adl/intel_adl_crb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ supported:
- pwm
- gpio
- rtc
- i2c
testing:
timeout_multiplier: 4
ignore_tags:
Expand Down
13 changes: 13 additions & 0 deletions samples/sensor/bme280/boards/intel_adl_crb.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Copyright (c) 2023 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/

&i2c0 {
bme280@76 {
compatible = "bosch,bme280";
reg = <0x76>;
status = "okay";
};
};

0 comments on commit 18e9860

Please sign in to comment.