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

Add implementation information to device schema #43

Open
1 of 4 tasks
bruno-f-cruz opened this issue Mar 24, 2024 · 1 comment
Open
1 of 4 tasks

Add implementation information to device schema #43

bruno-f-cruz opened this issue Mar 24, 2024 · 1 comment
Labels
proposal Request for a new feature

Comments

@bruno-f-cruz
Copy link
Member

bruno-f-cruz commented Mar 24, 2024

  • Proposed
  • Prototype: Not Started
  • Implementation: Not Started
  • Specification: Not Started

Summary

Add implementation information to the device schema (https://github.com/harp-tech/protocol/blob/main/schema/device.json)

Motivation

In anticipation of implementation specific behavior (eg. see proposals #18 #42) we should think about adding information related to the architecture of the implementation. This may also be necessary for future virtual devices and even 32-bit architectures.

Detailed Design

Add a new field called "target_implementation" to the schema of type string.

Drawbacks

Alternatives

Unresolved Questions

Should this be a constrained list of strings?
Should we also add a separate field for the 8bit/32bit versions?

Design Meetings

@bruno-f-cruz
Copy link
Member Author

bruno-f-cruz commented Apr 4, 2024

Consider also having an entry for virtual devices in addition to hardware architectures.
Goncalo suggests calling this "Architecture" = enum[atmel, pico, virtual, etc...]

Open questions:

  • What to name this field?
  • What enumerable values should be allowed for now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant