Code Monkey home page Code Monkey logo

Comments (1)

jsphuebner avatar jsphuebner commented on August 15, 2024

Ok, I worked out the basics and got it working. Just not integrated into the Makefile.
So I did two make runs and saved the .elf file after each run.
One with default linker script, and one with eagle.flash.2m.ld modified: irom0_0_seg changed from 0x40201010 to 0x40281010
Then took the SDK script https://github.com/espressif/ESP8266_AT/blob/master/at/gen_misc_plus.sh and modified it:
rm eagle.app.flash.bin

cp FSBrowser$1.elf eagle.app.v6.out
mkdir upgrade 2> /dev/null

xtensa-lx106-elf-objcopy --only-section .text -O binary eagle.app.v6.out eagle.app.v6.text.bin
xtensa-lx106-elf-objcopy --only-section .data -O binary eagle.app.v6.out eagle.app.v6.data.bin
xtensa-lx106-elf-objcopy --only-section .rodata -O binary eagle.app.v6.out eagle.app.v6.rodata.bin
xtensa-lx106-elf-objcopy --only-section .irom0.text -O binary eagle.app.v6.out eagle.app.v6.irom0text.bin

COMPILE=gcc ../../ESP8266_NONOS_SDK/tools/gen_appbin.py eagle.app.v6.out 2 0 0 3 $1

cp eagle.app.flash.bin upgrade/user$1.bin

run it twice, once with 1 then with 2 parameter.
Let me know if this is the place to write more on how to feed the result to AT+CIUPDATE

from makeesparduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.