platformio.ini 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. ; PlatformIO project for the WaveShare ESP32-S3-RLCD-4.2 indoor/outdoor
  2. ; temperature and clock display.
  3. ;
  4. ; pio run build
  5. ; pio run -t upload build + flash
  6. ; pio device monitor serial log at 115200
  7. [env:esp32-s3-rlcd-42]
  8. ; Pinned. src/audio.cpp uses the legacy driver/i2s.h API, which arduino-esp32
  9. ; 3.x (IDF 5) removed in favour of driver/i2s_std.h. Floating this version
  10. ; would break the microphone capture on the next platform release, so the
  11. ; upgrade needs to be a deliberate edit to audio.cpp, not a surprise.
  12. platform = espressif32@6.5.0
  13. board = esp32-s3-devkitc-1
  14. framework = arduino
  15. ; 16 MB flash and 8 MB octal PSRAM, as fitted on the WaveShare board
  16. ; (ESP32-S3-WROOM-1-N16R8). qio_opi is what selects octal PSRAM.
  17. board_build.flash_mode = qio
  18. board_build.arduino.memory_type = qio_opi
  19. board_build.partitions = default_16MB.csv
  20. board_upload.flash_size = 16MB
  21. board_upload.maximum_size = 16777216
  22. monitor_speed = 115200
  23. monitor_filters = esp32_exception_decoder
  24. upload_speed = 921600
  25. lib_deps =
  26. olikraus/U8g2 @ ^2.35.30
  27. bblanchon/ArduinoJson @ ^7.0.4
  28. build_flags =
  29. -DARDUINO_USB_CDC_ON_BOOT=1
  30. -DARDUINO_USB_MODE=1
  31. -DBOARD_HAS_PSRAM
  32. -DCORE_DEBUG_LEVEL=3