Giter VIP home page Giter VIP logo

Comments (6)

danbates2 avatar danbates2 commented on June 14, 2024

@glynhudson @TrystanLea @jeremypoulter

I took emonesp/src timer branch and copied it to ESP8266_WiFi_v2.x/src folder and hit compile:

DATA: [===== ] 53.7% (used 43956 bytes from 81920 bytes)
PROGRAM: [= ] 10.5% (used 438603 bytes from 4194304 bytes)

Looks promising so far, PROGRAM is 438603 bytes, below 50%... I'll try get it working now.

from emonesp.

sindudas avatar sindudas commented on June 14, 2024

The Sonoff makes 2 firmware, sonoff-minimal and other sonoff-*
Sonoff-minimal is what is needed to use before update with other greater firmware.
And doesnโ€™t use spiffs.

from emonesp.

danbates2 avatar danbates2 commented on June 14, 2024

I can't find the minimal you refer to, is it a pio env?

from emonesp.

sindudas avatar sindudas commented on June 14, 2024

On realeses, you can find the different .bin for the different purposes.

sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

When compiling from sources,there is a VAR for compiling that .bin .
That firmware handles the minimal functions to update it over web (at least)

from emonesp.

danbates2 avatar danbates2 commented on June 14, 2024

I can find what look like 'minimal' memory addresses in firmware.map, but can't find the VAR you mention. Which file is it in?

from emonesp.

sindudas avatar sindudas commented on June 14, 2024

my_user_config.h
Line 435: //#define FIRMWARE_MINIMAL // Create sonoff-minimal as intermediate firmware for OTA-MAGIC

Uncommenting that line and compiling, generates the minimal firmware.

from emonesp.

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.