mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
boards/risc-v: add option to disable SPI Flash MTD automatic bringup
The ESPRESSIF_SPIFLASH_AUTO_BRINGUP option allows disabling automatic bringup. This causes /dev/mtdblock0 to show up instead of always mounting a file system. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
078e7099b7
commit
4e8bc78307
@@ -12,10 +12,18 @@ config ESPRESSIF_MERGE_BINS
|
|||||||
This is only useful when the path to binary files (e.g. bootloader)
|
This is only useful when the path to binary files (e.g. bootloader)
|
||||||
is provided via the ESPTOOL_BINDIR variable.
|
is provided via the ESPTOOL_BINDIR variable.
|
||||||
|
|
||||||
choice ESPRESSIF_SPIFLASH_FS
|
config ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
prompt "Mount SPI Flash MTD on bring-up"
|
bool "Automatic mount of SPI Flash MTD"
|
||||||
default ESPRESSIF_SPIFLASH_SMARTFS
|
default y
|
||||||
depends on ESPRESSIF_MTD
|
depends on ESPRESSIF_MTD
|
||||||
|
---help---
|
||||||
|
Auto bring-up the SPI Flash MTD on board bring-up.
|
||||||
|
If not selected, the MTD will be registered as a device node on /dev.
|
||||||
|
|
||||||
|
choice ESPRESSIF_SPIFLASH_FS
|
||||||
|
prompt "File system to mount on SPI Flash MTD"
|
||||||
|
default ESPRESSIF_SPIFLASH_SMARTFS
|
||||||
|
depends on ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
optional
|
optional
|
||||||
---help---
|
---help---
|
||||||
Mount the SPI Flash MTD with the selected File System format on board
|
Mount the SPI Flash MTD with the selected File System format on board
|
||||||
|
|||||||
@@ -12,10 +12,18 @@ config ESPRESSIF_MERGE_BINS
|
|||||||
This is only useful when the path to binary files (e.g. bootloader)
|
This is only useful when the path to binary files (e.g. bootloader)
|
||||||
is provided via the ESPTOOL_BINDIR variable.
|
is provided via the ESPTOOL_BINDIR variable.
|
||||||
|
|
||||||
choice ESPRESSIF_SPIFLASH_FS
|
config ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
prompt "Mount SPI Flash MTD on bring-up"
|
bool "Automatic mount of SPI Flash MTD"
|
||||||
default ESPRESSIF_SPIFLASH_SMARTFS
|
default y
|
||||||
depends on ESPRESSIF_MTD
|
depends on ESPRESSIF_MTD
|
||||||
|
---help---
|
||||||
|
Auto bring-up the SPI Flash MTD on board bring-up.
|
||||||
|
If not selected, the MTD will be registered as a device node on /dev.
|
||||||
|
|
||||||
|
choice ESPRESSIF_SPIFLASH_FS
|
||||||
|
prompt "File system to mount on SPI Flash MTD"
|
||||||
|
default ESPRESSIF_SPIFLASH_SMARTFS
|
||||||
|
depends on ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
optional
|
optional
|
||||||
---help---
|
---help---
|
||||||
Mount the SPI Flash MTD with the selected File System format on board
|
Mount the SPI Flash MTD with the selected File System format on board
|
||||||
|
|||||||
@@ -12,10 +12,18 @@ config ESPRESSIF_MERGE_BINS
|
|||||||
This is only useful when the path to binary files (e.g. bootloader)
|
This is only useful when the path to binary files (e.g. bootloader)
|
||||||
is provided via the ESPTOOL_BINDIR variable.
|
is provided via the ESPTOOL_BINDIR variable.
|
||||||
|
|
||||||
choice ESPRESSIF_SPIFLASH_FS
|
config ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
prompt "Mount SPI Flash MTD on bring-up"
|
bool "Automatic mount of SPI Flash MTD"
|
||||||
default ESPRESSIF_SPIFLASH_SMARTFS
|
default y
|
||||||
depends on ESPRESSIF_MTD
|
depends on ESPRESSIF_MTD
|
||||||
|
---help---
|
||||||
|
Auto bring-up the SPI Flash MTD on board bring-up.
|
||||||
|
If not selected, the MTD will be registered as a device node on /dev.
|
||||||
|
|
||||||
|
choice ESPRESSIF_SPIFLASH_FS
|
||||||
|
prompt "File system to mount on SPI Flash MTD"
|
||||||
|
default ESPRESSIF_SPIFLASH_SMARTFS
|
||||||
|
depends on ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
optional
|
optional
|
||||||
---help---
|
---help---
|
||||||
Mount the SPI Flash MTD with the selected File System format on board
|
Mount the SPI Flash MTD with the selected File System format on board
|
||||||
|
|||||||
@@ -12,10 +12,18 @@ config ESPRESSIF_MERGE_BINS
|
|||||||
This is only useful when the path to binary files (e.g. bootloader)
|
This is only useful when the path to binary files (e.g. bootloader)
|
||||||
is provided via the ESPTOOL_BINDIR variable.
|
is provided via the ESPTOOL_BINDIR variable.
|
||||||
|
|
||||||
choice ESPRESSIF_SPIFLASH_FS
|
config ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
prompt "Mount SPI Flash MTD on bring-up"
|
bool "Automatic mount of SPI Flash MTD"
|
||||||
default ESPRESSIF_SPIFLASH_SMARTFS
|
default y
|
||||||
depends on ESPRESSIF_MTD
|
depends on ESPRESSIF_MTD
|
||||||
|
---help---
|
||||||
|
Auto bring-up the SPI Flash MTD on board bring-up.
|
||||||
|
If not selected, the MTD will be registered as a device node on /dev.
|
||||||
|
|
||||||
|
choice ESPRESSIF_SPIFLASH_FS
|
||||||
|
prompt "File system to mount on SPI Flash MTD"
|
||||||
|
default ESPRESSIF_SPIFLASH_SMARTFS
|
||||||
|
depends on ESPRESSIF_SPIFLASH_AUTO_BRINGUP
|
||||||
optional
|
optional
|
||||||
---help---
|
---help---
|
||||||
Mount the SPI Flash MTD with the selected File System format on board
|
Mount the SPI Flash MTD with the selected File System format on board
|
||||||
|
|||||||
Reference in New Issue
Block a user