76 lines
2.1 KiB
INI
76 lines
2.1 KiB
INI
; 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 = ttgo-lora32-v21
|
|
|
|
extra_configs =
|
|
variants/*/platformio.ini
|
|
|
|
[env]
|
|
platform = espressif32 @ 6.7.0
|
|
board_build.partitions = min_spiffs.csv
|
|
framework = arduino
|
|
monitor_speed = 115200
|
|
board_build.embed_files =
|
|
data_embed/index.html.gz
|
|
data_embed/style.css.gz
|
|
data_embed/script.js.gz
|
|
data_embed/bootstrap.css.gz
|
|
data_embed/bootstrap.js.gz
|
|
data_embed/favicon.png.gz
|
|
extra_scripts =
|
|
pre:tools/compress.py
|
|
debug_tool = esp-prog
|
|
|
|
[common]
|
|
build_flags =
|
|
-Werror -Wall
|
|
-DELEGANTOTA_USE_ASYNC_WEBSERVER=1
|
|
-DRADIOLIB_EXCLUDE_CC1101=1
|
|
-DRADIOLIB_EXCLUDE_NRF24=1
|
|
-DRADIOLIB_EXCLUDE_RF69=1
|
|
-DRADIOLIB_EXCLUDE_SX1231=1
|
|
-DRADIOLIB_EXCLUDE_SX1233=1
|
|
-DRADIOLIB_EXCLUDE_SI443X=1
|
|
-DRADIOLIB_EXCLUDE_RFM2X=1
|
|
-DRADIOLIB_EXCLUDE_AFSK=1
|
|
-DRADIOLIB_EXCLUDE_BELL=1
|
|
-DRADIOLIB_EXCLUDE_HELLSCHREIBER=1
|
|
-DRADIOLIB_EXCLUDE_MORSE=1
|
|
-DRADIOLIB_EXCLUDE_RTTY=1
|
|
-DRADIOLIB_EXCLUDE_SSTV=1
|
|
-DRADIOLIB_EXCLUDE_AX25=1
|
|
-DRADIOLIB_EXCLUDE_DIRECT_RECEIVE=1
|
|
-DRADIOLIB_EXCLUDE_BELL=1
|
|
-DRADIOLIB_EXCLUDE_PAGER=1
|
|
-DRADIOLIB_EXCLUDE_FSK4=1
|
|
-DRADIOLIB_EXCLUDE_APRS=1
|
|
-DRADIOLIB_EXCLUDE_LORAWAN=1
|
|
-I variants/${PIOENV}
|
|
lib_deps =
|
|
adafruit/Adafruit Unified Sensor @ 1.1.14
|
|
adafruit/Adafruit BME280 Library @ 2.2.4
|
|
adafruit/Adafruit BMP280 Library @ 2.6.8
|
|
adafruit/Adafruit BME680 Library @ 2.0.4
|
|
adafruit/Adafruit Si7021 Library @ 1.5.3
|
|
arduino-libraries/NTPClient @ 3.2.1
|
|
ayushsharma82/ElegantOTA @ 3.1.5
|
|
bblanchon/ArduinoJson @ 6.21.3
|
|
jgromes/RadioLib @ 6.6.0
|
|
mathieucarbou/AsyncTCP @ 3.2.5
|
|
mathieucarbou/ESPAsyncWebServer @ 3.2.3
|
|
mikalhart/TinyGPSPlus @ 1.0.3
|
|
display_libs =
|
|
adafruit/Adafruit GFX Library @ 1.11.9
|
|
adafruit/Adafruit SSD1306 @ 2.5.10
|
|
usb_flags=
|
|
-DARDUINO_USB_MODE=1
|
|
-DARDUINO_USB_CDC_ON_BOOT=1 |