kopia lustrzana https://github.com/Max-Plastix/tbeam-helium-mapper
47 wiersze
1.1 KiB
INI
47 wiersze
1.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]
|
|
src_dir = main
|
|
|
|
[env]
|
|
platform = espressif32@^3.5.0
|
|
board = ttgo-t-beam
|
|
framework = arduino
|
|
build_flags = -Wall
|
|
-Wextra
|
|
-Wno-missing-field-initializers -O3
|
|
-D CFG_us915=1
|
|
; -D CFG_eu868=1
|
|
; -D CFG_au915=1
|
|
; -D CFG_au915_fsb6=1
|
|
; -D CFG_as923=1
|
|
-D CFG_sx1276_radio=1
|
|
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
|
|
-D ARDUINO_TTGO_LoRa32_V1
|
|
|
|
lib_deps =
|
|
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
|
|
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.3.0
|
|
lewisxhe/AXP202X_Library@^1.1.3
|
|
mikalhart/TinyGPSPlus@^1.0.3
|
|
|
|
monitor_speed = 115200
|
|
; monitor_port = COM17
|
|
; upload_speed = 921600
|
|
; upload_port = COM17
|
|
|
|
[env:release]
|
|
|
|
[env:debug]
|
|
debug_build_flags =
|
|
-D DEBUG
|
|
-D LMIC_DEBUG_LEVEL=3
|