-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
131 lines (116 loc) · 3.88 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[platformio]
src_dir = .
[common]
monitor_speed = 115200
build_flags =
-DVTABLES_IN_FLASH
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-D HTTPCLIENT_1_1_COMPATIBLE=0
;-D NO_GLOBAL_SERIAL=0
-DNDEBUG -DFP_IN_IROM -frandom-seed=b61f78373
; -D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
; -D CFG_eu868=1
; -D CFG_sx1276_radio=1
; -D LMIC_LORAWAN_SPEC_VERSION=LMIC_LORAWAN_SPEC_VERSION_1_0_3
; -D MONITOR_SPEED=115200
; -D LMIC_PRINTF_TO=Serial
build_flags_esp32 =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DVTABLES_IN_FLASH -DBEARSSL_SSL_BASIC
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D CFG_eu868=1
-D CFG_sx1276_radio=1
-D LMIC_LORAWAN_SPEC_VERSION=LMIC_LORAWAN_SPEC_VERSION_1_0_3
-D hal_init=LMICHAL_init
-D MONITOR_SPEED=115200
-D LMIC_PRINTF_TO=Serial
build_flags_esp32_release = ${common.build_flags_esp32} -DNDEBUG
build_flags_esp32_debug = ${common.build_flags_esp32} -g -Og -fno-inline -DUSING_JTAG_DEBUGGER_PINS=1 -DDEBUG_ESP_PORT=Serial
board_build.ldscript = eagle.flash.4m3m.ld
board_build.filesystem = spiffs
board_build.f_cpu = 160000000L
lib_deps_external =
bblanchon/ArduinoJson@6.18.3
2dom/PxMatrix LED MATRIX library@^1.8.2
adafruit/Adafruit GFX Library@^1.10.12
adafruit/Adafruit BusIO@^1.9.8
https://github.com/IntarBV/MHZ16_uart
https://github.com/WifWaf/MH-Z19.git
sensirion/Sensirion Core@^0.6.0
lib_deps_esp32_platform =
Wire
WiFi
DNSServer
WiFiClientSecure
HTTPClient
FS
SPIFFS
WebServer
Update
ESPmDNS
lib_deps_esp32 = ${common.lib_deps_esp32_platform} ${common.lib_deps_external}
extra_scripts = platformio_script.py
platform_version_esp32 = espressif32@1.11.1 ; using Arduino core 1.0.4
;platform_version_esp32 = espressif32
[env:heltec_wifi_lora_32_V2]
; ARDUINO_HELTEC_WIFI_LORA_32_V2
lang = fr
platform = espressif32
board = heltec_wifi_lora_32_V2
monitor_speed = 115200
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR'
lib_deps =
${common.lib_deps_esp32}
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
ThingPulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.2.1
extra_scripts = ${common.extra_scripts}
[env:ttgo-lora32-v21]
; ARDUINO_TTGO_LoRa32_v21new
lang = fr
platform = espressif32
board = ttgo-lora32-v21
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR'
lib_deps =
${common.lib_deps_esp32}
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
ThingPulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.2.1
extra_scripts = ${common.extra_scripts}
[env:esp32dev]
;ARDUINO_ESP32_DEV
monitor_speed = 115200
; monitor_port = /dev/cu.SLAB_USBtoUART
lang = fr
;platform = espressif32
platform = espressif32@4.1.0
;platform = https://github.com/Jason2866/platform-espressif32
;platform = espressif32@1.11.1
;platform = ${common.platform_version_esp32}
board = esp32dev
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR' '-DKIT_C'
lib_deps =
${common.lib_deps_esp32}
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
ThingPulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.2.1
extra_scripts = ${common.extra_scripts}
[env:esp32doit-devkit-v1]
;ARDUINO_ESP32_DEV
monitor_speed = 115200
;board_build.partitions = min_spiffs.csv
lang = fr
platform = espressif32@4.1.0
board = esp32doit-devkit-v1
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR' '-DKIT_V1'
lib_deps =
${common.lib_deps_esp32}
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
ThingPulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.2.1
extra_scripts = ${common.extra_scripts}
; RAM: [== ] 17.0% (used 55864 bytes from 327680 bytes)
; Flash: [========= ] 86.1% (used 1129174 bytes from 1310720 bytes)
;AJOUTER board_build.partitions = min_spiffs.csv ???
; RAM: [== ] 17.0% (used 55864 bytes from 327680 bytes)
; Flash: [====== ] 57.4% (used 1129174 bytes from 1966080 bytes)