-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for Sensirion's SCD4x co2 sensor. (cherry picked from commit 2efc859) Original-Signed-off-by: Jan Faeh <jan.faeh@sensirion.com> GitOrigin-RevId: 2efc859 Cr-Build-Id: 8730847287260936497 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8730847287260936497 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Ie31b2952befca27c3b0535c46e50556a444e8a23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6035384 Reviewed-by: Tristan Honscheid <honscheid@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Tested-by: Tristan Honscheid <honscheid@google.com> Commit-Queue: Tristan Honscheid <honscheid@google.com>
- Loading branch information
Jan Faeh
authored and
Chromeos LUCI
committed
Nov 20, 2024
1 parent
ac396af
commit 175bf41
Showing
10 changed files
with
1,143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library() | ||
|
||
zephyr_library_sources(scd4x.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Drivers configuration options for Sensirion SCD4x | ||
|
||
# Copyright (c) 2024 Jan Fäh | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config SCD4X | ||
bool "SCD4x Carbon Dioxide Sensor" | ||
default y | ||
depends on DT_HAS_SENSIRION_SCD41_ENABLED || DT_HAS_SENSIRION_SCD40_ENABLED | ||
select I2C | ||
select CRC | ||
help | ||
Enable driver for the Sensirion SCD4x carbon dioxide sensors. |
Oops, something went wrong.