Other Parts Discussed in Thread: CC3235SF
器件型号: CC3235SF
您好专家、
在使用 CCS 创建用于写入 CC3235SF 的文件时、地址 200 中的 4 个字节是否表示数据大小?
提前感谢!
此致、
今津圭一郎
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.
嗨、您能详细说明一下您的意思吗?
如果您想创建一个用于编写的文件,您可以查看下面的代码片段,它是从本 教程派生的:
int st_task3_createFailsafeFile () { int RetVal = 0; _i32 FD; uart_print(“\n\r\n\r ** 创建 失效防护文件\n\r“);/*创建不安全文件*/ FD = sl_FsOpen (test_create | SL_create 0、0); if (RetVal < 0) { uart_print(“sl_FsClose (create) error:%d\n\r“、RetVal); } /*验证成功创建*/ st_listFiles (0 );uart_print(“创建后读取%s:\n\r“);st_openForRead (test_Vale) ;return;filename