{"id":6014,"date":"2024-08-22T19:01:01","date_gmt":"2024-08-22T11:01:01","guid":{"rendered":""},"modified":"2024-08-22T19:01:01","modified_gmt":"2024-08-22T11:01:01","slug":"nrf52832-qfaa_nordic52840\u82af\u7247","status":"publish","type":"post","link":"https:\/\/mushiming.com\/6014.html","title":{"rendered":"nrf52832-qfaa_nordic52840\u82af\u7247"},"content":{"rendered":"

\n <\/path> \n<\/svg> <\/p>\n

FDS\uff08Flash Data Storage<\/strong> \u6a21\u5757\u662fsdk\u4e2d\u63d0\u4f9b\u7684\u64cd\u4f5cflash\u7684\u6a21\u5757\u3002<\/p>\n

\u524d\u9762\u4ecb\u7ecd\u8fc7fs\uff08Flash Storage\uff09\u6a21\u5757\uff0c\u8fd9\u4e2a\u6a21\u5757\u4e5f\u662fsdk\u4e2d\u63d0\u4f9b\u7684\u64cd\u4f5cflash\u7684\u6a21\u5757\u3002\u4e3a\u4ec0\u4e48\u8981\u63d0\u4f9b\u4e24\u4e2a\u5462\uff1f<\/p>\n

\u2003\u8fd9\u9700\u8981\u4e86\u89e3\u4e00\u4e0b\u5173\u4e8eflash\u64cd\u4f5c\u7684\u95ee\u9898\u3002 \u56e0\u4e3a\u64cd\u4f5c\u7684\u662f\u7247\u4e0aflash\uff0c\u6240\u4ee5\u5728\u64e6\u5199flash\u7684\u65f6\u5019CPU\u4f1a\u6682\u505c\uff0c\u8fd9\u5bf9\u4e8eble\u6765\u8bf4\u5f88\u53ef\u80fd\u5f71\u54cd\u5e95\u5c42\u7684\u94fe\u8def\u4e0a\u7684\u65f6\u5e8f\u3002\u6240\u4ee5\u5bf9\u4e8eble\u5e94\u7528\u6765\u8bf4\uff0c\u4e0d\u80fd\u901a\u8fc7flash\u76f8\u5173\u7684\u5bc4\u5b58\u5668\u6765\u76f4\u63a5\u64cd\u4f5cflash\uff0c\u56e0\u4e3a\u4f60\u4e0d\u77e5\u9053\u4f60\u64cd\u4f5c\u7684\u65f6\u673a\u5bf9\u4e0d\u5bf9\u4f1a\u4e0d\u4f1a\u5bf9ble\u534f\u8bae\u7684\u5e95\u5c42\u4ea4\u4e92\u65f6\u5e8f\u9020\u6210\u5f71\u54cd\u3002\u6240\u4ee5nordic\u534f\u8bae\u6808\u5c01\u88c5\u4e86flash\u64cd\u4f5c\uff0c\u5bf9\u5916\u63d0\u4f9b\u4e86flash\u64cd\u4f5c\u7684\u63a5\u53e3\uff0c\u5f62\u5982sd_flash_write \u6240\u4ee5\u5bf9\u4e8eble\u5e94\u7528\u6765\u8bf4\uff0c\u6211\u4eec\u80fd\u64cd\u4f5c\u7684\u6700\u5e95\u5c42\u51fd\u6570api\u5c31\u662fsd\u5f00\u5934\u7684flash\u64cd\u4f5c\u51fd\u6570\uff0c\u8fd9\u4e9bsd\u5f00\u5934\u7684flash\u64cd\u4f5c\u51fd\u6570\u662f\u5f02\u6b65\u7684\uff0c\u5373\u8c03\u7528\u540e\u4e0d\u4f1a\u7acb\u523b\u5c31\u64cd\u4f5cflash,\u5e95\u5c42\u534f\u8bae\u6808\u4f1a\u5728\u5408\u9002\u7684\u65f6\u5019\uff0c\u4e0d\u5f71\u54cd\u6216\u8bf4\u4e0d\u81f3\u4e8e\u5f71\u54cd\u5230ble\u7684\u6b63\u5e38\u8fde\u63a5\u7684\u65f6\u5019\u624d\u4f1a\u5b9e\u9645\u53bb\u6267\u884cflash\u64cd\u4f5c\u3002\u64cd\u4f5c\u7ed3\u675f\u540e\u534f\u8bae\u6808\u518d\u629b\u51fa\u5e95\u5c42\u4e8b\u4ef6\uff0c\u544a\u8bc9\u4f60flash\u64cd\u4f5c\u7684\u7ed3\u679c\u3002<\/p>\n

\u2003\u5e95\u5c42\u51fd\u6570\u6bd5\u7adf\u9700\u8981\u4e86\u89e3\u4e00\u4e9bnordic\u534f\u8bae\u6808\u7684\u673a\u5236\uff0c\u4ee5\u53caflash\u64cd\u4f5c\u7684\u65b9\u5f0f\u3002\u6240\u4ee5nordic\u63d0\u4f9b\u7684sdk\uff0c\u5728\u8fd9\u4e9bsd\u5f00\u5934\u7684\u5e95\u5c42\u51fd\u6570\u4e0a\u5c01\u88c5\u4e86\u4e00\u5c42\u6765\u65b9\u4fbf\u7528\u6237\u4f7f\u7528\u3002\u5373fs\uff08Flash Storage\uff09\u6a21\u5757,\u8fd9\u4e2a\u6a21\u5757\u5c01\u88c5\u4e86\u5e95\u5c42sd\u5f00\u5934\u7684API\u7684\u8c03\u7528\u4ee5\u53ca\u534f\u8bae\u6808\u8fd4\u56de\u7684flash\u64cd\u4f5c\u5b8c\u6210\u4e8b\u4ef6\u7684\u5904\u7406\u3002<\/p>\n

\u2003\u5f00\u53d1\u8005\u53ea\u9700\u8981\u6ce8\u518c\u81ea\u5df1\u7684\u56de\u8c03\u51fd\u6570\uff0c\u8c03\u7528\u521d\u59cb\u5316\u51fd\u6570\uff0c\u4e4b\u540e\u5c31\u76f4\u63a5\u8c03\u7528\u53ef\u4ee5\u8bfb\/\u5199\/\u64e6\u9664\u64cd\u4f5c\u6765\u64cd\u4f5cflash\u4e86\uff0c\u800c\u4e0d\u9700\u8981\u6ce8\u610f\u548c\u5e95\u5c42flash\u7684\u4e8b\u4ef6\u7684\u4ea4\u4e92\uff0cflash\u6267\u884c\u771f\u6b63\u5b8c\u6210\u65f6\u4f1a\u81ea\u52a8\u8c03\u7528\u6ce8\u518c\u7684\u56de\u8c03\u51fd\u6570\u3002<\/p>\n

\u53ea\u662ffs\u5c01\u88c5\u540e\u63d0\u4f9b\u7684\u64cd\u4f5c\u63a5\u53e3\u8fd8\u662f\u4fdd\u7559\u4e86flash\u64cd\u4f5c\u7684\u7279\u6027\u2014flash\u5fc5\u987b\u662f\u8981\u5148\u64e6\u9664\u540e\u624d\u80fd\u5199\u3002<\/p>\n

\u8fd9\u5c31\u5bfc\u81f4\u4e86\u8fd8\u662f\u6709\u4e00\u5b9a\u7684\u4e0d\u4fbf\u6027\uff0c\u60f3\u66f4\u65b0\u4e00\u4e9b\u6570\u636e\u7684\u65f6\u5019\uff0c\u4f60\u5f97\u5148\u628aflash\u6570\u636e\u8bfb\u51fa\u6765\uff0c\u7136\u540e\u4fee\u6539\uff0c\u64e6\u9664flash\u6700\u540e\u518d\u5199\u56deflash\u3002<\/p>\n

\u5173\u4e8efs \u6a21\u5757\u8fd9\u91cc\u4e0d\u518d\u591a\u4ecb\u7ecd\uff0c\u4e4b\u524d\u7684fs\u51e0\u7bc7\u6587\u7ae0\u5df2\u7ecf\u8be6\u7ec6\u63cf\u8ff0\u4e86fs\u76f8\u5173\u539f\u7406\u548c\u64cd\u4f5c\u3002<\/p>\n

\u2003\u7efc\u4e0a\u4e3a\u4e86\u89e3\u51b3fs\u7684\u4e0d\u4fbf\u6027\uff0csdk\u53c8\u5728fs\u7684\u57fa\u7840\u53c8\u5c01\u88c5\u4e86\u4e00\u5c42\u3002\u5f62\u6210\u4e86FDS\uff0cFDS\u7684\u597d\u5904\u5c31\u662f\u4e0d\u4ec5\u5c4f\u853d\u4e86\u548c\u5e95\u5c42\u534f\u8bae\u6808\u7684\u4e8b\u4ef6\u4ea4\u4e92(\u4ee5\u4e3a\u4ed6\u4f9d\u8d56fs)\uff0c\u540c\u65f6\u4e5f\u5c01\u88c5\u4e86\u66f4\u65b0\u8fd9\u6837\u7684\u64cd\u4f5c\u3002Fds\u5e2e\u7528\u6237\u5904\u7406\u597d\u4e86flash\u7684\u66f4\u65b0\uff0c\u800c\u4e0d\u9700\u8981\u81ea\u5df1\u518d\u53bb\u64e6\u9664flash\u518d\u91cd\u5199\u3002 \u5f53\u7136fds\u8fd8\u63d0\u4f9b\u4e86\u5176\u4ed6\u65b9\u4fbf\u7684\u7279\u6027\uff0c\u6bd4\u5982\u62bd\u8c61\u4e86\u6587\u4ef6\u548c\u8bb0\u5f55\u7684\u6982\u5ff5\u3002\u8fd9\u5bf9\u4e0a\u5c42\u7684\u4e00\u4e9b\u6570\u636e\u7684\u7ec4\u7ec7\u63d0\u4f9b\u4e86\u65b9\u4fbf\u3002\u6bd4\u5982\u4f60\u8981\u5b58\u4e00\u4e2a\u5b66\u6821\u7684\u5b66\u751f\u8bb0\u5f55\uff0c\u53ef\u4ee5\u5c06\u4e00\u4e2a\u73ed\u7ea7\u7684\u5b66\u751ffile ID\u8bbe\u7f6e\u76f8\u540c\uff0crecord id\u6765\u533a\u5206\u4e0d\u540c\u7684\u5b66\u751f\u3002<\/p>\n

\u2003PS:\u90a3\u4e3a\u4ec0\u4e48\u8fd8\u9700\u8981fs\uff1f\u76f4\u63a5\u63d0\u4f9b\u4e00\u4e2afds\u4e0d\u5c31\u53ef\u4ee5\u4e86\uff1f \u56e0\u4e3a\u4f60\u4e0d\u80fd\u9650\u5b9a\u522b\u4eba\u7684\u4f7f\u7528\u65b9\u5f0f\uff0cFDS\u7684\u64cd\u4f5c\u65b9\u4fbf\uff0c\u90a3\u5c31\u5f15\u5165\u4e86\u4e00\u5b9a\u7684\u5c40\u9650\u6027\u3002\u5982\u679c\u64cd\u4f5c\u65b9\u5f0f\uff0c\u6570\u636e\u683c\u5f0f\u7b49\u3002\u5f53\u7136\u5c01\u88c5\u7684\u5c42\u6b21\u8d8a\u591a\uff0c\u901f\u5ea6\u4e0a\u4e5f\u4f1a\u7a0d\u6162\u4e00\u70b9\u3002 Fs\u867d\u7136\u6709\u4e00\u4e9b\u4e0d\u4fbf\u6027\uff0c\u4f46\u662f\u76f8\u5bf9\u66f4\u7075\u6d3b\u3002\u5f53\u7136\u6700\u7075\u6d3b\u7684\u8fd8\u662f\u534f\u8bae\u6808\u76f4\u63a5\u5f00\u653e\u7684api SD\u5f00\u5934\u7684flash\u64cd\u4f5c\u51fd\u6570\u3002 \u5373sdk\u63d0\u4f9b\u4e863\u4e2d\u5927\u7c7b\u7684flash\u64cd\u4f5c\u65b9\u5f0f\uff0c\u64cd\u4f5c\u7ea6\u65b9\u4fbf\u64cd\u4f5c\u7684\u65b9\u5f0f\u7ea6\u53d7\u9650\u3002\u6240\u4ee5\u4e3a\u4e86\u6ee1\u8db3\u4e0d\u540c\u7684\u53ef\u80fd\u7684\u9700\u6c42\uff0c\u6240\u4ee5sdk\u624d\u5c06\u8fd9\u4e09\u79cd\u64cd\u4f5cflash\u7684\u65b9\u5f0f\u90fd\u63d0\u4f9b\u51fa\u6765\u3002<\/p>\n

\u6211\u4eec\u753b\u4e00\u4e0bFDS,FS\u4ee5\u53ca \u534f\u8bae\u6808\u63d0\u4f9b\u7684flash\u64cd\u4f5cAPI\u7684\u5173\u7cfb\uff0c\u65b9\u4fbf\u540e\u9762\u7406\u89e3\u3002<\/p>\n

\"nrf52832-qfaa_nordic52840\u82af\u7247
\"nrf52832-qfaa_nordic52840\u82af\u7247
\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecdFDS\u76f8\u5173\u7684\u4e00\u4e9b\u539f\u7406\u548c\u64cd\u4f5c\u3002<\/p>\n

\u2003FDS\u5c06\u5bf9flash\u64cd\u4f5c\u62bd\u8c61\u6210\u4e86\u7c7b\u4f3cPC\u4e0a\u7684\u5bf9\u6587\u4ef6\u7684\u64cd\u4f5c\u3002\u62bd\u8c61\u51fa\u4e86file ID\u548crecord ID\u8fd9\u4e24\u4e2a\u6982\u5ff5\u3002 \u7b2c\u4e00\u6b21\u5199flash\u65f6\u4e5f\u540c\u65f6\u662f\u8fd9\u4e2a\u5199\u6570\u636e\u7684\u521b\u5efa\u7684\u65f6\u5019\uff0c\u6240\u4ee5\u9700\u8981\u8bbe\u7f6efile id\u548crecord key<\/p>\n

Fds\u7ec4\u7ec7\u7684\u6570\u636e\u5728flash\u4e0a\u4ee5\u8bb0\u5f55\u7684\u5f62\u5f0f\u7ec4\u7ec7\uff0c\u5b9e\u9645\u5b58\u50a8\u7ed3\u6784\u5982\u4e0b\u56fe\uff1a
\"nrf52832-qfaa_nordic52840\u82af\u7247
\u2003File ID<\/strong>\u548c record key<\/strong> \u662f\u6211\u4eec\u4f7f\u7528FDS\u65f6\u9700\u8981\u4f7f\u7528\u7684\u3002\u5bf9\u4e8e\u5f00\u53d1\u8005\u6765\u8bf4file id\u548crecord\u7528\u6765\u6807\u8bc6\u4e00\u4e2a\u8bb0\u5f55\u3002\u5728\u7b2c\u4e00\u6b21\u5c06\u8fd9\u4e2a\u8bb0\u5f55\u5199\u5165flash\u65f6\u5fc5\u987b\u6307\u5b9a\u3002FDS\u5e76\u6ca1\u6709\u8981\u6c42file id\u548crecord key\u7684\u552f\u4e00\u6027\u3002\u4e5f\u5c31\u662f\u4f60\u53ef\u4ee5\u521b\u5efa\u51e0\u4e2a\u8bb0\u5f55\uff0c\u4ed6\u4eec\u7684file id\u548crecord key\u90fd\u6307\u5b9a\u76f8\u540c\u90fd\u4e0d\u4f1a\u6709\u95ee\u9898\u3002<\/p>\n

record key \u4e0d\u80fd\u8bbe\u7f6e\u4e3a0x0000,0x0000\u8868\u793a\u8be5record\u662f\u65e0\u6548\u7684\u3002File ID\u4e0d\u80fd\u8bbe\u7f6e\u4e3a0xFFFF\uff0c0xFFFF\u6807\u8bc6\u65e0\u6548\u7684file id\u3002<\/strong><\/p>\n

\u2003\u56e0\u4e3aFDS\u5e76\u6ca1\u6709\u9650\u5236file id\u548crecord key\u7684\u552f\u4e00\u6027\uff0c\u90a3\u4e48\u5982\u679c\u4f7f\u7528\u7684\u573a\u666f\u4e2d\u7684\u786e\u9700\u8981\u6709\u51e0\u4e2a\u8bb0\u5f55\u6709\u540c\u6837\u7684file id\u548crecord key\uff0c\u90a3\u4e48\u5f53\u60f3\u5220\u9664\u8fd9\u51e0\u4e2a\u8bb0\u5f55\u600e\u4e48\u529e\uff1f\u6240\u4ee5FDS\u5185\u90e8\u7ef4\u62a4\u4e86record id\uff0c\u8be5\u5b57\u6bb5\u5c31\u662f\u6bcf\u4e2a\u8bb0\u5f55\u518dflash\u4e2d\u7684\u552f\u4e00\u6807\u8bc6\uff0c\u7531FDS\u6a21\u5757\u5185\u90e8\u7ef4\u62a4\u3002\u4e0d\u9700\u8981\u5f00\u53d1\u8005\u64cd\u4f5c\u3002\u5f53\u5220\u9664\u51e0\u4e2afile id\u548crecord key\u90fd\u76f8\u540c\u7684\u8bb0\u5f55\u65f6\uff0c\u9700\u8981\u5f00\u53d1\u8005\u81ea\u5df1\u8c03\u7528\u51fd\u6570 \u679a\u4e3e\u627e\u5230\u8fd9\u51e0\u4e2a\u8bb0\u5f55\uff0c\u867d\u7136\u6bcf\u6b21\u67e5\u627e\u65f6\u4f20\u5165\u7684file id \u548crecord key\u90fd\u4e00\u6837\uff0c\u4f46\u662ffds\u8fd4\u56de\u7684\u8bb0\u5f55\u63cf\u8ff0\u7b26\u4e2d\u7684record id\u662f\u4e0d\u540c\u7684\u3002\u518d\u4f9d\u6b21\u4f7f\u7528\u8be5\u8fd4\u56de\u7684\u63cf\u8ff0\u7b26\u5c31\u53ef\u4ee5\u6b63\u786e\u5220\u9664\u8fd9\u4e9b\u540c\u6837file id\u548crecord key\u7684\u8bb0\u5f55\u4e86\u3002<\/p>\n

\u2003\u524d\u9762\u4ecb\u7ecd\u4e86FDS\u76f8\u5bf9\u4e8eFS\u6765\u8bf4\u66f4\u65b9\u4fbf\u4e86\u5f00\u53d1\u8005\u7684\u8c03\u7528\uff0c\u56e0\u4e3a\u5b83\u5c01\u88c5\u4e86\u66f4\u65b0flash\u7684\u51fd\u6570\u63a5\u53e3\uff0c\u60f3\u66f4\u65b0\u67d0\u4e2a\u8bb0\u5f55\u7684\u6570\u636e\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528fds_record_update \u51fd\u6570\u5373\u53ef\u3002FDS\u7684\u5185\u90e8\u5b9e\u73b0\u5bf9\u4e8eupdate\u64cd\u4f5c\u4e5f\u5f88\u5feb\u3002\u56e0\u4e3aFDS\u7684\u66f4\u65b0\u64cd\u4f5c\u5e76\u4e0d\u662f\u771f\u7684\u66f4\u65b0\u8fd9\u4e2a\u65e7\u7684\u6570\u636e\u5757\uff0c\u4ee5\u524d\u7684\u65e7SDK\u6bd4\u5982SDK9\uff0c\u66f4\u65b0\u4e00\u4e2a\u6570\u636e\u4f1a\u5148\u5c06\u6570\u636e\u5757\u8bfb\u53d6\u51fa\u6765\u4fdd\u5b58\u5230\u4ea4\u6362\u533a\uff0c\u518d\u66f4\u65b0\u6570\u636e\uff0c\u6700\u540e\u5c06\u4ea4\u6362\u533a\u6570\u636e\u5199\u56de\u3002 FDS\u7684\u5b9e\u73b0\uff0c\u4e0d\u4f1a\u505a\u8fd9\u4e9b\u64cd\u4f5c\u3002FDS\u66f4\u65b0\u6570\u636e\u65f6\uff0c\u76f4\u63a5\u5f53\u6210\u4e00\u4e2a\u5199\u64cd\u4f5c\uff0c\u5b83\u4f1a\u627e\u5230flash\u4e2d\u6ca1\u7528\u7684\u7a7a\u95f4\uff0c\u7136\u540e\u5199\u5165\u8fd9\u4e2a\u66f4\u65b0\u7684\u6570\u636e\u5185\u5bb9\u3002\u6700\u540e\u76f4\u63a5\u5c06\u65e7\u7684\u6570\u636e\u5757\u7684 record key\u8bbe\u7f6e\u6210\u810f\u6570\u636e\u6807\u8bb00x0000\uff0c\u6807\u8bc6\u6539\u8bb0\u5f55\u65e0\u6548\u7684\u3002\u6240\u4ee5FDS\u7684\u66f4\u65b0\u64cd\u4f5c\u76f8\u5bf9\u4ee5\u524d\u65e7\u7684SDK\u5f88\u5feb\u3002<\/p>\n

\u2003\u540c\u7406\u5220\u9664\u64cd\u4f5c\u7684\u539f\u7406\u4e5f\u662f\u4e00\u6837\uff0c\u5e76\u4e0d\u662f\u771f\u6b63\u7684\u64e6\u6389flash\u4e2d\u7684\u6570\u636e\u800c\u662f\u76f4\u63a5\u5c06\u6570\u636e\u5757\u7684record key<\/strong><\/p>\n

\u2003\u9700\u8981\u6ce8\u610f\u7684\u662f\u5de5\u7a0b\u4e2d\u5e76\u4e0d\u662f\u53ef\u4ee5\u4efb\u610f\u4f7f\u7528file id\u548crecord key\u3002\u9664\u4e86\u524d\u9762\u8bf4\u7684record key =0x0000\u6807\u8bc6\u8be5\u8bb0\u5f55\u65e0\u6548\uff0cfile id=0xffff\u6807\u8bc6\u65e0\u6548\u5916\u5982\u679c\u5de5\u7a0b\u4e2d\u5b58\u5728 Peer Manager.\u6a21\u5757\uff0c\u90a3\u4e48record key\u53ea\u80fd\u4f7f\u75280x0001 - 0xBFFF.0xC000 to 0xFFFF\u662fPM\u6a21\u5757\u5185\u90e8\u4f7f\u7528\u7684\uff0c\u56e0\u4e3aPM\u6a21\u5757\u5185\u90e8\u4e5f\u4f1a\u4f7f\u7528FDS\u8fdb\u884cflash\u64cd\u4f5c\u3002 File id\u53ea\u80fd\u4f7f\u75280x0000 - 0xBFFF. 0xC000 to 0xFFFE\u4e5f\u662fPM\u6a21\u5757\u4f7f\u7528\u4e86\u3002<\/p>\n

\u4e00\u4e9b\u5b8f\u7684\u4ecb\u7ecd<\/h4>\n

FDS\u6a21\u5757\u5185\u90e8\u53c8\u5f88\u591a\u5b8f\u90fd\u662f\u53ef\u914d\u7f6e\u7684\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u66f4\u5177\u81ea\u5df1\u5b9e\u9645\u60c5\u51b5\u914d\u7f6e\u3002\u4e00\u822c\u8fd9\u4e9b\u5b8f\u90fd\u662f\u5728sdk_config.h<\/strong> \u914d\u7f6e\u6587\u4ef6\u4e2d\u3002<\/p>\n

    \n
  • \n

    FDS_OP_QUEUE_SIZE<\/strong>: \u8bbe\u7f6eflash\u64cd\u4f5c\u961f\u5217\u7684\u5927\u5c0f\uff0cflash\u64cd\u4f5c\u90fd\u662f\u5f02\u6b65\u7684\uff0c\u6240\u4ee5\u8c03\u7528fds\u63d0\u4f9bapi\u65f6\uff0c\u5176\u5185\u90e8\u5b9e\u9645\u90fd\u662f\u653e\u5165\u4e00\u4e2a\u64cd\u4f5c\u961f\u5217\u7136\u540e\u4e00\u4e2a\u4e2a\u6267\u884c\u3002\u6240\u4ee5\u5982\u679c\u5e94\u7528\u4e2d\u53ef\u80fd\u6709\u4e00\u4e9b\u5730\u65b9\u4e0d\u4f1a\u7b49\u5f85flash\u64cd\u4f5c\u8fd4\u56de\u7ed3\u679c\u5c31\u8c03\u7528\u591a\u6b21fds\u7684flash\u64cd\u4f5c\u63a5\u53e3\uff0c\u90a3\u4e48\u53ef\u80fd\u9700\u8981\u9002\u5f53\u589e\u5927\u8be5\u5b8f\u7684\u5927\u5c0f\u3002\u5426\u5219\u53ef\u80fd\u56e0\u4e3a\u961f\u5217\u4e2d\u7f13\u5b58\u4e86\u592a\u591aflash\u64cd\u4f5c\u800c\u5bfc\u81f4\u65b0\u8c03\u7528fds\u7684api\u65f6\u8fd4\u56deFDS_ERR_NO_SPACE_IN_QUEUES\u7684\u9519\u8bef\u3002<\/p>\n<\/li>\n

  • \n

    FDS_CHUNK_QUEUE_SIZE<\/strong>:\u8bbe\u7f6e\u5141\u8bb8\u7f13\u5b58\u7684\u8bb0\u5f55\u7684\u5757\u7684\u4e2a\u6570\u3002\u8fd9\u91cc\u7684\u7f13\u5b58\u5e76\u4e0d\u662f\u7f13\u5b58\u5185\u5bb9\u800c\u662f\u7f13\u5b58\u7684\u5730\u5740\uff0c\u540c\u6837\u5982\u679cfds\u7ecf\u5e38\u8fd4\u56deFDS_ERR_NO_SPACE_IN_QUEUES\u9519\u8bef\u65f6\uff0c\u4e5f\u53ef\u5c1d\u8bd5\u589e\u5927\u8be5\u5b8f\u5927\u5c0f<\/p>\n<\/li>\n

  • \n

    FDS_VIRTUAL_PAGE_SIZE<\/strong>: FDS\u6a21\u5757\u5c42\u9762\u7684\u865a\u62df\u9875\u7684\u5927\u5c0f\u3002\u901a\u5e38\u5c31\u662f\u7269\u7406\u9875\u5927\u5c0f\u4e0d\u9700\u8981\u6539\u3002\u5982\u679c\u5e94\u7528\u4e2d\u7684\u4e00\u4e2a\u8bb0\u5f55\u5927\u5c0f\u8d85\u8fc7\u8be5\u5927\u5c0f\uff0c\u8fd9\u91cc\u9700\u8981\u4fee\u6539\u589e\u5927\u3002<\/p>\n<\/li>\n

  • \n

    FDS_VIRTUAL_PAGES<\/strong>: \u5b9a\u4e49\u4e86\u865a\u62df\u9875\u7684\u4e2a\u6570\uff0c\u901a\u5e38\u4e5f\u4e0d\u9700\u8981\u4fee\u6539\u3002\u5982\u679c\u5b58\u50a8\u7684\u603b\u6570\u636e\u91cf\u6bd4\u8f83\u5927\uff0c\u5219\u9700\u8981\u9002\u5f53\u589e\u5927\u3002<\/p>\n<\/li>\n

  • \n

    FDS_MAX_USERS<\/strong>: \u56de\u8c03\u51fd\u6570\u6700\u5927\u53ef\u6ce8\u518c\u6570\u3002\u53ef\u80fd\u6709\u4e0d\u540c\u7684\u6a21\u5757\u90fd\u9700\u8981\u5b58\u50a8\u81ea\u5df1\u7684Flash\u6570\u636e\uff0c\u6240\u4ee5\u6bcf\u4e2a\u6a21\u5757\u90fd\u9700\u8981\u6ce8\u518c\u81ea\u5df1\u7684flash\u56de\u8c03\u51fd\u6570\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"nrf52832-qfaa_nordic52840\u82af\u7247FDS\uff08FlashDataStorage\u6a21\u5757\u662fsdk\u4e2d\u63d0\u4f9b\u7684\u64cd\u4f5cflash\u7684\u6a21\u5757","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6014"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=6014"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/6014\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=6014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=6014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=6014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}