; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = esp32

[extra]
lib_deps = 

[env:esp32]
platform = espressif32
board = esp-wrover-kit
framework = arduino
upload_speed = 921600
build_flags = -DCORE_DEBUG_LEVEL=5 -DCONFIG_ARDUHAL_LOG_COLORS=1 ; !./build_version.sh
lib_deps = 
	${extra.lib_deps}
	esphome/ESP32-audioI2S@^2.1.0
	computer991/Arduino_MFRC522v2@^2.0.1
;upload_port = 10.10.2.108
monitor_speed = 115200
monitor_port = /dev/cu.usbserial-0001
monitor_filters = time, esp32_exception_decoder

[env:deploy]
platform = espressif32
board = esp-wrover-kit
framework = arduino
lib_deps = 
	${extra.lib_deps}
	esphome/ESP32-audioI2S@^2.1.0
	computer991/Arduino_MFRC522v2@^2.0.1
board_build.embed_txtfiles = src/index.html
board_build.partitions = partitions.csv