5. Nor flash Partition¶
5.1. How to Modify NOR Partition Size¶
cd build/boards/default/partition/
Revise the size of each partition size_in_kb in partition_spinor.xml, and recompile bsp.
Note: The partition size needs to be aligned according to the erase size of the NOR flash. The driver supports 4/64k erase size. When enabling the option CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2 in the SDK, the partition size needs to be aligned to 4k, otherwise it needs to be aligned to 64k.