; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options: dependencies, extra library storages ; Advanced options: extra scripting ; ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html [env:upesy_wroom] platform = espressif32 board = upesy_wroom framework = arduino lib_deps = adafruit/Adafruit MPU6050@^2.2.6 esphome/ESPAsyncWebServer-esphome@^3.1.0 ; When using SPIFFS, we once more have to add something here: board_build.partitions = src/default_2MB.csv ; Replace after the "=" with the link to the csv file. ; Which doesn't have to be in src if you dislike the src folder being too cramped. ; Great! Now you have SPIFFS all set up and ready to use. ; But wait, the compilation fails? ; Indeed it does. PlatformIO wants you to MANUALLY build the SPIFFS filesystem. ; Click on the PlatformIO Icon in the sidebar, and check out "Project tasks". From there, do these simple things step by step: ; -> "upesy_wroom" (or whatever board image you are using) -> "Platform" -> "Build Filesystem Image" ; Wait for the build to complete... ; -> "Upload Filesystem Image" ; And now you are done. The earlier steps I just described might not work when the .csv is incorrect or faulty, or too little / much memory is used. ; If correcting the uploaded, click "Erase Flash" first before rebuilding and flashing the ESP new.