; 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:esp32-s3-waveshare8]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip
board = esp32-s3-waveshare8
framework = arduino
lib_deps = 
	bblanchon/ArduinoJson@^7.4.2
	arduino-libraries/NTPClient@^3.2.1
	knolleary/PubSubClient@^2.8
	robtillaart/CRC@^1.0.3
	hideakitai/DebugLog@^0.8.4

[env:esp32-s3-waveshare8-debug]
platform = ${env:esp32-s3-waveshare8.platform}
board = ${env:esp32-s3-waveshare8.board}
framework = ${env:esp32-s3-waveshare8.framework}
lib_deps = 
	bblanchon/ArduinoJson@^7.4.2
	arduino-libraries/NTPClient@^3.2.1
	knolleary/PubSubClient@^2.8
	robtillaart/CRC@^1.0.3
	hideakitai/DebugLog@^0.8.4
build_type = debug
build_flags =
    -O0
    -g3
    -ggdb
    -fno-inline
    -fno-ipa-sra
    -fno-tree-sra
    -fno-builtin
