The CONFIG_ZEPHYR_HAL_TDK_MODULE is always set if the module is on disk, introduce an implied symbol to prevent a cmake warning if no TDK drivers are needed. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
20 lines
423 B
Text
20 lines
423 B
Text
# Copyright (c) 2024 TDK Invensense
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ZEPHYR_HAL_TDK_MODULE
|
|
bool
|
|
|
|
menu "TDK drivers"
|
|
|
|
config TDK_HAL
|
|
bool "TDK HAL drivers support"
|
|
|
|
config USE_EMD_ICM42670
|
|
bool "ICM42x7x High Performance 6-Axis MotionTracking IMU"
|
|
default y
|
|
imply TDK_HAL
|
|
depends on ZEPHYR_HAL_TDK_MODULE
|
|
depends on DT_HAS_INVENSENSE_ICM42670P_ENABLED \
|
|
|| DT_HAS_INVENSENSE_ICM42670S_ENABLED
|
|
|
|
endmenu
|