-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: sensor: icp101xx: Add icp101xx support
Use official TDK Invensense driver for icp101xx sensor in tdk_hal module. Signed-off-by: Remi Buisson <[email protected]>
- Loading branch information
1 parent
3f24ce6
commit 65fd395
Showing
9 changed files
with
324 additions
and
352 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library() | ||
|
||
if (CONFIG_CPU_HAS_FPU STREQUAL "y") | ||
zephyr_compile_definitions(ICP101XX_DRV_USE_FLOATS) | ||
endif() | ||
|
||
zephyr_library_sources(icp101xx_drv.c) | ||
zephyr_library_include_directories(.) |
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 @@ | ||
# Copyright (c) 2024 TDK Invensense | ||
|
||
# ICP101xx High Accuracy, Low Power, Barometric Pressure and Temperature Sensor option | ||
|
||
# SPDX-License-Identifier: Apache-2.0 | ||
config ICP101XX | ||
bool "ICP101XX Barometric Pressure and Temperature Sensor" | ||
default y | ||
depends on DT_HAS_INVENSENSE_ICP101XX_ENABLED | ||
select I2C | ||
select USE_EMD_ICP101XX | ||
help | ||
Enable driver for ICP101XX barometric pressure/temperature sensor. |
Oops, something went wrong.