Skip to content

Commit db365c4

Browse files
pabigotgalak
authored andcommitted
boards: arm: particle_*: default-enable SPI_2 when SPI enabled
SPI is not normally enabled, but some tests assume that there's a device available. Conditionally enable SPI_2 which is associated with the on-board flash. Closes #15374 Signed-off-by: Peter A. Bigot <[email protected]>
1 parent 51b45f0 commit db365c4

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

boards/arm/particle_argon/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ config I2C_0
2323

2424
endif # I2C
2525

26+
if SPI
27+
28+
config SPI_2
29+
default y
30+
31+
endif # SPI
32+
2633
if USB
2734

2835
config USB_NRF52840

boards/arm/particle_boron/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ config I2C_0
2323

2424
endif # I2C
2525

26+
if SPI
27+
28+
config SPI_2
29+
default y
30+
31+
endif # SPI
32+
2633
if USB
2734

2835
config USB_NRF52840

boards/arm/particle_xenon/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ config I2C_0
2424

2525
endif # I2C
2626

27+
if SPI
28+
29+
config SPI_2
30+
default y
31+
32+
endif # SPI
33+
2734
if USB
2835

2936
config USB_NRF52840

0 commit comments

Comments
 (0)