2013-10-02 16:24:46 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-10-02 16:24:46 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
if ARCH_BOARD_SPARK
|
|
|
|
|
2013-10-16 15:55:04 +02:00
|
|
|
config SPARK_FLASH
|
|
|
|
bool "MTD driver for onboard 2M FLASH"
|
|
|
|
default y
|
|
|
|
select MTD
|
|
|
|
select MTD_SST25
|
|
|
|
select FS_FAT
|
|
|
|
select STM32_SPI2
|
|
|
|
select MTD_BYTE_WRITE
|
|
|
|
---help---
|
|
|
|
Configures an MTD device for use with the onboard flash
|
|
|
|
|
|
|
|
config SPARK_FLASH_SPI
|
|
|
|
int "Flash SPI bus number"
|
|
|
|
default 2
|
|
|
|
depends on SPARK_FLASH
|
|
|
|
---help---
|
|
|
|
Selects the SPI bus number identying that SPI interface that
|
|
|
|
connects the Flash to the MCU.
|
|
|
|
|
|
|
|
config SPARK_FLASH_MINOR
|
|
|
|
int "Minor number for the FLASH /dev/fat entry"
|
|
|
|
default 0
|
|
|
|
depends on SPARK_FLASH
|
|
|
|
---help---
|
|
|
|
Sets the minor number for the FLASH MTD /dev entry
|
|
|
|
|
|
|
|
config SPARK_FLASH_PART
|
|
|
|
bool "Enable partition support on FLASH"
|
|
|
|
default n
|
|
|
|
depends on SPARK_FLASH
|
|
|
|
---help---
|
|
|
|
Enables creation of partitions on the FLASH
|
|
|
|
|
|
|
|
config SPARK_FLASH_PART_LIST
|
|
|
|
string "Flash partition size list"
|
|
|
|
default "512,1536"
|
|
|
|
depends on SPARK_FLASH_PART
|
|
|
|
---help---
|
|
|
|
Comma separated list of partition sizes in KB
|
|
|
|
|
2013-10-02 16:24:46 +02:00
|
|
|
endif
|