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