File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -47,5 +47,26 @@ if RT_USING_FAL
4747 default "norflash0"
4848 endif
4949
50+ config FAL_DEV_NAME_MAX
51+ int "FAL device/partition name max length"
52+ default 24
53+ range 8 128
54+ help
55+ Configure the maximum length of flash/partition device name used by FAL.
56+ This value corresponds to macro FAL_DEV_NAME_MAX.
57+ Increase it if your flash device name or partition name is longer.
58+ Note: Larger value may increase memory usage in some implementations.
59+
60+ config FAL_DEV_BLK_MAX
61+ int "FAL max flash device blocks"
62+ default 6
63+ range 1 32
64+ help
65+ Configure the maximum number of flash device blocks managed by FAL.
66+ This value corresponds to macro FAL_DEV_BLK_MAX.
67+ If you have multiple flash devices (onchip/spi-nor/spi-nand, etc.)
68+ or multiple underlying blocks, increase this value accordingly.
69+ Note: Larger value may increase RAM/ROM usage.
70+
5071endif
5172
You can’t perform that action at this time.
0 commit comments