; SPDX-License-Identifier: GPL-3.0-only ; OpenScribe firmware - PlatformIO project. ; Two build profiles: a dev board (Build B) and the compact XIAO ESP32-S3 (Build A). ; See ../hardware/BOM.md for the matching hardware and pinout. [platformio] default_envs = esp32s3_dev src_dir = src include_dir = include [env] platform = espressif32 framework = arduino monitor_speed = 115200 build_flags = -DCORE_DEBUG_LEVEL=3 ; PSRAM is required for audio ring buffers -DBOARD_HAS_PSRAM lib_deps = ; JSON for the on-device REST API (M2). I2S/SD/WiFi/WebServer/mDNS/Preferences are all ; bundled with the Arduino-ESP32 core, so no other deps are needed yet. bblanchon/ArduinoJson@^7.0 ; --- Build B: ESP32-S3 dev board with PSRAM (N16R8), external I2S mic + SD --- [env:esp32s3_dev] board = esp32-s3-devkitc-1 board_build.arduino.memory_type = qio_opi build_flags = ${env.build_flags} -DOPENSCRIBE_BOARD_DEV=1 ; --- Build A: Seeed XIAO ESP32-S3 (Sense) - compact wearable, onboard PDM mic + SD --- [env:xiao_esp32s3] board = seeed_xiao_esp32s3 build_flags = ${env.build_flags} -DOPENSCRIBE_BOARD_XIAO=1