Commit 4bcde3bb authored by Erwan Gouriou's avatar Erwan Gouriou

samples/shields: x_nucleo_iks01a3: Add config for stm32mp157c_dk2

Shield x_nucleo_iks01a3 could be used with board stm32mp157c_dk2,
but it requires not using the irq-gpio pin.
Provide a specific configuration for this board that does not make
use of this pin, sot set all sensors' triggers mode to NONE.
Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 880488ee
......@@ -7,6 +7,9 @@ cmake_minimum_required(VERSION 3.13.1)
# 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)
......
......@@ -5,4 +5,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_LIS2DW12=y
CONFIG_LIS2DW12_TRIGGER_NONE=y
CONFIG_LSM6DSO=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
......@@ -7,6 +7,9 @@ cmake_minimum_required(VERSION 3.13.1)
# 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)
......
......@@ -7,4 +7,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns
CONFIG_LOG=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_SENSOR_LOG_LEVEL_DBG=y
CONFIG_HTS221=y
CONFIG_HTS221_TRIGGER_NONE=y
CONFIG_LPS22HH=y
CONFIG_LPS22HH_TRIGGER_NONE=y
CONFIG_STTS751=y
CONFIG_STTS751_TRIGGER_NONE=y
CONFIG_LIS2MDL=y
CONFIG_LIS2MDL_TRIGGER_NONE=y
CONFIG_LIS2DW12=y
CONFIG_LIS2DW12_TRIGGER_NONE=y
CONFIG_LSM6DSO=y
CONFIG_LSM6DSO_ENABLE_TEMP=n
CONFIG_LSM6DSO_TRIGGER_NONE=y
CONFIG_CBPRINTF_FP_SUPPORT=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment