forked from simonp0/FireFly-Nano-Remote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
108 lines (98 loc) · 2.16 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
; 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 =
Receiver.Heltec.v2
;Remote.Heltec.v2
[env:Remote.Heltec.v2]
framework = arduino
platform = espressif32
board = heltec_wifi_lora_32_V2
src_filter = ${dir.remote}
build_flags = -w -include "src/boards/heltec-2.h"
lib_deps =
${common.lib_deps}
LoRa
lib_ignore =
RadioHead
FlashStorage
[env:Receiver.Heltec.v2]
framework = arduino
platform = espressif32
board = heltec_wifi_lora_32_V2
src_filter = ${dir.receiver}
build_flags =
-include "src/boards/heltec-2.h"
-include "include/wifi_credentials.h"
-w -D RECEIVER_SCREEN
lib_deps =
${common.lib_deps}
LoRa
lib_ignore =
RadioHead
FlashStorage
upload_protocol = espota
upload_port = 192.168.1.24
[env:Remote.TTGO.OLED.v1]
framework = arduino
platform = espressif32
board = ttgo-lora32-v1
src_filter = ${dir.remote}
build_flags = -include "src/boards/ttgo-1.h"
lib_deps =
${common.lib_deps}
LoRa
lib_ignore =
RadioHead
FlashStorage
[env:Receiver.TTGO.OLED.v1]
framework = arduino
platform = espressif32
board = ttgo-lora32-v1
src_filter = ${dir.receiver}
build_flags =
-include "src/boards/ttgo-1.h"
-w -D RECEIVER_SCREEN
lib_deps =
${common.lib_deps}
LoRa
lib_ignore =
RadioHead
FlashStorage
[env:Remote.Feather]
platform = atmelsam
framework = arduino
board = adafruit_feather_m0
src_filter = ${dir.remote}
build_flags = -w -include "src/boards/feather.h"
lib_deps =
${common.lib_deps}
RadioHead
FlashStorage
[env:Receiver.Feather]
platform = atmelsam
framework = arduino
board = adafruit_feather_m0
src_filter = ${dir.receiver}
build_flags = -w -include "src/boards/feather.h"
lib_deps =
${common.lib_deps}
RadioHead
[dir]
remote = +<shared/> +<remote/> -<receiver/>
receiver = +<shared/> -<remote/> +<receiver/>
[common]
lib_deps =
Wire
SPI
adafruit/Adafruit BusIO@^1.7.3
Adafruit GFX Library
Smoothed
FastLED