43 lines
599 B
Plaintext
43 lines
599 B
Plaintext
|
|
if BOARD_ARDUINO_101_SSS
|
|
|
|
config BOARD
|
|
default "arduino_101_sss"
|
|
|
|
if GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
|
|
|
config BMI160_GPIO_DEV_NAME
|
|
default GPIO_QMSI_1_NAME
|
|
|
|
endif # GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
|
|
|
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
|
|
|
|
config SPI_0_CS_GPIO_PORT
|
|
default "GPIO_2"
|
|
|
|
config SPI_FLASH_W25QXXDV_SPI_NAME
|
|
default "SPI_2"
|
|
|
|
config SPI_FLASH_W25QXXDV_SPI_SLAVE
|
|
default 1
|
|
|
|
endif # FLASH && SPI
|
|
|
|
if BMI160
|
|
|
|
config BMI160_SPI_PORT_NAME
|
|
default "SPI_1"
|
|
endif
|
|
|
|
endif # BOARD_ARDUINO_101_SSS
|