forked from SolidGeek/nRF24-Esk8-Remote
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathplatformio.ini
More file actions
104 lines (90 loc) · 2.09 KB
/
platformio.ini
File metadata and controls
104 lines (90 loc) · 2.09 KB
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
; PlatformIO Project Configuration File
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
; ---> SELECT TARGET PLATFORM HERE! <---
[platformio]
; env_default = Remote.Feather
; env_default = Receiver.Feather
env_default = Remote.Heltec.v2
; env_default = Receiver.Heltec.v2
; env_default = Receiver.TTGO.OLED.v1
[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
; upload_port = COM19
[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"
-w -D RECEIVER_SCREEN
lib_deps =
${common.lib_deps}
LoRa
lib_ignore = RadioHead, FlashStorage
; uncomment for OTA updates
; upload_port = 192.168.1.x ; IP from receiver screen
[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 GFX Library
Smoothed