-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up platformio.ini. Move common definitions into the [env] section.
- Loading branch information
Showing
1 changed file
with
26 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,24 +8,16 @@ | |
; Please visit documentation for the other options and examples | ||
; https://docs.platformio.org/page/projectconf.html | ||
|
||
[env:ulanzi] | ||
platform = [email protected] | ||
board = esp32dev | ||
upload_speed = 921600 | ||
[platformio] | ||
default_envs = ulanzi | ||
|
||
[env] | ||
framework = arduino | ||
board_build.f_cpu = 240000000L | ||
upload_speed = 921600 | ||
monitor_speed = 115200 | ||
build_flags = | ||
-DULANZI | ||
-DMQTT_MAX_PACKET_SIZE=8192 | ||
-D CORE_DEBUG_LEVEL=0 | ||
-D NDEBUG | ||
-Wno-attributes | ||
-Os | ||
-fno-exceptions | ||
monitor_filters = esp32_exception_decoder | ||
lib_deps = | ||
adafruit/Adafruit SHT31 Library@^2.2.0 | ||
bblanchon/ArduinoJson@^6.20.0 | ||
evert-arias/[email protected] | ||
fastled/FastLED@^3.6.0 | ||
|
@@ -35,13 +27,24 @@ lib_deps = | |
luisllamasbinaburo/MedianFilterLib@^1.0.0 | ||
luisllamasbinaburo/MeanFilterLib@^1.0.0 | ||
|
||
[env:ulanzi] | ||
platform = [email protected] | ||
board = esp32dev | ||
build_flags = | ||
-DULANZI | ||
-DMQTT_MAX_PACKET_SIZE=8192 | ||
-D CORE_DEBUG_LEVEL=0 | ||
-D NDEBUG | ||
-Wno-attributes | ||
-Os | ||
-fno-exceptions | ||
lib_deps = | ||
${env.lib_deps} | ||
adafruit/Adafruit SHT31 Library@^2.2.0 | ||
|
||
[env:awtrix2_upgrade] | ||
platform = espressif32 | ||
board = wemos_d1_mini32 | ||
upload_speed = 921600 | ||
board_build.f_cpu = 240000000L | ||
framework = arduino | ||
monitor_speed = 115200 | ||
build_flags = | ||
-Dawtrix2_upgrade | ||
-DMQTT_MAX_PACKET_SIZE=8192 | ||
|
@@ -50,37 +53,19 @@ build_flags = | |
-Wno-attributes | ||
-Os | ||
-fno-exceptions | ||
monitor_filters = esp32_exception_decoder | ||
lib_deps = | ||
${env.lib_deps} | ||
adafruit/Adafruit BME280 Library@^2.2.2 | ||
adafruit/Adafruit BMP280 Library@^2.6.8 | ||
adafruit/Adafruit HTU21DF Library@^1.0.5 | ||
plerup/EspSoftwareSerial@^8.0.1 | ||
bblanchon/ArduinoJson@^6.20.0 | ||
evert-arias/[email protected] | ||
fastled/FastLED@^3.5.0 | ||
marcmerlin/FastLED NeoMatrix@^1.2 | ||
knolleary/PubSubClient@^2.8 | ||
densaugeo/base64@^1.4.0 | ||
luisllamasbinaburo/MedianFilterLib@^1.0.0 | ||
luisllamasbinaburo/MeanFilterLib@^1.0.0 | ||
|
||
[env:ESP32_S3] | ||
platform = espressif32 | ||
board = esp32-s3-devkitc-1-n16r8v | ||
upload_speed = 921600 | ||
board_build.f_cpu = 240000000L | ||
framework = arduino | ||
monitor_speed = 115200 | ||
build_flags = -DESP32_S3 -D MQTT_MAX_PACKET_SIZE=8192 | ||
monitor_filters = esp32_exception_decoder | ||
build_flags = | ||
-DESP32_S3 | ||
-D MQTT_MAX_PACKET_SIZE=8192 | ||
lib_deps = | ||
adafruit/Adafruit SHT31 Library@^2.2.0 | ||
bblanchon/ArduinoJson@^6.20.0 | ||
evert-arias/[email protected] | ||
fastled/FastLED@^3.6.0 | ||
marcmerlin/FastLED NeoMatrix@^1.2 | ||
knolleary/PubSubClient@^2.8 | ||
densaugeo/base64@^1.4.0 | ||
luisllamasbinaburo/MedianFilterLib@^1.0.0 | ||
luisllamasbinaburo/MeanFilterLib@^1.0.0 | ||
${env.lib_deps} | ||
adafruit/Adafruit SHT31 Library@^2.2.0 |