Giter Club home page Giter Club logo

Comments (2)

roycewilliams avatar roycewilliams commented on May 20, 2024

Perfect and quick - thanks very much!

For anyone else who happens to run into this, just blow your local repo away and re-clone. Otherwise, your local OpenSK will be in a nonfunctional state; running ./setup.sh will fail to properly apply patches, and you'll get a jumble of something like this:

$ ./setup.sh 
[-] Applying patch "01-persistent-storage.patch"... error: patch failed: boards/nordic/nrf52dk_base/src/lib.rs:105
error: boards/nordic/nrf52dk_base/src/lib.rs: patch does not apply
error: patch failed: chips/nrf52/src/nvmc.rs:3
error: chips/nrf52/src/nvmc.rs: patch does not apply
error: patch failed: kernel/src/callback.rs:50
error: kernel/src/callback.rs: patch does not apply

[etc]

If you encounter this, just remove your repo entirely and re-clone it.

(But I expect that very few people will - there was a very small window of time before this fix was applied, and not many are likely to have pulled and didn't already have the right Rust setup)

Thanks again!

from opensk.

ia0 avatar ia0 commented on May 20, 2024

Actually, there was a slightly simpler way. The reset.sh script permits to revert uncommitted changes (including in the submodules) to restore the repository to an almost clean cloned state. I'm adding documentation in #31.

from opensk.

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.