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.
28 lines
621 B
28 lines
621 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.
|
|
-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
|
|
# -Wl,-Tld/eagle.app.v6.new.1024.app1.ld
|
|
extra_scripts = pre:pio-genespfs.py
|
|
|
|
[env:esp12e]
|
|
board = esp12e
|
|
monitor_speed = 115200
|
|
upload_speed = 460800
|
|
upload_port = /dev/ttyUSB0
|
|
upload_resetmethod = ck
|
|
|
|
|