zephyr/boards/arm/96b_argonkey/Kconfig.defconfig

95 lines
1.1 KiB
Plaintext

# Kconfig - 96Boards Argonkey Board Configuration
#
# Copyright (c) 2018 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0
#
if BOARD_96B_ARGONKEY
config BOARD
default "96b_argonkey"
if UART_CONSOLE
config UART_1
default y
endif # UART_CONSOLE
if I2C
config I2C_1
default y
config I2C_2
default y
config I2C_3
default y
config I2C_STM32_INTERRUPT
default y
endif # I2C
if SPI
config SPI_1
default y
config SPI_2
default y
config SPI_STM32_INTERRUPT
default y
endif # SPI
if I2S
config I2S_STM32
default y
# configure PLLI2S to generate a I2SxCLK=128MHz
config I2S_STM32_USE_PLLI2S_ENABLE
default y
config I2S_STM32_PLLI2S_PLLM
default 8
config I2S_STM32_PLLI2S_PLLN
default 192
config I2S_STM32_PLLI2S_PLLR
default 3
config I2S_5
default y
endif # I2S
if DMA
config DMA_STM32F4X
default y
endif # DMA
if LSM6DSL
choice LSM6DSL_TRIGGER_MODE
default LSM6DSL_TRIGGER_GLOBAL_THREAD
endchoice
config LSM6DSL_SENSORHUB
default y
choice LSM6DSL_EXTERNAL_SENSOR_0
default LSM6DSL_EXT0_LIS2MDL
endchoice
endif # LSM6DSL
endif # BOARD_96B_ARGONKEY