-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
39 lines (37 loc) · 1.46 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
; 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
; http://docs.platformio.org/page/projectconf.html
; https://github.com/marvinroger/homie-esp8266.git
[common_env_data]
lib_deps =
OneWire
DallasTemperature
EspSoftwareSerial
PID
HomieLoggerNode
http://static.cactus.io/downloads/library/bme280/cactus_io_BME280_I2C.zip
git+https://github.com/homieiot/homie-esp8266.git#develop ; home-esp8266 v2 develop release
; git+https://github.com/homieiot/homie-esp8266.git#develop-v3
# required for PMS3003 - do not change
serial_speed= 9600
firmware_version=0.061
firmware_name= dust-multi-sensor
[env:dustmultisensor]
platform = espressif8266
board = d1_mini
framework = arduino
; upload_port = comX
monitor_speed = ${common_env_data.serial_speed}
lib_deps = ${common_env_data.lib_deps}
build_flags =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-DMQTT_MAX_PACKET_SIZE=4000
-DMQTT_MAX_TRANSFER_SIZE=150
-DFIRMWARE_VER=\"${common_env_data.firmware_version}\" -DFIRMWARE_NAME=\"${common_env_data.firmware_name}\"
-DCUST_SERIAL_SPEED=${common_env_data.serial_speed}