forked from cpainchaud/RFLink32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.platformio.ini
94 lines (79 loc) · 2.52 KB
/
.travis.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
; 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 = 921600
lib_ldf_mode = deep
[common]
ESPlibs =
PubSubClient
ArduinoJson@~6.18.5
Wire
U8g2
https://github.com/me-no-dev/ESPAsyncWebServer.git#master
https://github.com/cpainchaud/rflink-webui.git#main
jgromes/RadioLib @ ~5.6
https://github.com/boblemaire/asyncHTTPrequest.git#master
https://github.com/obones/rtl_433.git#RFLink32
ESP32_libs =
https://github.com/lorol/LITTLEFS.git#master
ESP8266_libs =
ESP8266WiFi
ESP8266TrueRandom
src_build_flags =
-D RFLINK_BUILDNAME='"'${sysenv.RFLINK_BUILDNAME}'"'
-IRFLink/rtl_433/include
[ESP32_base]
platform = espressif32@~3.5.0
;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}
src_build_flags =
${common.src_build_flags}
board_build.partitions = partitions/esp32_4MB_LittleFS-327k.csv
[env:ESP32_none_enabled]
extends = ESP32_base
src_build_flags =
${ESP32_base.src_build_flags}
[env:ESP32_sw]
extends = ESP32_base
src_build_flags =
${ESP32_base.src_build_flags}
-D RFLINK_WIFI_ENABLED
[ESP8266_base]
platform = [email protected]
board = d1_mini
lib_deps = ${common.ESPlibs}
${common.ESP8266_libs}
monitor_filters = esp8266_exception_decoder
[env:sonoff_bridge] ; special for Sonoff RF Bridge
extends = ESP8266_base
board = esp8285
upload_speed = 921600
lib_deps = ${common.ESPlibs}
${common.ESP8266_libs}
lib_ignore = RadioLib
rtl_433
build_flags =
-D TARGET_BOARD_ESP8285
-D FIRMWARE_UPGRADE_VIA_WEBSERVER_DISABLED
-D RFLINK_WIFI_ENABLED
-D RFLINK_NO_RADIOLIB_SUPPORT
; strips out all the radio pin config code and saves memory
-D RFLINK_USE_HARDCODED_RADIO_PINS_ONLY
; -D RFLINK_MQTT_DISABLED
; -D RFLINK_PORTAL_DISABLED
; -D RADIOLIB_DEBUG