52 lines
697 B
Plaintext
52 lines
697 B
Plaintext
|
|
if BOARD_ARDUINO_101_SSS
|
|
|
|
config BOARD
|
|
default "arduino_101_sss"
|
|
|
|
if !HAS_DTS
|
|
config FLASH_SIZE
|
|
default 128
|
|
|
|
|
|
config FLASH_BASE_ADDRESS
|
|
default 0x40034000
|
|
endif
|
|
|
|
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
|