platformio.ini 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [platformio]
  2. boards_dir = boards
  3. [env:max80]
  4. platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
  5. board_bootloader.file = bootloader_qio_80m.bin
  6. board = max80
  7. framework = arduino
  8. platform_packages =
  9. platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.2
  10. #2.0.0-rc1
  11. board_build.mcu = esp32s2
  12. description = MAX80
  13. lib_deps =
  14. https://git.sweproj.com/pm/esp32S2-usb-host-library.git
  15. me-no-dev/AsyncTCP
  16. https://github.com/me-no-dev/ESPAsyncWebServer.git#master
  17. https://git.sweproj.com/pm/AsyncElegantOTAKEY80.git#master
  18. https://git.sweproj.com/pm/WebSerialKEY80.git
  19. https://github.com/bblanchon/ArduinoJson.git#5.x
  20. https://github.com/lorol/LITTLEFS.git#master
  21. https://git.sweproj.com/pm/ElegantOTAKEY80.git#master
  22. hideakitai/ESP32DMASPI@^0.2.0
  23. # https://github.com/khoih-prog/ESPAsync_WiFiManager#master
  24. #emard/LibXSVF@^1.0.0
  25. upload_port = /dev/ttyACM0
  26. monitor_port = /dev/ttyACM0
  27. monitor_speed = 115200
  28. build_type = debug
  29. board_build.partitions = variants/max80/partitions.csv
  30. BUILD_FLAGS = -I$PROJECT_DIR/boards/max80 -w
  31. '-DCORE_HAS_LIBB64'
  32. '-DCORE_DEBUG_LEVEL=5'
  33. '-DLOG_LOCAL_LEVEL=5'
  34. '-DHWVER=102'