Giter Club home page Giter Club logo

Comments (7)

Jesus89 avatar Jesus89 commented on June 15, 2024 1

Ok! Thanks for the information.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024 1

I granted you with full permissions to this repo. You can work on it without PR.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024 1

Great. Thanks!

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

Yes, it's possible. With PlatformIO 3.0 you have full control on PlatformIO. In this case, in main script main.py need to add

from os.path import join

platform = env.PioPlatform()
env.PrependENVPath("PATH", join(platform.get_package_dir("toolchain-verilog ", "lib", "ivl")))

In this case, PlatformIO Core will manage packages using semantic versioning and depended packages will be automatically loaded.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

I suppose that correct syntax is:

join(platform.get_package_dir("toolchain-verilog"), "lib", "ivl"))

instead of join(platform.get_package_dir("toolchain-verilog ", "lib", "ivl"))

Also, I can not access to platform.get_package_dir("toolchain-iverilog") because there is no toolchain-iverilog version in appstate.json although package is installed. Same with toolchain-icestorm.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

join(platform.get_package_dir("toolchain-verilog"), "lib", "ivl"))

This is correct syntax.

platform.get_package_dir("toolchain-iverilog")

While package isn't installed yet, need to use join(platform.get_package_dir("toolchain-verilog") or "", "lib", "ivl"))

appstate.json

PlatformIO 3.0 doesn't use appstate.json for package registry. It relays on real manifests located in the packages. Please check that toolchain-iverilog has package.json.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

Yes. It contains the package.json. Just everything reinstalled and it works.

from platform-lattice_ice40.

Related Issues (12)

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.