|
|
@ -8,7 +8,6 @@ framework = esp8266-nonos-sdk |
|
|
|
src_filter = +<*> -<*/test/> -<*/*/test/> |
|
|
|
src_filter = +<*> -<*/test/> -<*/*/test/> |
|
|
|
build_flags = |
|
|
|
build_flags = |
|
|
|
-Isrc/include -I. |
|
|
|
-Isrc/include -I. |
|
|
|
-Wl,-Tld/eagle.flash.4m1m.app1.ld |
|
|
|
|
|
|
|
-DFIRMWARE_SIZE=503808 |
|
|
|
-DFIRMWARE_SIZE=503808 |
|
|
|
-DMCU_RESET_PIN=12 |
|
|
|
-DMCU_RESET_PIN=12 |
|
|
|
-DMCU_ISP_PIN=13 |
|
|
|
-DMCU_ISP_PIN=13 |
|
|
@ -17,13 +16,13 @@ build_flags = |
|
|
|
-DMQTT -DREST -DSOCKET -DWEBSERVER -DSYSLOG |
|
|
|
-DMQTT -DREST -DSOCKET -DWEBSERVER -DSYSLOG |
|
|
|
-DCHANGE_TO_STA=yes |
|
|
|
-DCHANGE_TO_STA=yes |
|
|
|
-DESP_HOSTNAME=esp-link-v3 |
|
|
|
-DESP_HOSTNAME=esp-link-v3 |
|
|
|
|
|
|
|
# -Wl,-Tld/eagle.app.v6.new.1024.app1.ld |
|
|
|
extra_scripts = pre:pio-genespfs.py |
|
|
|
extra_scripts = pre:pio-genespfs.py |
|
|
|
|
|
|
|
|
|
|
|
[env:esp12e] |
|
|
|
[env:esp12e] |
|
|
|
board = esp12e |
|
|
|
board = esp12e |
|
|
|
monitor_speed = 115200 |
|
|
|
monitor_speed = 115200 |
|
|
|
upload_resetmethod = ck |
|
|
|
|
|
|
|
upload_speed = 460800 |
|
|
|
upload_speed = 460800 |
|
|
|
upload_port = /dev/ttyUSB0 |
|
|
|
upload_port = /dev/ttyUSB0 |
|
|
|
#upload_speed = 230400 |
|
|
|
upload_resetmethod = ck |
|
|
|
|
|
|
|
|
|
|
|