Giter Club home page Giter Club logo

Comments (4)

peter-valkov avatar peter-valkov commented on September 16, 2024

There is no reason above mentioned functions to be in RAM. Just an oversight on my part. Fix is ready and I will commit it later today. Thank you for the cooperation.

However I have no problems with compilation. What options you use to compile?

from esp8266.

peter-valkov avatar peter-valkov commented on September 16, 2024

Resolved with commit 6064583

from esp8266.

mikexmas avatar mikexmas commented on September 16, 2024

I use Olimex MAKEFILE, some additional C/H files added only with my code. Size of .text increases to cca 8250hex, but limit is 8000hex.
I checked DUMP, but no my code is placed into .text, so maybe some additional system calls are done, but I have not investigated yet.
I added to linker options: -Wl,--gc-sections to decrease size.
This happened after migration to 1.5.3.

from esp8266.

peter-valkov avatar peter-valkov commented on September 16, 2024

I will recommend you to compile with

make DEVICE=EVB_ONLY APP=1
make DEVICE=EVB_ONLY APP=2

depending which binary you want to compile. This will reduce module drivers to minimum and will leave more RAM for your code.

You can look at user_config.h to see drivers included for each preset device configurations.

At the moment device presets are: EVB_ONLY, PLUG, SWITCH1, SWITCH2, BADGE, DIMMER.

from esp8266.

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.