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 additional supported architectures to metadata #5

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Add additional supported architectures to metadata #5

merged 1 commit into from
Sep 13, 2022

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 9, 2022

Previously, the library's metadata only specified compatibility with the mbed architecture. This is the architecture used by the "[DEPRECATED - Please install standalone packages] Arduino Mbed OS Boards" platform. As you might guess from the name, this platform is deprecated. Since it is clearly marked as such and has been so for some time, it is likely the majority of users have switched to the more specific "Arduino Mbed OS ___ Boards" platforms.

Since compatibility with those architectures was not specified in the metadata, the following impacts resulted on users who had one of the boards of the non-deprecated platforms selected:

Incompatibility warning during compilation

A warning was displayed in the compilation output. For example

WARNING: library Arduino_PF1550-master claims to run on mbed architecture(s) and may be incompatible with your current board which runs on mbed_portenta architecture(s).

Examples marked incompatible

The library's example sketches were placed under the File > Examples > INCOMPATIBLE menu of Arduino IDE 1.x (example categorization by compatibility not implemented in Arduino IDE 2.x at this time), and the equivalent in the arduino-cli lib examples output.

Suppression in library listings

The library was not listed in the arduino-cli lib list --fqbn output.

Previously, the library's metadata only specified compatibility with the `mbed` architecture. This is the architecture used by the "[DEPRECATED - Please install standalone packages] Arduino Mbed OS Boards" platform. As you might guess from the name, this platform is deprecated. Since it is clearly marked as such and has been so for some time, it is likely the majority of users have switched to the more specific "Arduino Mbed OS ___ Boards" platforms.

Since compatibility with those architectures was not specified in the metadata, the following impacts resulted on users who had one of the boards of the non-deprecated platforms selected:

A warning was displayed in the compilation output. For example

WARNING: library Arduino_PF1550-master claims to run on mbed architecture(s) and may be incompatible with your current board which runs on mbed_portenta architecture(s).

The library's examples were placed under the File > Examples > INCOMPATIBLE menu of Arduino IDE 1.x (example categorization by compatibility not implemented in Arduino IDE 2.x at this time), and the equivalent in the `arduino-cli lib examples` output.

The library was not listed in the `arduino-cli lib list --fqbn` output.
@facchinm facchinm merged commit de399a8 into arduino-libraries:master Sep 13, 2022
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

Successfully merging this pull request may close these issues.

2 participants