; 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

[env:ulanzi]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev
board_build.partitions = awtrix_partition.csv
upload_speed = 921600
framework = arduino
build_flags = -DULANZI -D MQTT_MAX_PACKET_SIZE=1024
lib_deps = 
	adafruit/Adafruit SHT31 Library@^2.2.0
	bblanchon/ArduinoJson@^6.20.0
	evert-arias/EasyButton@^2.0.1
	fastled/FastLED@^3.5.0
	marcmerlin/FastLED NeoMatrix@^1.2
	knolleary/PubSubClient@^2.8
	plerup/EspSoftwareSerial@^8.0.1

[env:awtrix_upgrade]
platform = https://github.com/platformio/platform-espressif32.git
board = wemos_d1_mini32
board_build.partitions = awtrix_partition.csv
upload_speed = 921600
framework = arduino
build_flags = -DAWTRIX_UPGRADE -D MQTT_MAX_PACKET_SIZE=1024
lib_deps = 
	adafruit/Adafruit BME280 Library@^2.2.2
	bblanchon/ArduinoJson@^6.20.0
	evert-arias/EasyButton@^2.0.1
	fastled/FastLED@^3.5.0
	marcmerlin/FastLED NeoMatrix@^1.2
	knolleary/PubSubClient@^2.8
	plerup/EspSoftwareSerial@^8.0.1
