2015-12-13 22:31:16 +08:00
|
|
|
|
|
|
|
if BOARD_ARDUINO_101_SSS
|
|
|
|
|
|
|
|
config BOARD
|
2016-05-25 07:17:13 +08:00
|
|
|
default "arduino_101_sss"
|
2015-12-13 22:31:16 +08:00
|
|
|
|
2017-02-03 09:54:10 +08:00
|
|
|
if GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
|
|
|
|
|
|
|
config BMI160_GPIO_DEV_NAME
|
|
|
|
default GPIO_QMSI_1_NAME
|
|
|
|
|
|
|
|
endif # GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
|
|
|
|
2016-12-01 09:17:16 +08:00
|
|
|
if FLASH && SPI
|
|
|
|
|
|
|
|
config SPI_FLASH_W25QXXDV
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config SPI_CS_GPIO
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
config SPI_0_CS_GPIO_PIN
|
|
|
|
default 24
|
|
|
|
|
2017-02-18 05:47:54 +08:00
|
|
|
config SPI_0_CS_GPIO_PORT
|
|
|
|
default "GPIO_2"
|
|
|
|
|
2016-12-01 09:17:16 +08:00
|
|
|
config SPI_FLASH_W25QXXDV_SPI_NAME
|
2017-02-18 05:47:54 +08:00
|
|
|
default "SPI_2"
|
|
|
|
|
2016-12-01 09:17:16 +08:00
|
|
|
config SPI_FLASH_W25QXXDV_SPI_SLAVE
|
|
|
|
default 1
|
|
|
|
|
|
|
|
endif # FLASH && SPI
|
|
|
|
|
2017-02-10 10:21:54 +08:00
|
|
|
if BMI160
|
|
|
|
|
|
|
|
config BMI160_SPI_PORT_NAME
|
|
|
|
default "SPI_1"
|
|
|
|
endif
|
|
|
|
|
2015-12-13 22:31:16 +08:00
|
|
|
endif # BOARD_ARDUINO_101_SSS
|