-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: sensors: add fcx-mldx5 o2 sensor
Add driver for Angst+Pfister O2 sensors FCX-MLD25 & FCX-MLD95 and maybe more. Tested with FCX-MLD25. Supports get O2 value, get status, and power management. Note that in suspended power mode heating output is at 20 %, thus probably not suited for a battery powered device. Signed-off-by: Jeppe Odgaard <[email protected]>
- Loading branch information
Jeppe Odgaard
committed
Feb 15, 2024
1 parent
34cbfdb
commit a935fcd
Showing
6 changed files
with
549 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(fcx_mldx5.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 @@ | ||
# FCX-MLDx5 O2 sensor configuration options | ||
|
||
# Copyright (c) 2024, Vitrolife A/S | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config FCX_MLDX5 | ||
bool "FCX-MLDx5 O2 Sensor" | ||
default y | ||
depends on DT_HAS_AP_FCX_MLDX5_ENABLED | ||
depends on UART_INTERRUPT_DRIVEN | ||
select UART | ||
help | ||
Enable driver for FCX-MLD25 or FCX-MLD95 O2 Sensor. |
Oops, something went wrong.