-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplatformio.ini
29 lines (25 loc) · 1008 Bytes
/
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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[common_env_data]
firmware_name = rflink-bridge
firmware_version = 0.002
lib_deps =
https://github.com/homieiot/homie-esp8266.git#develop ; home-esp8266 v2 develop release
# https://github.com/homieiot/homie-esp8266.git#develop-v3
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
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}\"
# upload_port = comX