forked from sumnerboy12/OXRS-BJ-TempSensor-ESP-FW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
81 lines (72 loc) · 1.79 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
; 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]
default_envs = room8266-debug
[firmware]
name = \"OXRS-BJ-TempSensor-ESP-FW\"
short_name = \"OXRS Temp Sensor\"
maker = \"Ben Jones\"
github_url = \"https://github.com/sumnerboy12/OXRS-BJ-TempSensor-ESP-FW\"
[env]
framework = arduino
lib_deps =
androbi/MqttLogger
knolleary/PubSubClient
OneWire
DallasTemperature
https://github.com/OXRS-IO/OXRS-IO-MQTT-ESP32-LIB
https://github.com/OXRS-IO/OXRS-IO-API-ESP32-LIB
build_flags =
-DFW_NAME="${firmware.name}"
-DFW_SHORT_NAME="${firmware.short_name}"
-DFW_MAKER="${firmware.maker}"
-DFW_GITHUB_URL="${firmware.github_url}"
; debug builds
[env:room8266-debug]
extends = room8266
build_flags =
${room8266.build_flags}
-DFW_VERSION="DEBUG"
monitor_speed = 115200
[env:lilygo-debug]
extends = lilygo
build_flags =
${lilygo.build_flags}
-DFW_VERSION="DEBUG"
monitor_speed = 115200
; release builds
[env:room8266-eth]
extends = room8266
extra_scripts = pre:release_extra.py
[env:lilygo-eth]
extends = lilygo
extra_scripts = pre:release_extra.py
[room8266]
platform = espressif8266
board = esp12e
lib_deps =
${env.lib_deps}
https://github.com/OXRS-IO/Ethernet
https://github.com/austinscreations/OXRS-AC-Room8266-ESP8266-LIB
build_flags =
${env.build_flags}
-DOXRS_ROOM8266
[lilygo]
platform = espressif32
board = esp32dev
lib_deps =
${env.lib_deps}
WiFi
Ethernet
WebServer
https://github.com/OXRS-IO/OXRS-IO-LilyGOPOE-ESP32-LIB
build_flags =
${env.build_flags}
-DOXRS_LILYGO