-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathplatformio.ini
47 lines (36 loc) · 1.06 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
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# STATUS: USABLE
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[common_env_data]
lib_deps =
https://github.com/markszabo/IRremoteESP8266.git#f9d7e5c622670132731e3f9c64d9132128eb320c
serial_speed= 115200
[env:esp01_1m]
platform = espressif8266
framework = arduino
board = esp01_1m
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
-DCUST_SERIAL_SPEED=${common_env_data.serial_speed}
# upload_port = comX