Files
zephyr/boards/x86/arduino_101/Kconfig.defconfig
Jithu Joseph cc39120392 boards: arduino_101: enable GPIO by default
Though the SPI_CS_GPIO Kconfig entry (in drivers/spi/Kconfig) has
"select GPIO" specified, we are observing that merely adding
the symbol(SPI_CS_GPIO) in the
defconfig  (boards/x86/arduino_101/Kconfig.defconfig)
is triggering unmet direct dependency warnings
(though the build goes through).

Since the defconfig entry(SPI_CS_GPIO) is not selecting
the aforementioned 'select' rule, we add it  manually here.

Jira: ZEP-1668

Change-Id: Ida6a0c851462d747e6559bd0c78fa52e1d0f24b5
Signed-off-by: Jithu Joseph <jithu.joseph@intel.com>
(cherry picked from commit 6754f8eaaf)
2017-03-08 08:10:08 +00:00

97 lines
1.3 KiB
Plaintext

if BOARD_ARDUINO_101
config BOARD
default "arduino_101"
config TEXT_SECTION_OFFSET
default 0x30
config SS_RESET_VECTOR
default 0x40034000
config ROM_SIZE
default 192
config PHYS_LOAD_ADDR
default 0x40010000
if NBLE
config GPIO
def_bool y
config BLUETOOTH_NRF51_PM
def_bool y
config NBLE_UART_ON_DEV_NAME
default UART_QMSI_0_NAME
endif
if BLUETOOTH_H4
config BLUETOOTH_UART_ON_DEV_NAME
default UART_QMSI_0_NAME
endif
if UART_PIPE
config UART_PIPE_ON_DEV_NAME
default UART_QMSI_1_NAME
endif
config BLUETOOTH_MONITOR_ON_DEV_NAME
default UART_QMSI_1_NAME if BLUETOOTH_DEBUG_MONITOR
if FLASH && SPI
config SPI_FLASH_W25QXXDV
def_bool y
config GPIO
def_bool y
config SPI_CS_GPIO
def_bool y
config SPI_0_CS_GPIO_PIN
default 24
if SPI_FLASH_W25QXXDV
config SPI_FLASH_W25QXXDV_SPI_NAME
default "SPI_0"
config SPI_FLASH_W25QXXDV_SPI_SLAVE
default 1
if DISK_ACCESS_FLASH
config DISK_FLASH_DEV_NAME
default SPI_FLASH_W25QXXDV_DRV_NAME
config DISK_FLASH_START
default 0x0
config DISK_FLASH_MAX_RW_SIZE
default SPI_FLASH_W25QXXDV_MAX_DATA_LEN
config DISK_ERASE_BLOCK_SIZE
default 0x1000
config DISK_FLASH_ERASE_ALIGNMENT
default 0x1000
config DISK_VOLUME_SIZE
default 0x200000
endif # DISK_ACCESS_FLASH
endif # SPI_FLASH_W25QXXDV
endif # FLASH && SPI
endif # BOARD_ARDUINO_101