Move T_BEAM_V1_0 option to platformio.ini
This commit is contained in:
parent
0aa6b3e32c
commit
77ecdfe942
|
|
@ -9,6 +9,9 @@
|
|||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env]
|
||||
platform = espressif32
|
||||
framework = arduino
|
||||
|
||||
monitor_speed = 115200
|
||||
build_flags = -Wl,--gc-sections,--relax
|
||||
board_build.partitions = no_ota.csv
|
||||
|
|
@ -22,27 +25,17 @@ extra_scripts =
|
|||
lib_deps =
|
||||
RadioHead
|
||||
TinyGPSPlus
|
||||
#DHT sensor library for ESPx
|
||||
Adafruit SSD1306
|
||||
Adafruit GFX Library
|
||||
Adafruit Unified Sensor
|
||||
AXP202X_Library
|
||||
OneWire
|
||||
#DallasTemperature
|
||||
#adafruit/Adafruit BME280 Library@^2.1.2
|
||||
|
||||
|
||||
[env:ttgo-t-beam]
|
||||
platform = espressif32
|
||||
board = ttgo-t-beam
|
||||
framework = arduino
|
||||
build_flags = ${env.build_flags} -DT_BEAM_V1_0
|
||||
|
||||
[env:ttgo-lora32-v2]
|
||||
platform = espressif32
|
||||
board = ttgo-lora32-v1
|
||||
framework = arduino
|
||||
|
||||
[env:ttgo-lora32-v1]
|
||||
platform = espressif32
|
||||
board = ttgo-lora32-v1
|
||||
framework = arduino
|
||||
board = ttgo-lora32-v1
|
||||
|
|
@ -25,7 +25,8 @@
|
|||
//#define BLUETOOTH_PIN "0000"
|
||||
//#define ENABLE_TNC_SELF_TELEMETRY
|
||||
//#define LOCAL_KISS_ECHO // echoing KISS frame back
|
||||
#define T_BEAM_V1_0 // if enabled t-beam v1.0 disabled t-beam V.0.7
|
||||
//#define T_BEAM_V1_0 // if enabled t-beam v1.0 disabled t-beam V.0.7
|
||||
// AUTOMATICALLY SET BY platformio.ini env!
|
||||
//#define KISS_DEBUG
|
||||
#define ENABLE_WIFI
|
||||
#define NETWORK_TNC_PORT 8001
|
||||
|
|
|
|||
Loading…
Reference in New Issue