Skip to content

Conversation

@soburi
Copy link
Member

@soburi soburi commented Nov 1, 2025

Make the license-incompatible headers and implementations
a downloadable blob using west blobs fetch.

This change avoids the need to copy API files manually.

@soburi soburi added the DNM This PR should not be merged (Do Not Merge) label Nov 1, 2025
@soburi soburi force-pushed the blob branch 2 times, most recently from 2b822a5 to fa24435 Compare November 1, 2025 08:27
@soburi soburi changed the title manifest: Make ArduinoCore-API a downloadable blob [DNM] manifest: Make ArduinoCore-API a downloadable blob Nov 1, 2025
@DhruvaG2000
Copy link
Member

This is something similar to how @kartben was suggesting here zephyrproject-rtos/zephyr#97726 right?

@soburi
Copy link
Member Author

soburi commented Nov 2, 2025

This is something similar to how @kartben was suggesting here zephyrproject-rtos/zephyr#97726 right?

Probably not.
This brings in ArduinoCore-API related files as blobs from outside easily.
This may not be necessary if you are making this an external module.
Rather, this is fit for a case that treats this repo as "Disabled Module."

This mechanism is intended to prevent sources with incompatible licenses from being included in this repository. I believe it qualifies for integration into Zephry, at least from the licensing perspective.

@soburi soburi force-pushed the blob branch 2 times, most recently from 75d9ed1 to 112d894 Compare November 2, 2025 11:07
@soburi soburi force-pushed the blob branch 3 times, most recently from d6f8860 to 22f1677 Compare December 4, 2025 22:09
@soburi soburi changed the title [DNM] manifest: Make ArduinoCore-API a downloadable blob manifest: Make ArduinoCore-API a downloadable blob Dec 5, 2025
@soburi soburi marked this pull request as ready for review December 5, 2025 12:01
Copilot AI review requested due to automatic review settings December 5, 2025 12:01
Copilot finished reviewing on behalf of soburi December 5, 2025 12:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the Arduino Core API integration by converting it from a manual clone/symlink process to using Zephyr's west blob management system. The license-incompatible Arduino Core API files (LGPL 2.1) are now downloaded on-demand using west blobs fetch instead of requiring manual setup.

Key changes:

  • Replaced manual Git clone and symlink setup with west blob configuration for 45 Arduino Core API files
  • Removed the install.sh script that handled the manual setup process
  • Updated build workflow and documentation to use west blobs fetch arduinocore-zephyr

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
zephyr/module.yml Renamed module to "arduinocore-zephyr" and added blob definitions for all 45 Arduino Core API files (headers and sources) from version 1.5.2
zephyr/blobs/ArduinoCore-API/LICENSE Added LGPL 2.1 license file for the Arduino Core API blobs
install.sh Removed manual installation script that cloned and symlinked Arduino Core API
README.md Updated setup instructions to use west blobs fetch instead of manual cloning/symlinking
CMakeLists.txt Added include directory for blob location when not using Rust implementation
.github/workflows/build.yml Updated CI workflow to fetch blobs instead of manually cloning/copying files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soburi soburi removed the DNM This PR should not be merged (Do Not Merge) label Dec 5, 2025
Make the license-incompatible headers and implementations
a downloadable blob using `west blobs fetch`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Since ArduinoCore-API has been made into a blob,
the CI procedure will be modified.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Copilot finished reviewing on behalf of soburi December 5, 2025 12:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soburi soburi requested a review from Copilot December 5, 2025 13:20
Copilot finished reviewing on behalf of soburi December 5, 2025 13:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@soburi soburi requested a review from Copilot December 5, 2025 13:30
Copilot finished reviewing on behalf of soburi December 5, 2025 13:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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