-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
95 lines (85 loc) · 2 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
;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]
default_envs = adafruit_feather_m0
[env:adafruit_feather_m0]
platform = atmelsam
board = adafruit_feather_m0
framework = arduino
lib_deps =
adafruit/Adafruit ADS1X15 @ ^2.4.0
mcci-catena/MCCI LoRaWAN LMIC library @ ^4.1.1
adafruit/Adafruit Unified Sensor @ ^1.1.5
adafruit/Adafruit BME280 Library @ ^2.2.2
pololu/VL6180X @ ^1.3.1
arduino-libraries/RTCZero @ ^1.6.0
build_flags =
-DDEBUG
-DBOARD_FEATHER_M0
-DARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
; toggle for OTAA, if disabled, ABP is enabled
-DOTAA
-DCFG_eu868
-DCFG_sx1276_radio
[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
lib_deps =
Adafruit Unified Sensor
Adafruit BME280 Library
Adafruit GFX Library
Adafruit SSD1306
MCCI LoRaWAN LMIC library
Low-Power
https://github.com/pololu/vl6180x-arduino
RTClib
build_flags =
-DBOARD_ARDUINO_MEGA
-DTest
; -DOLED
-DDEBUG
; -DLOW_POWER
-DTTN
-DOTAA
-DCFG_eu868
-DadaRTCLIB
; -DVL6180
-DPiBME280
; -DDISABLE_PING
; -DDISABLE_BEACONS
; -DLMIC_ENABLE_long_messages 0
; -DVL6180X
;lib_ldf_mode = chain+
[env:uno]
platform = atmelavr
board = uno
framework = arduino
lib_deps =
Adafruit Unified Sensor
Adafruit BME280 Library
Adafruit GFX Library
Adafruit SSD1306
MCCI LoRaWAN LMIC library
Low-Power
https://github.com/pololu/vl6180x-arduino
build_flags =
-DTest
; -DOLED
-DDEBUG
; -DLOW_POWER
-DTTN
-DCFG_eu868
; -DVL6180
; -DDISABLE_PING
; -DDISABLE_BEACONS
; -DLMIC_ENABLE_long_messages 0
; -DVL6180X
;lib_ldf_mode = chain+