mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
nucleo-f446re: add romfs support
This commit is contained in:
@@ -31,4 +31,26 @@ config NUCLEO_F446RE_AJOY_MINBUTTONS
|
||||
minimal set: SELECT (joystick down), FIRE (BUTTON B), and JUMP
|
||||
(BUTTON A).
|
||||
|
||||
config STM32_ROMFS
|
||||
bool "Automount baked-in ROMFS image"
|
||||
default n
|
||||
depends on FS_ROMFS
|
||||
---help---
|
||||
Select STM32_ROMFS_IMAGEFILE, STM32_ROMFS_DEV_MINOR, STM32_ROMFS_MOUNTPOINT
|
||||
|
||||
config STM32_ROMFS_DEV_MINOR
|
||||
int "Minor for the block device backing the data"
|
||||
depends on STM32_ROMFS
|
||||
default 64
|
||||
|
||||
config STM32_ROMFS_MOUNTPOINT
|
||||
string "Mountpoint of the custom romfs image"
|
||||
depends on STM32_ROMFS
|
||||
default "/rom"
|
||||
|
||||
config STM32_ROMFS_IMAGEFILE
|
||||
string "ROMFS image file to include into build"
|
||||
depends on STM32_ROMFS
|
||||
default "../../../rom.img"
|
||||
|
||||
endif # ARCH_BOARD_NUCLEO_F446RE
|
||||
|
||||
Reference in New Issue
Block a user