2019-11-01 20:45:29 +08:00
|
|
|
# 96Boards Argonkey Board Configuration
|
|
|
|
|
2018-02-23 17:24:36 +08:00
|
|
|
# Copyright (c) 2018 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_96B_ARGONKEY
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "96b_argonkey"
|
2018-02-23 17:24:36 +08:00
|
|
|
|
2018-06-15 16:46:13 +08:00
|
|
|
if I2S
|
|
|
|
|
|
|
|
# configure PLLI2S to generate a I2SxCLK=128MHz
|
|
|
|
config I2S_STM32_USE_PLLI2S_ENABLE
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-06-15 16:46:13 +08:00
|
|
|
|
|
|
|
config I2S_STM32_PLLI2S_PLLM
|
|
|
|
default 8
|
|
|
|
|
|
|
|
config I2S_STM32_PLLI2S_PLLN
|
|
|
|
default 192
|
|
|
|
|
|
|
|
config I2S_STM32_PLLI2S_PLLR
|
|
|
|
default 3
|
|
|
|
|
|
|
|
endif # I2S
|
|
|
|
|
2018-04-24 15:28:20 +08:00
|
|
|
if LSM6DSL
|
|
|
|
|
|
|
|
choice LSM6DSL_TRIGGER_MODE
|
|
|
|
default LSM6DSL_TRIGGER_GLOBAL_THREAD
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config LSM6DSL_SENSORHUB
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-04-24 15:28:20 +08:00
|
|
|
|
2018-05-28 22:28:53 +08:00
|
|
|
choice LSM6DSL_EXTERNAL_SENSOR_0
|
|
|
|
default LSM6DSL_EXT0_LIS2MDL
|
|
|
|
endchoice
|
2018-04-24 15:28:20 +08:00
|
|
|
|
|
|
|
endif # LSM6DSL
|
|
|
|
|
2018-02-23 17:24:36 +08:00
|
|
|
endif # BOARD_96B_ARGONKEY
|