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 PlatformCapabilities and TargetCapabilities to CLRCapabilities #202

Merged

Conversation

josesimoes
Copy link
Member

Description

  • Add these to NanoFrameworkDeviceInfo and interface.
  • Add target capabilites enum for all available platforms.
  • Update test app with these.

Motivation and Context

  • With these new data fields targets can report capabilities specific to the platform and to the target. Having them as general flags wouldn't work as that would be a waste of space because of the differences between platforms and targets. Having them generic allows for those differences and the real meaning is figured out by an upper layer.

How Has This Been Tested?

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: José Simões [email protected]

- Add these to NanoFrameworkDeviceInfo and interface.
- Add target capabilites enum for all available platforms.
- Update test app with these.

Signed-off-by: José Simões <[email protected]>
@nfbot
Copy link
Member

nfbot commented Jun 27, 2019

Hi @josesimoes,

I'm nanoFramework bot.
Thank you for your contribution!

A human will be reviewing it shortly. 😉

@josesimoes
Copy link
Member Author

SonarCloud check failing on low coverage. Ignoring.

@josesimoes josesimoes merged commit de297ff into nanoframework:develop Jun 27, 2019
@josesimoes josesimoes deleted the add-target-platform-capabilities branch June 27, 2019 08:52
josesimoes added a commit to Eclo/nf-interpreter that referenced this pull request Jun 27, 2019
- Following nanoframework/nf-debugger#202.
- Add new header with placeholder for platform and target capabilites.
- Add enum with target capabilities for STM32 targets.
- Add target declaration to ND3 and QUAIL.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to Eclo/nf-interpreter that referenced this pull request Jun 27, 2019
- Following nanoframework/nf-debugger#202.
- Add new header with placeholder for platform and target capabilites.
- Add enum with target capabilities for STM32 targets.
- Add target declaration to ND3 and QUAIL.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jun 27, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jun 27, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 9, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 9, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 9, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 10, 2019
jakubstandarski pushed a commit to jakubstandarski/nf-interpreter that referenced this pull request Jul 11, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 12, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 12, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
jakubstandarski pushed a commit to jakubstandarski/nf-interpreter that referenced this pull request Jul 15, 2019
jakubstandarski pushed a commit to jakubstandarski/nf-interpreter that referenced this pull request Jul 15, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 16, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 18, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 18, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 22, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 22, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 23, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 23, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 24, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Jul 24, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Aug 26, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Aug 26, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Aug 27, 2019
morali pushed a commit to morali/nf-interpreter that referenced this pull request Oct 4, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 17, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 17, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 18, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 18, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 23, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 23, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 30, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Oct 30, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 5, 2019
josesimoes added a commit to Eclo/nf-interpreter that referenced this pull request Nov 5, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 8, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 8, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 14, 2019
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 14, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Nov 27, 2019
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Feb 7, 2020
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to Eclo/nf-interpreter that referenced this pull request Feb 25, 2020
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to nanoframework/nf-interpreter that referenced this pull request Mar 9, 2020
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
josesimoes added a commit to Eclo/nf-interpreter that referenced this pull request Jul 15, 2020
- Following nanoframework/nf-debugger#202.

Signed-off-by: José Simões <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants