From 4f822b8868c8cd603289be3eb46affaa013f484c Mon Sep 17 00:00:00 2001 From: Aurelie Fontaine Date: Thu, 3 Oct 2024 15:54:40 +0200 Subject: [PATCH] module: hal_tdk module https://github.com/tdk-invn-oss/zephyr.hal_tdk With 6dof_motion_drdy and tdk_apex sample, with custom setup: nrf52dk_nrf52832 + icm42670-P/-S EVB board Build ok by running: west twister -T samples\sensor\tdk_apex -T samples\sensor\6dof_motion_drdy -p nrf52dk/nrf52832 Signed-off-by: Aurelie Fontaine --- MAINTAINERS.yml | 11 +++++++++++ modules/hal_tdk/Kconfig | 22 ++++++++++++++++++++++ west.yml | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 modules/hal_tdk/Kconfig diff --git a/MAINTAINERS.yml b/MAINTAINERS.yml index c6332eb4327898..b836aa4b2a5322 100644 --- a/MAINTAINERS.yml +++ b/MAINTAINERS.yml @@ -4781,6 +4781,17 @@ West: labels: - "platform: STM32" +"West project: hal_tdk": + status: maintained + maintainers: + - afontaine-invn + collaborators: + - rbuisson-invn + - gjabouley-invn + - sriccardi-invn + files: + - modules/hal_tdk/Kconfig + "West project: hal_telink": status: maintained maintainers: diff --git a/modules/hal_tdk/Kconfig b/modules/hal_tdk/Kconfig new file mode 100644 index 00000000000000..4a5fd4c6df01c9 --- /dev/null +++ b/modules/hal_tdk/Kconfig @@ -0,0 +1,22 @@ +# Copyright (c) 2024 TDK Invensense +# SPDX-License-Identifier: Apache-2.0 + +config ZEPHYR_HAL_TDK_MODULE + bool "TDK HAL sensor drivers" + default n + help + Use the TDK HAL + +choice TDK_EMD_IMU_DRIVERS + prompt "TDK eMD IMU drivers" + depends on ZEPHYR_HAL_TDK_MODULE + +config USE_EMD_ICM42670P + bool "ICM42670-P High Performance 6-Axis MotionTracking IMU" + depends on ICM42670P + +config USE_EMD_ICM42670S + bool "ICM42670-S High Performance 6-Axis MotionTracking IMU with Motion Processing Software Library" + depends on ICM42670S + +endchoice diff --git a/west.yml b/west.yml index 0c537a6a82f73b..1198a1682edba7 100644 --- a/west.yml +++ b/west.yml @@ -237,6 +237,11 @@ manifest: path: modules/hal/stm32 groups: - hal + - name: hal_tdk + revision: 2e5043bd30d1f413eba9473edfbe5bf2a0fd25f9 + path: modules/hal/tdk + groups: + - hal - name: hal_telink revision: 4226c7fc17d5a34e557d026d428fc766191a0800 path: modules/hal/telink