Giter Club home page Giter Club logo

Comments (12)

Jesus89 avatar Jesus89 commented on June 15, 2024 1

Yes, thanks for the tip!

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

Hi,

I have created this file https://github.com/FPGAwars/toolchain-iverilog/blob/master/manifest.json, and added its reference to this repo's platform.json.

I obtain Error: Detected unknown package.

Is there some semantic/strong relation between tag, version and package name?

I have used sha1sum over the package file. Is this correct?

Thanks.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024
  1. Currently, package manager supports zip and tar.gz formats (Python-native, for cross-platform).
  2. Package should contain package.json manifest. Please check any PIO3 package.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

Thanks. I will rebuild the packages with this format.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

I just rebuild all the packages with the required format: https://github.com/FPGAwars/toolchain-iverilog/releases/tag/v1.0.0.

A last question. For future versions is it better to add those new packages to the manifest, or to substitute the version fields?. I have observed both behaviors.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

Thanks!

For future versions it is better to add those new packages to the manifest, or to substitute the version fields.

It depends on a situation. If released development platform depends on version 1.0.0 and you are working on dev version of development platform that depends on 1.0.1, in this case, you need to have 2 versions in manifest.

There is no problem when many versions will be defined in a manifest. PlatformIO Package Manager will look for the best version which matches with requirements in platform.json.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

I think that we can remove all base package manifests from here and define your manifests.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

Ok.

I think that we can remove all base package manifests from here and define your manifests.

Yes, thats what I am testing in my fork: https://github.com/Jesus89/platform-lattice_ice40/blob/iverilog/platform.json#L21. I prefer by now to keep the old manifests because of the toolchain-icestorm packate, that will be updated with 1.10.0 (FPGAwars/toolchain-icestorm#63) because it will be a stable release.

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

Jesus89@a7aa0fa#diff-7bf8a7e6a6e69b354a3d3e106cc0cbacR39

Do you have a problem on Windows? OS should resolve it automatically.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

I check Windows to resolve .exe extensions. Also it is required for icarus verilog and vvp execution arguments.

from platform-lattice_ice40.

Jesus89 avatar Jesus89 commented on June 15, 2024

I will update it to use Windows check only for icarus verilog execution (#4)

from platform-lattice_ice40.

ivankravets avatar ivankravets commented on June 15, 2024

I asked because we have tons of Windows binaries and don't use this checking.

I think that SCons handles this calling when processing Action.

from platform-lattice_ice40.

Related Issues (14)

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.