Comments (1)
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)
- ESP8266WiFi.h: No such file or directory HOT 5
- Can't build project that contains two files with identical name HOT 19
- Couldn't write a littlefs data filesystem HOT 5
- Specifying multiple library directories and source files in LIBS seems not to work HOT 14
- Error when special characters in path HOT 1
- LittleFS compile errors on esp8266 HOT 4
- Getting Xtensa Error HOT 1
- ESP32 python: can't open file '/esptool.py': [Errno 2] No such file or directory HOT 6
- how to build for esp32s3 etc.? HOT 4
- Variant ESP32 devices HOT 1
- Arch WSL g++ HOT 2
- Calling 'make clean' twice will trigger config parser. HOT 7
- build_opt.h: No such file or directory HOT 5
- Duplicate SKETCH when including on working directory HOT 5
- compiling a sketch with Bodmers TFT_eSPI library HOT 2
- Problems with include path HOT 7
- Compilation error on core's version 3.1.0 HOT 5
- Compilation of a simple program for esp32 fails because it tries to include library SoftwareSerial only available for architecture avr HOT 1
- .git folder appears to be included during make HOT 9
- Arduino IDE 2.x does not have preferences.txt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from makeesparduino.