mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 01:42:49 +08:00
9483df3571
We have added a defconfig configuration to set the page size of the flash. According to the CFI protocol, the flash supports a single write operation with a data volume ranging from byte size up to the maximum number of bytes. However, the MTD device structure requires defining a page size, which serves as the minimum write unit of the flash. Hence, this configuration is introduced. Any page size within the range of 1 to the maximum number of bytes is considered valid. Signed-off-by: jingfei <jingfei@xiaomi.com>