Skip to content

Commit 465c038

Browse files
caspermeijnMaureenHelm
authored andcommitted
boards: arm: pinetime: Enable SPI_NOR flash driver
When the application requests `CONFIG_FLASH`, then automatically enable the flash driver using `CONFIG_SPI_NOR`. Signed-off-by: Casper Meijn <[email protected]>
1 parent af10f69 commit 465c038

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

boards/arm/pinetime_devkit0/Kconfig.defconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ config ST7789V
2121

2222
endif # DISPLAY
2323

24+
if FLASH
25+
26+
config SPI
27+
default y
28+
29+
config SPI_NOR
30+
default y
31+
32+
endif # FLASH
33+
2434
config I2C
2535
default y if KSCAN
2636

0 commit comments

Comments
 (0)