-
Notifications
You must be signed in to change notification settings - Fork 22
/
platformio.ini
114 lines (100 loc) · 2.59 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
109
110
111
112
113
114
; 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 = lora433
[env]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.1.0
[env:lilygo10_433]
build_flags =
-D TARGET_LILYGO10
-D LORA_BAND=433
-D LORA_FREQUENCY=433375000
'-D CFG_TARGET_NAME="LL10"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.0"'
[env:lilygo10_868]
build_flags =
-D TARGET_LILYGO10
-D LORA_BAND=868
-D LORA_FREQUENCY=868500000
'-D CFG_TARGET_NAME="LL10"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.0"'
[env:lilygo10_915]
build_flags =
-D TARGET_LILYGO10
-D LORA_BAND=915
-D LORA_FREQUENCY=915000000
'-D CFG_TARGET_NAME="LL10"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.0"'
[env:lilygo14_433]
build_flags =
-D TARGET_LILYGO14
-D LORA_BAND=433
-D LORA_FREQUENCY=433375000
'-D CFG_TARGET_NAME="LL14"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.4"'
[env:lilygo14_868]
build_flags =
-D TARGET_LILYGO14
-D LORA_BAND=868
-D LORA_FREQUENCY=868500000
'-D CFG_TARGET_NAME="LL14"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.4"'
[env:lilygo14_915]
build_flags =
-D TARGET_LILYGO14
-D LORA_BAND=915
-D LORA_FREQUENCY=915000000
'-D CFG_TARGET_NAME="LL14"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.4"'
[env:lilygo16_433]
build_flags =
-D TARGET_LILYGO16
-D LORA_BAND=433
-D LORA_FREQUENCY=433375000
'-D CFG_TARGET_NAME="LL16"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.6"'
[env:lilygo16_868]
build_flags =
-D TARGET_LILYGO16
-D LORA_BAND=868
-D LORA_FREQUENCY=868500000
'-D CFG_TARGET_NAME="LL16"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.6"'
[env:lilygo16_915]
build_flags =
-D TARGET_LILYGO16
-D LORA_BAND=915
-D LORA_FREQUENCY=915000000
'-D CFG_TARGET_NAME="LL16"'
'-D CFG_TARGET_FULLNAME="Lilygo v1.6"'
[env:lilygo20_433]
build_flags =
-D TARGET_LILYGO20
-D LORA_BAND=433
-D LORA_FREQUENCY=433375000
'-D CFG_TARGET_NAME="LL20"'
'-D CFG_TARGET_FULLNAME="Lilygo v2.0"'
[env:lilygo20_868]
build_flags =
-D TARGET_LILYGO20
-D LORA_BAND=868
-D LORA_FREQUENCY=868500000
'-D CFG_TARGET_NAME="LL20"'
'-D CFG_TARGET_FULLNAME="Lilygo v2.0"'
[env:lilygo20_915]
build_flags =
-D TARGET_LILYGO20
-D LORA_BAND=915
-D LORA_FREQUENCY=915000000
'-D CFG_TARGET_NAME="LL20"'
'-D CFG_TARGET_FULLNAME="Lilygo v2.0"'