-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathplatformio.ini
39 lines (34 loc) · 1017 Bytes
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
; 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 = .
[env]
platform = [email protected]
framework = arduino
build_flags =
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D CFG_eu868=1
-D CFG_sx1276_radio=1
-D DISABLE_PING
-D DISABLE_BEACONS
monitor_speed = 115200
lib_deps =
ayushsharma82/ElegantOTA
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays
mcci-catena/MCCI LoRaWAN LMIC library@4
sparkfun/SparkFun BME280
ricmoo/QRCode
extra_scripts = build_script.py
[env:ttgov1]
board = ttgo-lora32-v1
build_flags = ${env.build_flags} '-DBOARD_NAME="TTGO-V1"'
[env:heltecv2]
board = heltec_wifi_lora_32_V2
build_flags = ${env.build_flags} '-DBOARD_NAME="HLTC-V2"'