Giter Site home page Giter Site logo

Comments (5)

salkinium avatar salkinium commented on May 10, 2024

You have to provide a path to the repos either in your own modm_example/project.xml using the <repository> elements like in the board config file, or via the command line like you tried.

It seems there is a bug in lbuild which shouldn’t try to parse the same repo.lb file twice, regardless of how many times it is declared. For now, I recommend you add the <repository> elements to your project.xml.
(The examples don’t have this issue, since there is a modm/examples/lbuild.xml file, which lbuild automatically finds and it contains the repo path, I’ll update the docs for this).

from modm.

salkinium avatar salkinium commented on May 10, 2024

I've fixed the duplicate parsing of repo files in lbuild v1.6.4 just now.

from modm.

ASMfreaK avatar ASMfreaK commented on May 10, 2024

I can verify the fix. I now use in parent folder this ./lbuild.xml:

<library>
  <repositories>
  	<repository><path>modm/repo.lb</path></repository>
  </repositories>
</library>

Works great! It is fixed for me. Should I close the issue or should we wait till the docs are fixed?

from modm.

salkinium avatar salkinium commented on May 10, 2024

Excellent! That’s exactly how lbuild.xml is supposed to be used.

Leave the issue open for now, it reminds me about what I need to clarify.
We’re still working on better docs at https://doc.modm.io, but it’s a bit complicated with all these different devices and options.

from modm.

salkinium avatar salkinium commented on May 10, 2024

I've added a tip to the getting started guide regarding the repository paths:
https://modm.io/guide/getting-started/#custom-configuration

from modm.

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.