Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated or generalize the 'partial support' concept in apio. #470

Closed
zapta opened this issue Nov 20, 2024 · 1 comment
Closed

Deprecated or generalize the 'partial support' concept in apio. #470

zapta opened this issue Nov 20, 2024 · 1 comment

Comments

@zapta
Copy link
Collaborator

zapta commented Nov 20, 2024

This was transfered from #461

This issue is for the deprecation or the generalization of the 'partial support' feature in apio. That is, fpgas, programmer, and boards that are supported only on some of the platrorms.

Deprecation option:
With this model, all boards, fpgas, and programmers are supported on all apio supported platform. The change is simple

  • Delete from boards.json the (two) boards with platform: attribute.
  • (optional) Add to apio examples example(s) for the deleted boards with custom boards.json in their project dir.
  • Remove the code that is related to the boards.json platform: property.

Generalization option:

  • Define a way to specify in .json files a subset of the supported platform. Ideally it will allow to substruct from the set of all platforms and to add to the empty set of platforms. e.g. mutually exclusive fields supported_platforms: ["windows_amd64", "darwin"] and non_supported_platforms: ["windows_amd64", "darwin"]
  • Allow to use these specification in boards.json, fpgas.json, and programmers.json.
  • In any project related apio command, warn in the begining if the current project is not fully supported on the current platform. The goal is to avoid surprises at latter stages of a project.
@zapta
Copy link
Collaborator Author

zapta commented Jan 11, 2025

Per the discussion here, removed the two 'dead code' board definition.

Closing this one. If we need for partial platform support will come in the future, we will address it based on the requirements at that time.

@zapta zapta closed this as completed Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant