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.

[参考译文] CCS/CC3220MODA:cc3220modasf launchpad:用户文件创建和读取

Guru**** 2577385 points
Other Parts Discussed in Thread: UNIFLASH

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/910631/ccs-cc3220moda-cc3220modasf-launchpad-user-file-create-and-read

器件型号:CC3220MODA
主题中讨论的其他器件:UNIFLASH

工具/软件:Code Composer Studio

我正在运行 tcpecho 等效应用程序。 我需要将我的 SSID 和其他连接相关详细信息保存到用户文件并从闪存中读取。

我尝试了\

sl_FsOpen ("MIRCaMConfig.txt"、FS_MODE_OPEN_CREATE (3584、_FS_FILE_OPEN_FLAG_COMMIT|_FS_FILE_PUBLIC)、&ulToken、&g_isFileHandle);

我无法编译此代码、因为它无法链接到 _sl_GetCreateFsMode。

我还尝试使用 UniFlash 创建和刻录用户文件。

我需要创建一个文件、并在每次器件启动时保存和读取该文件。 这是一个 BT-WiFi 网桥。 正确的方法是什么? 请指向正确的示例代码。