This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200 文件大小使用的问题



创建一个文件8k大小,实际alloc大小为11848B约等于11.5k。

根据api的说明使用大小最大为:

FS_MODE_OPEN_CREATE(maxSizeInBytes,accessModeFlags) - Open for creating a new file. Max file size is defined in bytes. 
For optimal FS size, use max size in 4K-512 bytes steps (e.g. 3584,7680,117760) 

建议最大使用8k - 512B

这样很大一部分空间就会浪费了?

如果我直接使用分配的大小那么大的话,比如我一个文件写11k,这样会有什么问题吗?