mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:45:22 +08:00
Some checks failed
ToolsCI / Tools (push) Has been cancelled
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
utest_auto_run / A9 :components/dfs.cfg (push) Has been cancelled
utest_auto_run / A9 :components/lwip.cfg (push) Has been cancelled
utest_auto_run / A9 :components/netdev.cfg (push) Has been cancelled
utest_auto_run / A9 :components/sal.cfg (push) Has been cancelled
utest_auto_run / A9 :cpp11/cpp11.cfg (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :default.cfg (push) Has been cancelled
utest_auto_run / A9-smp :default.cfg (push) Has been cancelled
utest_auto_run / RISCV :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/mem.cfg (push) Has been cancelled
Weekly CI Scheduler / Trigger and Monitor CIs (push) Has been cancelled
Weekly CI Scheduler / Create Discussion Report (push) Has been cancelled
73 lines
2.4 KiB
Plaintext
73 lines
2.4 KiB
Plaintext
|
|
# Kconfig file for package fal
|
|
menuconfig RT_USING_FAL
|
|
bool "FAL: flash abstraction layer"
|
|
default n
|
|
|
|
if RT_USING_FAL
|
|
config FAL_USING_DEBUG
|
|
bool "Enable debug log output"
|
|
default y if RT_USING_DEBUG
|
|
default n
|
|
|
|
config FAL_PART_HAS_TABLE_CFG
|
|
bool "FAL partition table config has defined on 'fal_cfg.h'"
|
|
default y
|
|
help
|
|
If defined partition table on 'fal_cfg.h' please enable this option.
|
|
When this option is disable, it will auto find and load the partition table
|
|
on a specified location in flash partition.
|
|
|
|
if !FAL_PART_HAS_TABLE_CFG
|
|
|
|
config FAL_PART_TABLE_FLASH_DEV_NAME
|
|
string "The flash device which saving partition table"
|
|
default "onchip"
|
|
help
|
|
It will auto find the partition table on this flash device.
|
|
|
|
config FAL_PART_TABLE_END_OFFSET
|
|
int "The patition table end address relative to flash device offset."
|
|
default 65536
|
|
help
|
|
The auto find and load the partition table process is forward from this
|
|
offset address on flash.
|
|
|
|
endif
|
|
|
|
config FAL_USING_SFUD_PORT
|
|
bool "FAL uses SFUD drivers"
|
|
default n
|
|
help
|
|
The fal_flash_sfud_port.c in the samples\porting directory will be used.
|
|
|
|
if FAL_USING_SFUD_PORT
|
|
config FAL_USING_NOR_FLASH_DEV_NAME
|
|
string "The name of the device used by FAL"
|
|
default "norflash0"
|
|
endif
|
|
|
|
config FAL_DEV_NAME_MAX
|
|
int "FAL device/partition name max length"
|
|
default 24
|
|
range 8 128
|
|
help
|
|
Configure the maximum length of flash/partition device name used by FAL.
|
|
This value corresponds to macro FAL_DEV_NAME_MAX.
|
|
Increase it if your flash device name or partition name is longer.
|
|
Note: Larger value may increase memory usage in some implementations.
|
|
|
|
config FAL_DEV_BLK_MAX
|
|
int "FAL max flash device blocks"
|
|
default 6
|
|
range 1 32
|
|
help
|
|
Configure the maximum number of flash device blocks managed by FAL.
|
|
This value corresponds to macro FAL_DEV_BLK_MAX.
|
|
If you have multiple flash devices (onchip/spi-nor/spi-nand, etc.)
|
|
or multiple underlying blocks, increase this value accordingly.
|
|
Note: Larger value may increase RAM/ROM usage.
|
|
|
|
endif
|
|
|