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
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
|
platform = espressif32
|
||||||
|
framework = arduino
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
build_flags = -Wl,--gc-sections,--relax
|
build_flags = -Wl,--gc-sections,--relax
|
||||||
board_build.partitions = no_ota.csv
|
board_build.partitions = no_ota.csv
|
||||||
|
|
@ -22,27 +25,17 @@ extra_scripts =
|
||||||
lib_deps =
|
lib_deps =
|
||||||
RadioHead
|
RadioHead
|
||||||
TinyGPSPlus
|
TinyGPSPlus
|
||||||
#DHT sensor library for ESPx
|
|
||||||
Adafruit SSD1306
|
Adafruit SSD1306
|
||||||
Adafruit GFX Library
|
Adafruit GFX Library
|
||||||
Adafruit Unified Sensor
|
Adafruit Unified Sensor
|
||||||
AXP202X_Library
|
AXP202X_Library
|
||||||
OneWire
|
|
||||||
#DallasTemperature
|
|
||||||
#adafruit/Adafruit BME280 Library@^2.1.2
|
|
||||||
|
|
||||||
|
|
||||||
[env:ttgo-t-beam]
|
[env:ttgo-t-beam]
|
||||||
platform = espressif32
|
|
||||||
board = ttgo-t-beam
|
board = ttgo-t-beam
|
||||||
framework = arduino
|
build_flags = ${env.build_flags} -DT_BEAM_V1_0
|
||||||
|
|
||||||
[env:ttgo-lora32-v2]
|
[env:ttgo-lora32-v2]
|
||||||
platform = espressif32
|
|
||||||
board = ttgo-lora32-v1
|
board = ttgo-lora32-v1
|
||||||
framework = arduino
|
|
||||||
|
|
||||||
[env:ttgo-lora32-v1]
|
[env:ttgo-lora32-v1]
|
||||||
platform = espressif32
|
board = ttgo-lora32-v1
|
||||||
board = ttgo-lora32-v1
|
|
||||||
framework = arduino
|
|
||||||
|
|
@ -25,7 +25,8 @@
|
||||||
//#define BLUETOOTH_PIN "0000"
|
//#define BLUETOOTH_PIN "0000"
|
||||||
//#define ENABLE_TNC_SELF_TELEMETRY
|
//#define ENABLE_TNC_SELF_TELEMETRY
|
||||||
//#define LOCAL_KISS_ECHO // echoing KISS frame back
|
//#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 KISS_DEBUG
|
||||||
#define ENABLE_WIFI
|
#define ENABLE_WIFI
|
||||||
#define NETWORK_TNC_PORT 8001
|
#define NETWORK_TNC_PORT 8001
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue