-
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: mlx90394: added driver
Added driver for Melexis MLX90394 magnetometer. Signed-off-by: Florian Weber <[email protected]>
- Loading branch information
1 parent
86b6665
commit 0eb6c44
Showing
12 changed files
with
1,144 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,6 @@ | ||
# Copyright (c) 2024 Florian Weber <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# zephyr-keep-sorted-start | ||
add_subdirectory_ifdef(CONFIG_MLX90394 MLX90394) | ||
# zephyr-keep-sorted-stop |
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,6 @@ | ||
# Copyright (c) 2024 Florian Weber <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# zephyr-keep-sorted-start | ||
source "drivers/sensor/melexis/MLX90394/Kconfig" | ||
# zephyr-keep-sorted-stop |
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,7 @@ | ||
# Copyright (c) Florian Weber <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
zephyr_library() | ||
|
||
zephyr_library_sources(mlx90394.c) | ||
zephyr_library_sources_ifdef(CONFIG_SENSOR_ASYNC_API mlx90394_async.c mlx90394_decoder.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,11 @@ | ||
# Copyright (c) 2024 Florian Weber <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
|
||
config MLX90394 | ||
bool "MLX90394 Magnetometer" | ||
default y | ||
depends on DT_HAS_MELEXIS_MLX90394_ENABLED | ||
select I2C | ||
help | ||
Enable driver for MLX90394 magnetometer. |
Oops, something went wrong.