Git Product home page Git Product logo

Comments (2)

mikee47 avatar mikee47 commented on August 23, 2024

Your issue is somewhat lacking in detail, but I'll make a few observations. Note that the build system isn't smart enough to detect changes in the target filesystem layout so you must do this manually.

In general when you need to rebuild a filing system partition image use make buildpart. If the partition in question is called, say, spiffs0, then you can be more specific and use make buildpart PART=spiffs0. That will rebuild the image from the source files.

Regarding make flash, if you run make help you'll see it described as Write the boot loader and all defined partition images. By contrast, make flashpart PART=spiffs0 will flash only the spiffs0 partition.

If you're doing a lot of this sort of iterative development on high-level stuff like web interfaces, you might consider getting your project building for Host and use that for development (if you're not already!). It's much faster than repeatedly re-flashing devices!

from sming.

xeonqq avatar xeonqq commented on August 23, 2024

Thanks for the hint. I tried the make buildpart, it is still not clever enough to detect the change and build the newly modified file, I still need to change the file name so that it can detect the change.
I do need to try the host build.

from sming.

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.