Coder Social home page Coder Social logo

Support for .bin.gz images about espbuddy HOT 2 OPEN

soif avatar soif commented on July 23, 2024
Support for .bin.gz images

from espbuddy.

Comments (2)

soif avatar soif commented on July 23, 2024

Hi @TD-er

Happy that you've finally tested EspBuddy ;-)

I'm not sure to fully understand your request...

What would you like that I change in EspBuddy?

Adding the ability to use another minimalOtaFirstStep.bin.gz instead of the current one (firmwares/ESPEasyUploader.OTA.1m128.esp8266.bin)? right?

from espbuddy.

TD-er avatar TD-er commented on July 23, 2024

Well the 2-step OTA build must be based on the latest core version.
Then it supports to flash compressed bin files.
This also means the 2-step OTA build can be compressed if used to upgrade a node running core 2.7.0
So the added size of the newer core can be compensated by compressing it.

This also makes it slightly more complex to determine the max. size of a bin file, as the total sketch space must be able to hold an uncompressed file + the other in compressed form.

  • (new.bin + 2-step.bin.gz) < total
  • (2-step.bin + new.bin.gz) < total

I have not yet tested the entire ESP-buddy system myself, but I was thinking you've been working on it for a while so you will have a much better understanding of what's needed here and I do like the concept of assisted web backend for deployment.
And by using your 2-step OTA binary we also may help each other in further development.

For example something I think may also be possible in the future is to patch or upgrade settings or maybe even switch file systems (SPIFFS => LittleFS) which would otherwise be a very cumbersome exercise.

from espbuddy.

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.