2017-07-09 19:48:28 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2017-08-06 18:52:12 +02:00
|
|
|
if ARCH_BOARD_B_L475E_IOT01A
|
2017-07-09 19:48:28 +02:00
|
|
|
|
2017-08-06 18:52:12 +02:00
|
|
|
config B_L475E_IOT01A_MTD_FLASH
|
2019-07-26 17:17:56 +02:00
|
|
|
bool "MTD driver for external 64Mbits flash memory"
|
2017-08-06 18:52:12 +02:00
|
|
|
default n
|
|
|
|
select STM32L4_DMA1
|
|
|
|
select STM32L4_QSPI
|
|
|
|
select MTD
|
|
|
|
select MTD_MX25RXX
|
|
|
|
select MTD_SMART
|
|
|
|
select MTD_SMART_MINIMIZE_RAM
|
|
|
|
select FS_SMARTFS
|
|
|
|
---help---
|
|
|
|
Configures an MTD device for use with the onboard external flash
|
|
|
|
using QuadSPI interface.
|
2017-07-09 19:48:28 +02:00
|
|
|
|
2017-08-06 18:52:12 +02:00
|
|
|
if B_L475E_IOT01A_MTD_FLASH
|
|
|
|
|
|
|
|
config B_L475E_IOT01A_MTD_FLASH_MINOR
|
|
|
|
int "Minor number for the flash memory /dev/smart entry"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Sets the minor number for the flash memory /dev/smart entry
|
|
|
|
|
|
|
|
config B_L475E_IOT01A_MTD_PART
|
|
|
|
bool "Enable partition support"
|
|
|
|
default n
|
|
|
|
select MTD_PARTITION
|
|
|
|
---help---
|
|
|
|
Enables creation of partitions on the external flash memory.
|
|
|
|
|
|
|
|
config B_L475E_IOT01A_MTD_PART_LIST
|
|
|
|
string "Flash partition size list"
|
|
|
|
default "512,8192,8192,16384"
|
|
|
|
depends on B_L475E_IOT01A_MTD_PART
|
|
|
|
---help---
|
|
|
|
Comma separated list of partition sizes in KB.
|
|
|
|
|
|
|
|
endif # B_L475E_IOT01A_MTD_FLASH
|
|
|
|
endif # ARCH_BOARD_B_L475E_IOT01A
|