1# Discovery IoT L475 board configuration 2 3# Copyright (c) 2017 Linaro Limited 4# SPDX-License-Identifier: Apache-2.0 5 6if BOARD_DISCO_L475_IOT1 7 8config BOARD 9 default "disco_l475_iot1" 10 11# LPTIM clocked by LSE, force tick freq to 4096 for tick accuracy 12config SYS_CLOCK_TICKS_PER_SEC 13 default 4096 if STM32_LPTIM_TIMER 14 15config SPI_STM32_INTERRUPT 16 default y 17 depends on SPI 18 19choice LIS3MDL_TRIGGER_MODE 20 default LIS3MDL_TRIGGER_NONE 21endchoice 22 23choice HTS221_TRIGGER_MODE 24 default HTS221_TRIGGER_NONE 25endchoice 26 27choice LSM6DSL_TRIGGER_MODE 28 default LSM6DSL_TRIGGER_GLOBAL_THREAD 29 depends on LSM6DSL 30endchoice 31 32if BT 33 34config SPI 35 default y 36 37choice BT_HCI_BUS_TYPE 38 default BT_SPI 39endchoice 40 41config BT_SPI_BLUENRG 42 default y 43 44config BT_BLUENRG_ACI 45 default y 46# Disable Flow control 47config BT_HCI_ACL_FLOW_CONTROL 48 default n 49config BT_HCI_VS_EXT 50 default n 51 52endif # BT 53 54endif # BOARD_DISCO_L475_IOT1 55