-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathplatformio.ini
106 lines (97 loc) · 2.78 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
;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 = .
data_dir = ../web/static
default_envs=
;ttgo-lora32-v1
;ttgo-lora32-v2
;ttgo-lora32-tbeam
;heltec-v2
;sparkfun-lora
; lopy4
esp32-v3
[env]
platform = https://github.com/platformio/platform-espressif32.git
framework = arduino
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
;upload_port = /dev/cu.SLAB_USBtoUART
;monitor_port = /dev/cu.SLAB_USBtoUART
;upload_speed = 460800
monitor_speed = 115200
board_build.partitions = custompart.csv
lib_deps =
AsyncTCP
; ESP Async [email protected]
; With latest espressif32 platform we need an unreleased version of ESPAsyncWebServer
; as per https://github.com/me-no-dev/ESPAsyncWebServer/issues/1151
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/jgromes/RadioLib#3682c6c9215891e3afb7672f1235fde1c3bd75fd
https://github.com/sudomesh/LoRaLayer2.git#5e12fd4802cbbaa5b6732d4347967d9eaac48199
https://github.com/paidforby/AsyncSDServer#13375c6be978cb34180378ecf4042a3a4a1f5eab
ESP8266 and ESP32 OLED driver for SSD1306 displays
ArduinoJson
[env:ttgo-lora32-v1]
board = ttgo-lora32-v1
build_flags = -DTTGO_LORA_V1
-DARDUINO_LORA
-DHAS_OLED
-I./src
[env:ttgo-lora32-v2]
board = ttgo-lora32-v1
build_flags = -DTTGO_LORA_V2
-DARDUINO_LORA
-DHAS_OLED
-I./src
; -DLL2_DEBUG
[env:ttgo-lora32-v2-rl]
board = ttgo-lora32-v1
build_flags = -DTTGO_LORA_V2
-DRL_SX1276
-DHAS_OLED
-I./src
; -DLL2_DEBUG
[env:ttgo-lora32-tbeam]
board = ttgo-lora32-v1
build_flags = -DTTGO_TBEAM
-DARDUINO_LORA
-I./src
; -DLL2_DEBUG
[env:heltec-v2]
board = heltec_wifi_lora_32_V2
build_flags = -DHELTEC
-DARDUINO_LORA
-DHAS_OLED
-I./src
[env:sparkfun-lora]
board = sparkfun_lora_gateway_1-channel
;upload_port = COM17
build_flags = -DSPARKFUN
-DARDUINO_LORA
-I./src
; -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
[env:lopy4]
board = lopy4
build_flags = -DLOPY4
-DRL_SX1276
-I./src
; -DDUAL_LORA
; -DLL2_DEBUG
[env:esp32-v3]
board = esp32dev
board_upload.maximum_size = 4194304
board_upload.maximum_ram_size = 532480
build_flags = -DESP32_V3
-DRL_SX1262
-I./src
-DDUAL_LORA