{"id":994,"date":"2021-02-28T21:24:00","date_gmt":"2021-02-28T13:24:00","guid":{"rendered":"https:\/\/www.iotch.xyz\/?p=994"},"modified":"2021-02-28T21:24:00","modified_gmt":"2021-02-28T13:24:00","slug":"mac%e5%88%a9%e7%94%a8arduino%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7%e6%97%a0%e6%b3%95%e5%86%99%e5%85%a5esp8266%e7%a8%8b%e5%ba%8f%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.iotch.xyz\/?p=994","title":{"rendered":"mac\u5229\u7528Arduino\u5f00\u53d1\u5de5\u5177\u65e0\u6cd5\u5199\u5165esp8266\u7a0b\u5e8f\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"\n<p>\u5c0f\u7f16\u4eca\u5929\u5728\u5229\u7528Arduino\u5f00\u53d1\u5de5\u5177\u5f00\u53d1esp8266\u7684\u7a0b\u5e8f\u7684\u65f6\u5019\uff0c\u53d1\u73b0\u65e0\u6cd5\u5199\u5165\uff0c\u51fa\u73b0\u8fd9\u6837\u7684\u9519\u8bef<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u95ee\u9898\uff1a\nExecutable segment sizes:\nIROM   : 243180          - code in flash         (default or ICACHE_FLASH_ATTR)\nIRAM   : 26888   \/ 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)\nDATA   : 1264  )         - initialized variables (global, static) in RAM\/HEAP\nRODATA : 964   ) \/ 81920 - constants             (global, static) in RAM\/HEAP\nBSS    : 24968 )         - zeroed variables      (global, static) in RAM\/HEAP\n\u9879\u76ee\u4f7f\u7528\u4e86 272296 \u5b57\u8282\uff0c\u5360\u7528\u4e86 (26%) \u7a0b\u5e8f\u5b58\u50a8\u7a7a\u95f4\u3002\u6700\u5927\u4e3a 1044464 \u5b57\u8282\u3002\n\u5168\u5c40\u53d8\u91cf\u4f7f\u7528\u4e8627196\u5b57\u8282\uff0c(33%)\u7684\u52a8\u6001\u5185\u5b58\uff0c\u4f59\u755954724\u5b57\u8282\u5c40\u90e8\u53d8\u91cf\u3002\u6700\u5927\u4e3a81920\u5b57\u8282\u3002\npyserial or esptool directories not found next to this upload.py tool.<\/code><\/pre>\n\n\n\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<br>\u6253\u5f00 arduino esp8266 sdk \u76ee\u5f55: <code>~\/Library\/Arduino15\/packages\/esp8266\/hardware\/esp8266\/2.7.4\/tools\/<\/code><br>\u6253\u5f00\u6d4f\u89c8\u5668\u4e0b\u8f7d\u6700\u65b0\u7248 esptool \u548c pyserial<br>\u4e0b\u8f7d\u5730\u5740\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;github.com\/espressif\/esptool\/archive\/v3.0.zip\nhttps:\/\/github.com\/pyserial\/pyserial\/archive\/v3.4.zip<\/code><\/pre>\n\n\n\n<p>\u89e3\u538b\u540e\uff0c\u628a\u6587\u4ef6\u5939\u91cd\u547d\u540d\u4e3aesptool\u548cpyserial\uff0c\u7136\u540e\u76f4\u63a5\u66ff\u6362\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p>\u539f\u6587\u8fde\u63a5\uff1a<a href=\"https:\/\/ww\" target=\"_blank\" rel=\"noreferrer noopener\" rel=\"nofollow\" >https:\/\/www.sunxiaoning.com\/iot\/1198.html<\/a><\/p>\n<button class=\"simplefavorite-button\" data-postid=\"994\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u7f16\u4eca\u5929\u5728\u5229\u7528Arduino\u5f00\u53d1\u5de5\u5177\u5f00\u53d1esp8266\u7684\u7a0b\u5e8f\u7684\u65f6\u5019\uff0c\u53d1\u73b0\u65e0\u6cd5\u5199\u5165\uff0c\u51fa\u73b0\u8fd9\u6837\u7684\u9519\u8bef \u89e3\u51b3\u529e\u6cd5\uff1a\u6253\u5f00 arduino  &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-994","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=994"}],"version-history":[{"count":0,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=\/wp\/v2\/posts\/994\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iotch.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}