use a linker script that works

platformio
Thorsten von Eicken 5 years ago
parent e8964de1d3
commit 011f095959
No known key found for this signature in database
GPG Key ID: C7F972A59D834B46
  1. 1
      .gitignore
  2. 5
      platformio.ini

1
.gitignore vendored

@ -1,3 +1,4 @@
src/espfs_image.c
build/ build/
firmware/ firmware/
espfs/mkespfsimage/*.o espfs/mkespfsimage/*.o

@ -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

Loading…
Cancel
Save