platformio.ini 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. [common]
  11. release_version = 0.01
  12. debug_level = ESP_LOG_DEBUG
  13. core_debug_level = 3
  14. extra_scripts = pre:build.py
  15. description = SweProj Gotek
  16. [env:SweFlops]
  17. platform = espressif32 @ 6.9.0
  18. board = esp32-s3-devkitm-1
  19. board_build.mcu = esp32s3
  20. board_build.f_cpu = 240000000L
  21. framework = arduino
  22. lib_deps = https://github.com/tzapu/WiFiManager
  23. https://git.sweproj.com/sweproj.com/SdFat/archive/1.1.4.zip
  24. ESP32WebServer
  25. fbiego/ESP32Time@^2.0.0
  26. NTPClient
  27. https://github.com/bblanchon/ArduinoJson
  28. ESP32Time
  29. https://github.com/gutierrezps/ESP32_I2C_Slave
  30. Wire
  31. build_type = debug
  32. build_flags =
  33. -DCONFIG_MBEDTLS_DYNAMIC_BUFFER=1
  34. -w
  35. '-DCORE_DEBUG_LEVEL=${common.core_debug_level}'
  36. '-DLOG_LOCAL_LEVEL=${common.debug_level}'
  37. '-DPROGVERSION="${common.release_version}"'
  38. '-DGOTEK_VERSION=0.01'
  39. monitor_port = /dev/ttyUSB0
  40. monitor_speed = 115200
  41. upload_speed = 921600
  42. upload_port = /dev/ttyUSB0
  43. monitor_filters = esp32_exception_decoder
  44. debug_tool = jlink
  45. debug_init_break = tbreak setup