samples: shields: x_nucleo_iks01a3: Fix deprecated config fragment

Fixes uses an old deprecated way of setting a Kconfig fragment
file for this sample

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-03-20 08:54:08 +00:00 committed by Carles Cufí
parent f70aa925d7
commit 931d286b57
6 changed files with 19 additions and 34 deletions

View file

@ -7,10 +7,6 @@ cmake_minimum_required(VERSION 3.20.0)
# This sample is specific to x_nucleo_iks01a3 shield. Enforce -DSHIELD option
set(SHIELD x_nucleo_iks01a3_shub)
if(BOARD STREQUAL stm32mp157c_dk2)
set(CONF_FILE stm32mp157c_dk2.conf)
endif()
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(x_nucleo_iks01a3)

View file

@ -0,0 +1,6 @@
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
CONFIG_LSM6DSO_TRIGGER_OWN_THREAD=n
CONFIG_LSM6DSO_TRIGGER_NONE=y

View file

@ -1,13 +0,0 @@
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_LIS2DW12_TRIGGER_NONE=y
CONFIG_LSM6DSO_ENABLE_TEMP=n
CONFIG_LSM6DSO_TRIGGER_NONE=y
CONFIG_LSM6DSO_SENSORHUB=y
CONFIG_LSM6DSO_EXT_LIS2MDL=y
CONFIG_LSM6DSO_EXT_LPS22HH=y
CONFIG_LSM6DSO_EXT_HTS221=n
CONFIG_CBPRINTF_FP_SUPPORT=y

View file

@ -7,10 +7,6 @@ cmake_minimum_required(VERSION 3.20.0)
# This sample is specific to x_nucleo_iks01a3 shield. Enforce -DSHIELD option
set(SHIELD x_nucleo_iks01a3)
if(BOARD STREQUAL stm32mp157c_dk2)
set(CONF_FILE stm32mp157c_dk2.conf)
endif()
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(x_nucleo_iks01a3)

View file

@ -0,0 +1,13 @@
# Copyright (c) 2019 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
CONFIG_LPS22HH_TRIGGER_OWN_THREAD=n
CONFIG_LPS22HH_TRIGGER_NONE=y
CONFIG_LIS2DW12_TRIGGER_OWN_THREAD=n
CONFIG_LIS2DW12_TRIGGER_NONE=y
CONFIG_LSM6DSO_TRIGGER_OWN_THREAD=n
CONFIG_LSM6DSO_TRIGGER_NONE=y
# DIL24 section
CONFIG_LIS2DE12_ENABLE_TEMP=n

View file

@ -1,13 +0,0 @@
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_HTS221_TRIGGER_NONE=y
CONFIG_LPS22HH_TRIGGER_NONE=y
CONFIG_STTS751_TRIGGER_NONE=y
CONFIG_LIS2MDL_TRIGGER_NONE=y
CONFIG_LIS2DW12_TRIGGER_NONE=y
CONFIG_LSM6DSO_ENABLE_TEMP=n
CONFIG_LSM6DSO_TRIGGER_NONE=y
CONFIG_CBPRINTF_FP_SUPPORT=y