{"id":158860,"date":"2024-06-12T17:58:12","date_gmt":"2024-06-12T17:58:12","guid":{"rendered":"https:\/\/randomnerdtutorials.com\/?p=158860"},"modified":"2024-06-12T17:58:14","modified_gmt":"2024-06-12T17:58:14","slug":"esp32-vs-code-platformio-littlefs","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/esp32-vs-code-platformio-littlefs\/","title":{"rendered":"ESP32 with VS Code and PlatformIO: Upload Files to LittleFS Filesystem"},"content":{"rendered":"\n<p>Learn how to upload files to the ESP32 LittleFS filesystem using VS Code with the PlatformIO IDE extension. Using the filesystem with the ESP32 can be useful to save .txt, HTML, CSS and JavaScript files to build a web server instead of having to write everything inside the Arduino sketch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"ESP32 with VS Code and PlatformIO: Upload Files to LittleFS Filesystem\" class=\"wp-image-158870\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?w=1920&amp;quality=100&amp;strip=all&amp;ssl=1 1920w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?resize=1536%2C864&amp;quality=100&amp;strip=all&amp;ssl=1 1536w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<p>If you&#8217;re using Arduino IDE follow this tutorial instead: <a href=\"https:\/\/randomnerdtutorials.com\/arduino-ide-2-install-esp32-littlefs\/\">Arduino IDE 2: Install ESP32 LittleFS Uploader (Upload Files to the Filesystem)<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"introduction\">Introducing LittleFS<\/h2>\n\n\n\n<p>LittleFS is a lightweight filesystem created for microcontrollers that lets you access the flash memory as you do in a standard file system on your computer, but it\u2019s simpler and more limited. You can read, write, close, and delete files. Using LittleFS with the ESP32 boards is useful to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create configuration files with settings;<\/li>\n\n\n\n<li>Save data permanently;<\/li>\n\n\n\n<li>Create files to save small amounts of data instead of using a microSD card;<\/li>\n\n\n\n<li>Save HTML, CSS, and JavaScript files to build a web server;<\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/display-images-esp32-esp8266-web-server\/\">Save images, figures, and icons<\/a>;<\/li>\n\n\n\n<li>And much more.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Upload Files to ESP32 LittleFS<\/h2>\n\n\n\n<p>The files you want to upload to the ESP32 filesystem should be placed in a folder called <strong><em>data<\/em> <\/strong>at the same level as the <em><strong>src <\/strong><\/em>folder in PlaformIO. To understand how everything works, we&#8217;ll upload a <span class=\"rnthl rntliteral\">.txt<\/span> file with some random text. You can upload any other file type.<\/p>\n\n\n\n<p>If you&#8217;re not familiar with VS Code + PlatformIO IDE, follow the next tutorial first:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/vs-code-platformio-ide-esp32-esp8266-arduino\/\">Getting Started with VS Code and PlatformIO IDE for ESP32 and ESP8266<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Using LittleFS as Default Filesystem<\/h3>\n\n\n\n<p>SPIFFS is currently deprecated and may be removed in future releases of the ESP32 core. It is recommended to use LittleFS instead. LittleFS is under active development, supports directories, and is many times faster for most operations. We&#8217;ll use LittleFS in this tutorial.<\/p>\n\n\n\n<p>In VS Code + PlatformIO, when uploading files, we must specify that we want to use LittleFS filesystem instead of SPIFFS (default), so you need to add the following line to the ESP32 <span class=\"rnthl rntliteral\"><strong><em>platformio.ini<\/em><\/strong><\/span> configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-code language-c\"><code>board_build.filesystem = littlefs<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"743\" height=\"355\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Set-LittleFS-Default-Filesystem.png?resize=743%2C355&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Use LittleFS as default filesystem ESP32 VS Code + PlatformIO\" class=\"wp-image-158861\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Set-LittleFS-Default-Filesystem.png?w=743&amp;quality=100&amp;strip=all&amp;ssl=1 743w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Set-LittleFS-Default-Filesystem.png?resize=300%2C143&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Creating a data Folder<\/h3>\n\n\n\n<p>Create a folder called <em>data <\/em>inside your project folder. It must be at the same level as the <em><strong>src <\/strong><\/em>folder. This can be done on VS Code.<\/p>\n\n\n\n<p>With your mouse, select the project folder you\u2019re working on. Click on the <strong>New Folder<\/strong> icon to create a new folder.<\/p>\n\n\n\n<p>This new folder must be called <em>data<\/em>, otherwise, it won\u2019t work.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"750\" height=\"279\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/esp32-create-data-folder-vs-code.png?resize=750%2C279&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Create a data folder VS Code PlatformIO ESP8266\" class=\"wp-image-158862\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/esp32-create-data-folder-vs-code.png?w=750&amp;quality=100&amp;strip=all&amp;ssl=1 750w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/esp32-create-data-folder-vs-code.png?resize=300%2C112&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<p>Then, select the newly created <em><strong>data <\/strong><\/em>folder and create the files you want to upload by clicking on the <strong>New File<\/strong> icon. In this example, we&#8217;ll create a file called <span class=\"rnthl rntliteral\">text.txt<\/span>. You can create and upload any other file types like <em>.html<\/em>, <em>.css<\/em> or <em>.js<\/em> files, for example.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"357\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-file-under-data-folder-vs-code-esp32.png?resize=681%2C357&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Create files under data folder VS Code with PlatformIO ESP32\" class=\"wp-image-158863\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-file-under-data-folder-vs-code-esp32.png?w=681&amp;quality=100&amp;strip=all&amp;ssl=1 681w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-file-under-data-folder-vs-code-esp32.png?resize=300%2C157&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/figure><\/div>\n\n\n<p>Write some random text inside that <span class=\"rnthl rntliteral\">.txt<\/span> file.<\/p>\n\n\n\n<p>The <em>data <\/em>folder should be under the project folder and the files you want to upload should be inside the <em>data <\/em>folder. Otherwise, it won&#8217;t work.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"428\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-txt-file-vs-code-esp32.png?resize=793%2C428&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Create text file VS Code PlatformIO ESP32\" class=\"wp-image-158864\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-txt-file-vs-code-esp32.png?w=793&amp;quality=100&amp;strip=all&amp;ssl=1 793w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-txt-file-vs-code-esp32.png?resize=300%2C162&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/create-txt-file-vs-code-esp32.png?resize=768%2C415&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 793px) 100vw, 793px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Uploading Filesystem Image<\/h3>\n\n\n\n<p>After creating and saving the file or files you want to upload under the <strong><em>data<\/em> <\/strong>folder, follow the next steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the PIO icon at the left side bar. The project tasks should open.<\/li>\n\n\n\n<li>Select <strong>esp32doit-devkit-v1<\/strong> (it may different depending on the board you\u2019re using).<\/li>\n\n\n\n<li>Expand the <strong>Platform <\/strong>menu.<\/li>\n\n\n\n<li>Select <strong>Build Filesyste<\/strong>m Image.<\/li>\n\n\n\n<li>Finally, click <strong>Upload Filesystem Image<\/strong>.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"492\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/upload-filesystem-image-esp32-vs-code.png?resize=798%2C492&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Upload Filesystem Image VS Code PlatformIO ESP32\" class=\"wp-image-158865\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/upload-filesystem-image-esp32-vs-code.png?w=798&amp;quality=100&amp;strip=all&amp;ssl=1 798w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/upload-filesystem-image-esp32-vs-code.png?resize=300%2C185&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/upload-filesystem-image-esp32-vs-code.png?resize=768%2C474&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/figure><\/div>\n\n\n<p class=\"rntbox rntcred\"><strong>Important: <\/strong> to upload the filesystem image successfully you must close all serial<br>connections (Serial Monitor) with your board.<\/p>\n\n\n\n<p>After a while, you should get a success message.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"530\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/uploading-to-littlefs-successfull-esp32-vs-code-platformio.png?resize=948%2C530&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Upload filesystem image ESP32 VS Code PlatformIO success message\" class=\"wp-image-158866\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/uploading-to-littlefs-successfull-esp32-vs-code-platformio.png?w=948&amp;quality=100&amp;strip=all&amp;ssl=1 948w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/uploading-to-littlefs-successfull-esp32-vs-code-platformio.png?resize=300%2C168&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/uploading-to-littlefs-successfull-esp32-vs-code-platformio.png?resize=768%2C429&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 948px) 100vw, 948px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Troubleshooting<\/h3>\n\n\n\n<p>Here&#8217;s a common mistake:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Could not open port &#8220;COMX&#8221; Access is denied.<\/h4>\n\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"162\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/Upload-filesystem-image-permission-error-ESP8266.jpg?resize=590%2C162&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Upload filesystem image ESP32 VS Code PlatformIO Access Denied Error ESP8266\" class=\"wp-image-100853\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/Upload-filesystem-image-permission-error-ESP8266.jpg?w=590&amp;quality=100&amp;strip=all&amp;ssl=1 590w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/Upload-filesystem-image-permission-error-ESP8266.jpg?resize=300%2C82&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 590px) 100vw, 590px\" \/><\/figure><\/div>\n\n\n<p>This error means you have a serial connection opened with your board in VS Code or in any other program. Close any program that might be using the board serial port, and make sure you close all serial connections in VS Code (click on the recycle bin icon on the terminal console).<\/p>\n\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"40\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/VS-Code-PlatformIO-Close-Terminal-Window.jpg?resize=698%2C40&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"VS Code PlatformIO Close Terminal Window\" class=\"wp-image-100828\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/VS-Code-PlatformIO-Close-Terminal-Window.jpg?w=698&amp;quality=100&amp;strip=all&amp;ssl=1 698w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2020\/12\/VS-Code-PlatformIO-Close-Terminal-Window.jpg?resize=300%2C17&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Testing<\/h2>\n\n\n\n<p>Now, let\u2019s just check if the file was actually saved into the ESP32 LittleFS filesystem. Copy the following code to the <span class=\"rnthl rntliteral\">main.cpp<\/span> file and upload it to your board.<\/p>\n\n\n<pre style=\"max-height: 40em; margin-bottom: 20px;\"><code class=\"language-c\">\/*********\n  Rui Santos &amp; Sara Santos - Random Nerd Tutorials\n  Complete project details at https:\/\/RandomNerdTutorials.com\/esp32-vs-code-platformio-littlefs\/\n*********\/\n\n#include &lt;Arduino.h&gt;\n#include &quot;LittleFS.h&quot;\n \nvoid setup() {\n  Serial.begin(9600);\n  \n  if(!LittleFS.begin(true)){\n    Serial.println(&quot;An Error has occurred while mounting LittleFS&quot;);\n    return;\n  }\n  \n  File file = LittleFS.open(&quot;\/text.txt&quot;);\n  if(!file){\n    Serial.println(&quot;Failed to open file for reading&quot;);\n    return;\n  }\n  \n  Serial.println(&quot;File Content:&quot;);\n  while(file.available()){\n    Serial.write(file.read());\n  }\n  file.close();\n}\n \nvoid loop() {\n\n}\n<\/code><\/pre>\n\t<p style=\"text-align:center\"><a class=\"rntwhite\" href=\"https:\/\/github.com\/RuiSantosdotme\/Random-Nerd-Tutorials\/raw\/master\/Projects\/ESP32\/ESP32_VS_Code_LittleFS_Test.ino\" target=\"_blank\">View raw code<\/a><\/p>\n\n\n\n<p>You may need to change the following line depending on the name of your file.<\/p>\n\n\n\n<pre class=\"wp-block-code language-c\"><code>File file = LittleFS.open(\"\/text.txt\");<\/code><\/pre>\n\n\n\n<p>Open the Serial Monitor and it should print the content of your file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"236\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-reading-file-content-LittleFS-Platformio.png?resize=650%2C236&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Reading File Content LittleFS ESP8266 VS Code PlatformIO\" class=\"wp-image-158867\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-reading-file-content-LittleFS-Platformio.png?w=650&amp;quality=100&amp;strip=all&amp;ssl=1 650w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-reading-file-content-LittleFS-Platformio.png?resize=300%2C109&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/figure><\/div>\n\n\n<p>You&#8217;ve successfully uploaded files to the ESP32 filesystem (LittleFS) using VS Code + PlatformIO.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>With this tutorial you&#8217;ve learned how to upload files to the ESP32 LittleFS filesystem (LittleFS) using VS Code + PlatformIO. It is quick and easy.<\/p>\n\n\n\n<p>This can be useful to upload HTML, CSS, and JavaScript files to build web server projects with the ESP32 boards. <a href=\"https:\/\/randomnerdtutorials.com\/esp32-vs-code-platformio-spiffs\/\" title=\"\">If you prefer to use SPIFFS filesystem you can check this tutorial instead<\/a>.<\/p>\n\n\n\n<p>We have a similar tutorial for the ESP8266: <a href=\"https:\/\/randomnerdtutorials.com\/esp8266-nodemcu-vs-code-platformio-littlefs\/\">ESP8266 NodeMCU with VS Code and PlatformIO: Upload Files to Filesystem (LittleFS)<\/a><\/p>\n\n\n\n<p>Learn more about the ESP32 with our resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/learn-esp32-with-arduino-ide\/\">Learn ESP32 with Arduino IDE (eBook)<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/smart-home-ebook\/\">SMART HOME with Raspberry Pi, ESP32, and ESP8266 eBook<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/build-web-servers-esp32-esp8266-ebook\/\">Build Web Servers with ESP32 and ESP8266 eBook<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/projects-esp32\/\"><strong>Free ESP32 Guides and Tutorials<\/strong><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to upload files to the ESP32 LittleFS filesystem using VS Code with the PlatformIO IDE extension. Using the filesystem with the ESP32 can be useful to save .txt, &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"ESP32 with VS Code and PlatformIO: Upload Files to LittleFS Filesystem\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/esp32-vs-code-platformio-littlefs\/#more-158860\" aria-label=\"Read more about ESP32 with VS Code and PlatformIO: Upload Files to LittleFS Filesystem\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":5,"featured_media":158870,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[276,281,277,299,264],"tags":[],"class_list":["post-158860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esp32","category-esp32-project","category-esp32-arduino-ide","category-0-esp32","category-project"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2024\/06\/ESP32-VS-Code-Plaformio-Upload-Files-LittleFS.jpg?fit=1920%2C1080&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/158860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=158860"}],"version-history":[{"count":5,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/158860\/revisions"}],"predecessor-version":[{"id":158874,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/158860\/revisions\/158874"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/158870"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=158860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=158860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=158860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}