Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove include of Hardware*.h from ArduinoAPI.h#120

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
facchinm merged 2 commits intoarduino:masterfromgiulcioffi:namespaced_api_Hardware
Nov 17, 2020

Conversation

@giulcioffi
Copy link
Contributor

Hardware related includes can be removed from ArduinoAPI.h since they can be included by the specific interfaces. This gives also the users more flexibility to implement their own classes.

In ArduinoCore-API integration in ArduinoCore-samd, the 3 includes removed form ArduinoAPI.h are, instead, here:

ArduinoCore-mbed must be modified as well to correctly include this files. This branchNOHardwareIncludeInAPI provides a possible implementation. The CIworkflow has been locally modified to ensure that this proposed branch of ArduinoCore-API is checked out. The compilation has been successful:https://github.com/giulcioffi/ArduinoCore-mbed/actions/runs/257232488

@bblanchon
Copy link

Hi guys,

I'm sorry to dig into such an old PR but why did you removeClient.h?

deprecated/Client.h says:

including Client.h is deprecated, for all future projects use Arduino.h instead

This meansClient.h should be included inArduinoAPI.h, right?

Best regards,
Benoit

JAndrassy reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@facchinmfacchinmAwaiting requested review from facchinm

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@giulcioffi@bblanchon@facchinm

[8]ページ先頭

©2009-2025 Movatter.jp