platformio.ini 956 B

1234567891011121314151617181920212223242526272829303132333435
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; https://docs.platformio.org/page/projectconf.html
  10. [platformio]
  11. default_envs = esp32
  12. [env]
  13. framework = arduino
  14. [env:esp32]
  15. platform = espressif32
  16. ;platform = https://github.com/platformio/platform-espressif32.git
  17. ;board_build.mcu = esp32
  18. platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
  19. build_flags =
  20. ${env.build_flags}
  21. -D=${PIOENV}
  22. ;-D CONFIG_LITTLEFS_FOR_IDF_3_2
  23. lib_deps = https://github.com/lorol/LITTLEFS.git
  24. board = esp32dev
  25. ;board_build.partitions = partitions_custom.csv
  26. monitor_filters = esp32_exception_decoder
  27. monitor_speed = 115200
  28. extra_scripts = ./littlefsbuilder.py