create 2 variants (env)
This commit is contained in:
+21
-8
@@ -8,18 +8,31 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:nodemcu-32s]
|
||||
[common]
|
||||
platform = espressif32
|
||||
board = nodemcu-32s
|
||||
framework = arduino
|
||||
upload_port = COM3
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
build_flags =
|
||||
build_flags =
|
||||
-I ./src/xcp
|
||||
-I ./src/Receivers433
|
||||
-I ./src/Receivers433/Receivers3ByteKeys
|
||||
-I ./src/Receivers433
|
||||
-I ./src/Receivers433/Receivers3ByteKeys
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library@^1.12.4
|
||||
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.6.1
|
||||
knolleary/PubSubClient @ ^2.8
|
||||
adafruit/Adafruit GFX Library@^1.12.4
|
||||
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.6.1
|
||||
knolleary/PubSubClient @ ^2.8
|
||||
|
||||
[env:EG]
|
||||
extends = common
|
||||
upload_port = COM3
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-D VERSION_DG_ONLY=0
|
||||
|
||||
[env:DG]
|
||||
extends = common
|
||||
upload_port = COM3
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-D VERSION_DG_ONLY=1
|
||||
|
||||
Reference in New Issue
Block a user