2018-11-25 20:07:34 +00:00
|
|
|
; 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
|
|
|
|
|
2021-02-17 19:26:10 +00:00
|
|
|
[env]
|
2021-02-23 16:00:33 +00:00
|
|
|
framework = arduino
|
|
|
|
|
2020-02-19 12:12:02 +00:00
|
|
|
monitor_speed = 115200
|
2021-02-15 20:53:37 +00:00
|
|
|
build_flags = -Wl,--gc-sections,--relax
|
2021-02-18 16:59:18 +00:00
|
|
|
board_build.partitions = no_ota.csv
|
|
|
|
board_build.embed_files =
|
|
|
|
data_embed/index.html.out
|
|
|
|
data_embed/style.css.out
|
|
|
|
data_embed/js.js.out
|
|
|
|
extra_scripts =
|
|
|
|
pre:tools/buildscript_versioning.py
|
|
|
|
pre:tools/compress_assets.py
|
|
|
|
lib_deps =
|
2020-12-13 09:35:40 +00:00
|
|
|
RadioHead
|
|
|
|
TinyGPSPlus
|
|
|
|
Adafruit SSD1306
|
|
|
|
Adafruit GFX Library
|
|
|
|
Adafruit Unified Sensor
|
|
|
|
AXP202X_Library
|
2021-03-04 18:28:48 +00:00
|
|
|
SparkFun u-blox Arduino Library
|
2021-02-17 19:26:10 +00:00
|
|
|
|
2021-02-23 22:04:09 +00:00
|
|
|
[env:ttgo-t-beam-v1.0]
|
2021-03-17 20:18:57 +00:00
|
|
|
platform = espressif32 @ 3.0.0
|
2021-02-17 19:26:10 +00:00
|
|
|
board = ttgo-t-beam
|
2021-03-17 20:18:57 +00:00
|
|
|
build_flags = ${env.build_flags} -D T_BEAM_V1_0
|
2021-02-23 22:04:09 +00:00
|
|
|
|
2021-02-24 20:40:43 +00:00
|
|
|
[env:ttgo-t-beam-v0.7]
|
2021-03-17 20:18:57 +00:00
|
|
|
platform = espressif32 @ 3.0.0
|
2021-02-23 22:04:09 +00:00
|
|
|
board = ttgo-t-beam
|
2021-03-17 20:18:57 +00:00
|
|
|
build_flags = ${env.build_flags} -D T_BEAM_V0_7
|
2021-02-17 19:26:10 +00:00
|
|
|
|
2021-03-14 19:57:23 +00:00
|
|
|
[env:ttgo-lora32-v2.1]
|
2021-03-17 20:18:57 +00:00
|
|
|
platform = espressif32
|
2021-03-14 19:57:23 +00:00
|
|
|
board = ttgo-lora32-v21
|
2021-03-17 20:18:57 +00:00
|
|
|
build_flags = ${env.build_flags} -D LORA32_21
|
2021-03-14 19:57:23 +00:00
|
|
|
|
2021-02-17 19:31:01 +00:00
|
|
|
[env:ttgo-lora32-v2]
|
2021-03-17 20:18:57 +00:00
|
|
|
platform = espressif32
|
2021-03-14 19:57:23 +00:00
|
|
|
board = ttgo-lora32-v2
|
2021-03-17 20:18:57 +00:00
|
|
|
build_flags = ${env.build_flags} -D LORA32_2
|
2021-02-17 19:26:10 +00:00
|
|
|
|
2021-02-17 19:31:01 +00:00
|
|
|
[env:ttgo-lora32-v1]
|
2021-03-17 20:18:57 +00:00
|
|
|
platform = espressif32
|
2021-03-14 21:21:30 +00:00
|
|
|
board = ttgo-lora32-v1
|
2021-03-21 16:18:14 +00:00
|
|
|
build_flags = ${env.build_flags} -D LORA32_1
|
|
|
|
|
|
|
|
[env:ttgo-Heltec-WiFi-KIT32]
|
|
|
|
platform = espressif32
|
|
|
|
board = heltec_wifi_kit_32
|
|
|
|
build_flags = ${env.build_flags} -D HELTEC_WIFI_KIT32
|
|
|
|
|
|
|
|
[env:ttgo-Heltec-WiFi-KIT32_V2]
|
|
|
|
platform = espressif32
|
|
|
|
board = heltec_wifi_kit_32_v2
|
|
|
|
build_flags = ${env.build_flags} -D HELTEC_WIFI_KIT32_V2
|