mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
639 B
29 lines
639 B
[platformio]
|
|
env_default = esp12e
|
|
data_dir = data/spiffs
|
|
|
|
[env]
|
|
platform = espressif8266
|
|
framework = esp8266-nonos-sdk
|
|
src_filter = +<*> -<*/test/> -<*/*/test/>
|
|
build_flags =
|
|
-Isrc/include -I.
|
|
-Wl,-Tld/eagle.flash.4m1m.app1.ld
|
|
-DFIRMWARE_SIZE=503808
|
|
-DMCU_RESET_PIN=12
|
|
-DMCU_ISP_PIN=13
|
|
-DLED_CONN_PIN=0
|
|
-DLED_SERIAL_PIN=14
|
|
-DMQTT -DREST -DSOCKET -DWEBSERVER -DSYSLOG
|
|
-DCHANGE_TO_STA=yes
|
|
-DESP_HOSTNAME=esp-link-v3
|
|
extra_scripts = pre:pio-genespfs.py
|
|
|
|
[env:esp12e]
|
|
board = esp12e
|
|
monitor_speed = 115200
|
|
upload_resetmethod = ck
|
|
upload_speed = 460800
|
|
upload_port = /dev/ttyUSB0
|
|
#upload_speed = 230400
|
|
|
|
|