The fs_ProgramPage is a user-provided routine that programs the contents of buf into Flash memory starting at address adr for size bytes. The adr must be 4-byte aligned, but buf may be not. The buffer size must be a multiple of 4. The fs_ProgramPage function is part of RL-FlashFS. The prototype is defined in file_config.h. You can customize the function in fs_flashprg.c. |