-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
108 lines (94 loc) · 3.09 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]
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 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
mikalhart/TinyGPSPlus@1.0.2
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
[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' ;'-DESP32_WROOM_MODULE' ;A VOIR POUR LE WROOM TAG
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]
lang = fr
platform = espressif32
board = esp32dev
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR' ;'-DESP32_WROOM_MODULE' ;AVOIR POUR LE WROOM TAG
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]
lang = fr
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
build_flags = ${common.build_flags_esp32_release} '-DINTL_FR' ;'-DESP32_WROOM_MODULE' ;AVOIR POUR LE WROOM TAG
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}