forked from arduino/ArduinoCore-API
-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: keep only api/ folder for STM32duino usage #1
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| # 📚 ArduinoCore-API for STM32duino | ||
|
|
||
| Fork of [`arduino/ArduinoCore-API`](https://github.com/arduino/ArduinoCore-API) | ||
| Designed to be used as a git submodule in [`stm32duino/Arduino_Core_STM32`](https://github.com/stm32duino/Arduino_Core_STM32) | ||
|
|
||
| --- | ||
|
|
||
| ## 🎯 Purpose | ||
|
|
||
| This repository is a fork which reworks the folder structure to contain only the official Arduino API and hardware‑independent code, in order to simplify Arduino API integration into STM32duino via a git submodule. | ||
|
|
||
| It will also contain some updates/changes/enhancements/fixes. | ||
|
|
||
| --- | ||
|
|
||
| ## 📦 What's Included? | ||
|
|
||
| - ✅ Official Arduino API files (`api/` folder) | ||
| - ✅ some updates, changes, enhancements and fixes. | ||
|
|
||
| --- | ||
|
|
||
| ## 🚀 Submodule usage | ||
|
|
||
| ### 1️⃣ Add the Submodule | ||
|
|
||
| In the `Arduino_Core_STM32` repository, run: | ||
|
|
||
| ```bash | ||
|
|
||
| git submodule add https://github.com/stm32duino/ArduinoCore-API.git cores/arduino/api | ||
fpistm marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ``` | ||
| ### 2️⃣ Initialize and update | ||
| ```bash | ||
| git submodule update --init | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## 🔗 Official Resources | ||
|
|
||
| | Resource | Link | | ||
| |----------|------| | ||
| | **Official ArduinoCore-API** | https://github.com/arduino/ArduinoCore-API | | ||
| | **STM32duino** | https://github.com/stm32duino/Arduino_Core_STM32 | | ||
|
|
||
| --- | ||
|
|
||
| ## 📝 License | ||
|
|
||
| This repository is a fork of `arduino/ArduinoCore-API` and maintains the **same license** (LGPL 2.1+). | ||
|
|
||
| See the [LICENSE](License) file in the repository root for details. | ||
|
|
||
| --- | ||
|
|
||
| ## 💡 Important Notes | ||
|
|
||
| ### ✅ Advantages of Using a Submodule | ||
|
|
||
| - **Traceability**: Know exactly which version of the API you're using | ||
| - **Easy Updates**: Simple `git submodule update` to sync | ||
| - **Isolation**: API stays in its own code branch | ||
| - **Compatibility**: STM32-specific modifications remain separate | ||
|
|
||
| ### ⚠️ Points to Consider | ||
|
|
||
| - After cloning **Arduino_Core_STM32**, run: | ||
| ```bash | ||
| git submodule update --init --recursive | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## 📊 Project Information | ||
|
|
||
| | Property | Value | | ||
| |----------|-------| | ||
| | **Type** | fork | | ||
| | **Use Case** | Submodule for STM32duino | | ||
| | **Language** | C/C++ | | ||
| | **License** | LGPL 2.1+ | | ||
| | **Original Repository** | https://github.com/arduino/ArduinoCore-API | | ||
| --- | ||
|
|
||
| ## ✨ Quick Start | ||
|
|
||
| ### Clone **Arduino_Core_STM32** with this submodule | ||
|
|
||
| ```bash | ||
| git clone --recurse-submodules https://github.com/stm32duino/Arduino_Core_STM32.git | ||
| ``` | ||
|
|
||
| ### Update submodule | ||
|
|
||
| ```bash | ||
| git submodule update --remote | ||
| ``` | ||
|
|
||
| --- | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.