# SensorTile.box board configuration | |
# Copyright (c) 2019 STMicroelectronics | |
# SPDX-License-Identifier: Apache-2.0 | |
if BOARD_SENSORTILE_BOX | |
config BOARD | |
default "sensortile_box" | |
config UART_1 | |
default y | |
depends on UART_CONSOLE | |
if I2C | |
config I2C_1 | |
default y | |
config I2C_3 | |
default y | |
endif # I2C | |
if SPI | |
config SPI_1 | |
default y | |
config SPI_3 | |
default y | |
config SPI_STM32_INTERRUPT | |
default y | |
config LIS2MDL_SPI_FULL_DUPLEX | |
default y | |
depends on LIS2MDL | |
endif # SPI | |
endif # BOARD_SENSORTILE_BOX |