Skip to content

Commit

Permalink
fix: DEVCFG: SPI auto-enable & SPI freq. fix
Browse files Browse the repository at this point in the history
* Configure automatic enable of SPI if Flash is selected
* Corrected SPI Flash frequency option by removing the `CONFIG_` prefix

Relates to zephyrproject-rtos#25
  • Loading branch information
Alexander Preißner committed Jul 9, 2018
1 parent a750ca1 commit 1374a60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boards/arm/akita_gen2_devboard/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ endif # ADC


if FLASH
config SPI
def_bool y
config SPI_1
def_bool y
config SPI_MCUX_DSPI
Expand All @@ -95,7 +97,7 @@ if FLASH
choice SPI_FLASH_W25QXXXX_DEVICE
default SPI_FLASH_W25QXXXX_DEVICE_W25QXXFW
endchoice
config CONFIG_SPI_FLASH_W25QXXXX_SPI_FREQ_0
config SPI_FLASH_W25QXXXX_SPI_FREQ_0
default 500000
config SPI_FLASH_W25QXXXX_SPI_SLAVE
default 0
Expand Down

0 comments on commit 1374a60

Please sign in to comment.