{"id":1104,"date":"2026-03-06T14:22:22","date_gmt":"2026-03-06T14:22:22","guid":{"rendered":"https:\/\/www.martyndavis.com\/?p=1104"},"modified":"2026-03-20T03:35:00","modified_gmt":"2026-03-20T03:35:00","slug":"littlefs-missing-when-compiling-with-esphome","status":"publish","type":"post","link":"https:\/\/www.martyndavis.com\/?p=1104","title":{"rendered":"&#8220;littlefs&#8221; Missing When Compiling with ESPHome"},"content":{"rendered":"<p>If you&#8217;ve got ESPHome installed on an Apple Silicon Mac via Homebrew, you might have noticed a compilation error complaining about <strong>littlefs<\/strong> missing on all projects.<\/p>\n<p>I haven&#8217;t dug too deeply into this. I suspect it&#8217;s a Homebrew dependency issue, but the solution was to go to the following directory (note this might change depending on the version of ESPHome you have installed):<\/p>\n<pre>cd \/opt\/homebrew\/Cellar\/esphome\/2026.3.0\/libexec\/bin<\/pre>\n<p>Then run the following commands:<\/p>\n<pre><code>.\/python3 -m pip install littlefs-python\r\n\r\n.\/python3 -m pip install fatfs-ng<\/code><\/pre>\n<p>Until the homebrew dependency (if that is indeed the issue) is resolved, you&#8217;ll need to do this each time ESPHome gets updated via homebrew.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve got ESPHome installed on an Apple Silicon Mac via Homebrew, you might have noticed a compilation error complaining about littlefs missing on all projects. I haven&#8217;t dug too deeply into this. I suspect it&#8217;s a Homebrew dependency issue, but the solution was to go to the following directory (note this might change depending &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.martyndavis.com\/?p=1104\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;&#8220;littlefs&#8221; Missing When Compiling with ESPHome&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/posts\/1104"}],"collection":[{"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1104"}],"version-history":[{"count":4,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/posts\/1104\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=\/wp\/v2\/posts\/1104\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.martyndavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}