Skip to content

Commit af411f3

Browse files
Tomasz Bursztykanashif
authored andcommitted
boards/x86: Fix support for w25qxxdv on arduino_101
It requires to use w25qxxdv spi gpio cs settings. Fixes #7766 Signed-off-by: Tomasz Bursztyka <[email protected]>
1 parent a6d8378 commit af411f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

boards/x86/arduino_101/Kconfig.defconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ config SPI_FLASH_W25QXXDV
1818
config GPIO
1919
def_bool y
2020

21-
config SPI_CS_GPIO
22-
def_bool y
23-
24-
config SPI_0_CS_GPIO_PIN
25-
default 24
26-
2721
if SPI_FLASH_W25QXXDV
2822

2923
config SPI_FLASH_W25QXXDV_SPI_NAME
3024
default "SPI_0"
3125
config SPI_FLASH_W25QXXDV_SPI_SLAVE
3226
default 1
27+
config SPI_FLASH_W25QXXDV_GPIO_SPI_CS
28+
def_bool y
29+
config SPI_FLASH_W25QXXDV_GPIO_SPI_CS_DRV_NAME
30+
default "GPIO_0"
31+
config SPI_FLASH_W25QXXDV_GPIO_SPI_CS_PIN
32+
default 24
3333

3434
if DISK_ACCESS_FLASH
3535

0 commit comments

Comments
 (0)