forked from cpainchaud/RFLink32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
104 lines (88 loc) · 2.67 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
; 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 = RFLink
[env]
framework = arduino
monitor_speed = 115200
lib_ldf_mode = deep
[common]
ESPlibs =
PubSubClient
bblanchon/[email protected]
Wire
U8g2
https://github.com/me-no-dev/ESPAsyncWebServer.git#master
https://github.com/cpainchaud/rflink-webui.git#main
;https://github.com/jgromes/RadioLib.git#master
https://github.com/cpainchaud/RadioLib.git#master
https://github.com/boblemaire/asyncHTTPrequest.git#master
ESP32_libs =
https://github.com/lorol/LITTLEFS.git#master
Update
ESP8266_libs =
ESP8266WiFi
[ESP32_base]
platform = [email protected]
;platform = espressif32 ; to try Latest espressif git
;platform_packages = ; to try Latest espressif git
; platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git ; to try Latest espressif git
board = esp32dev
lib_deps =
${common.ESPlibs}
${common.ESP32_libs}
board_build.filesystem = littlefs
debug_tool = esp-prog
debug_init_break = tbreak setup
monitor_filters = esp32_exception_decoder
board_build.partitions = partitions/esp32_4MB_LittleFS-327k.csv
[ESP8266_base]
platform = [email protected]
board = d1_mini
lib_deps = ${common.ESPlibs}
${common.ESP8266_libs}
monitor_filters = esp8266_exception_decoder
[env:genericESP32]
extends = ESP32_base
board = esp32dev
board_build.flash_mode = qio
;upload_port=COM8
;monitor_port=COM8
upload_speed = 921600
build_flags =
-D RFLINK_WIFI_ENABLED
; -D RFLINK_MQTT_DISABLED
; -D RFLINK_PORTAL_DISABLED
; -D RADIOLIB_DEBUG
; -D RFLINK_SIGNAL_RSSI_DEBUG
; -D DEBUG_RFLINK_CONFIG
; -D RFLINK_OTA_ENABLED
; -D RFLINK_OTA_PASSWORD='"'${sysenv.OTA_SEC}'"'
; -D RFLINK_SERIAL2NET_DEBUG
[env:d1_mini]
extends = ESP8266_base
board = d1_mini
upload_speed = 921600
lib_deps = ${common.ESPlibs}
${common.ESP8266_libs}
build_flags =
-D RFLINK_WIFI_ENABLED
; -D RFLINK_MQTT_DISABLED
; -D RFLINK_PORTAL_DISABLED
; -D RADIOLIB_DEBUG
;[env:nodemcuv2]
;platform = espressif8266
;board = nodemcuv2
;upload_speed = 256000
;lib_deps = ${common.ESPlibs}
; ESP8266WiFi
;lib_ignore = ${common.OLEDlibs}
;upload_protocol = espota
;upload_port = 192.168.1.86