2024-04-04 07:51:11 +00:00
|
|
|
; 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
|
2024-04-04 12:32:56 +00:00
|
|
|
lib_deps =
|
|
|
|
adafruit/Adafruit MPU6050@^2.2.6
|
|
|
|
esphome/ESPAsyncWebServer-esphome@^3.1.0
|
2024-04-04 09:29:54 +00:00
|
|
|
|
2024-04-04 12:32:56 +00:00
|
|
|
; 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.
|