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-03-01 13:47:34 +00:00
|
|
|
board_build.partitions = partitions.csv
|
2021-04-13 13:52:07 +00:00
|
|
|
board_build.embed_files =
|
2021-02-18 16:59:18 +00:00
|
|
|
data_embed/index.html.out
|
|
|
|
data_embed/style.css.out
|
|
|
|
data_embed/js.js.out
|
2021-04-13 13:52:07 +00:00
|
|
|
extra_scripts =
|
2021-02-18 16:59:18 +00:00
|
|
|
pre:tools/buildscript_versioning.py
|
|
|
|
pre:tools/compress_assets.py
|
2021-04-13 13:52:07 +00:00
|
|
|
lib_deps =
|
2020-12-13 09:35:40 +00:00
|
|
|
RadioHead
|
|
|
|
TinyGPSPlus
|
|
|
|
Adafruit SSD1306
|
|
|
|
Adafruit GFX Library
|
|
|
|
Adafruit Unified Sensor
|
2021-04-13 13:52:07 +00:00
|
|
|
https://github.com/SQ9MDD/AXP202X_Library.git
|
2021-04-21 18:32:49 +00:00
|
|
|
SparkFun u-blox Arduino Library
|
2021-06-10 22:52:49 +00:00
|
|
|
build_flags =
|
2021-04-21 18:32:49 +00:00
|
|
|
-Wl,--gc-sections,--relax
|
|
|
|
-D 'KISS_PROTOCOL'
|
|
|
|
-D 'CALLSIGN="N0CALL-0"'
|
|
|
|
-D 'DIGI_PATH="ECHO"'
|
|
|
|
-D 'FIXED_BEACON_EN'
|
|
|
|
-D 'LATIDUDE_PRESET="0000.00N"'
|
|
|
|
-D 'LONGITUDE_PRESET="00000.00E"'
|
|
|
|
-D 'APRS_SYMBOL_TABLE="/"'
|
|
|
|
-D 'APRS_SYMBOL="["'
|
|
|
|
-D 'MY_COMMENT="Lora Tracker"'
|
|
|
|
-D 'SHOW_ALT'
|
|
|
|
-D 'SHOW_BATT'
|
|
|
|
-D 'SHOW_RX_PACKET'
|
|
|
|
-D 'SHOW_RX_TIME=10000'
|
|
|
|
-D 'TXFREQ=433.775'
|
2021-04-21 18:34:27 +00:00
|
|
|
-D 'SPEED_1200' ; comment out to set 300baud
|
2021-04-24 11:14:45 +00:00
|
|
|
-D 'TXdbmW=23'
|
2021-04-21 18:32:49 +00:00
|
|
|
-D 'ENABLE_OLED'
|
|
|
|
-D 'ENABLE_LED_SIGNALING'
|
|
|
|
-D 'NETWORK_TNC_PORT=8001'
|
|
|
|
-D 'MAX_TIME_TO_NEXT_TX=360000L'
|
|
|
|
-D 'FIX_BEACON_INTERVAL=1800000L'
|
2021-02-17 19:26:10 +00:00
|
|
|
|
2021-02-23 22:04:09 +00:00
|
|
|
[env:ttgo-t-beam-v1.0]
|
2021-04-21 18:39:56 +00:00
|
|
|
platform = espressif32 @ 3.0.0
|
2021-02-17 19:26:10 +00:00
|
|
|
board = ttgo-t-beam
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D T_BEAM_V1_0
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D ENABLE_BLUETOOTH
|
2021-02-23 22:04:09 +00:00
|
|
|
|
2021-02-24 20:40:43 +00:00
|
|
|
[env:ttgo-t-beam-v0.7]
|
2021-03-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.0.0
|
2021-02-23 22:04:09 +00:00
|
|
|
board = ttgo-t-beam
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-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-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.1.1
|
2021-03-14 19:57:23 +00:00
|
|
|
board = ttgo-lora32-v21
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D LORA32_21
|
2021-02-17 19:26:10 +00:00
|
|
|
|
2021-02-17 19:31:01 +00:00
|
|
|
[env:ttgo-lora32-v2]
|
2021-03-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.1.1
|
2021-03-14 19:57:23 +00:00
|
|
|
board = ttgo-lora32-v2
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-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-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.1.1
|
2021-03-14 21:21:30 +00:00
|
|
|
board = ttgo-lora32-v1
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D LORA32_1
|
2021-03-21 16:18:14 +00:00
|
|
|
|
2021-03-21 18:30:04 +00:00
|
|
|
[env:Heltec-WiFi-v1]
|
2021-03-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.1.1
|
2021-03-21 16:18:14 +00:00
|
|
|
board = heltec_wifi_kit_32
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D HELTEC_V1
|
2021-03-21 16:18:14 +00:00
|
|
|
|
2021-03-21 18:30:04 +00:00
|
|
|
[env:Heltec-WiFi-v2]
|
2021-03-24 23:54:07 +00:00
|
|
|
platform = espressif32 @ 3.1.1
|
2021-03-21 16:18:14 +00:00
|
|
|
board = heltec_wifi_kit_32_v2
|
2021-04-21 18:32:49 +00:00
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D HELTEC_V2
|
|
|
|
|
2021-04-25 14:29:07 +00:00
|
|
|
[env:ttgo-t-beam-v1.0-development]
|
|
|
|
platform = espressif32 @ 3.0.0
|
|
|
|
board = ttgo-t-beam
|
|
|
|
build_flags =
|
|
|
|
${env.build_flags}
|
|
|
|
-D T_BEAM_V1_0
|
|
|
|
-D ENABLE_WIFI
|
|
|
|
-D ENABLE_BLUETOOTH
|
|
|
|
-D ENABLE_SYSLOG
|
|
|
|
-D 'SYSLOG_IP="192.168.0.102"'
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
arcao/Syslog
|