- Python 72.4%
- C++ 27.6%
| .vscode | ||
| include | ||
| lib | ||
| src | ||
| test | ||
| .gitignore | ||
| .gitmodules | ||
| Arduino-PlatformIO-Dev.code-workspace | ||
| LICENSE | ||
| platformio.ini | ||
| README.md | ||
Arduino-PlatformIO library development project
This VSCode workspace is used todevelop Arduino and PlatformIO libraries. Clone repository using git or GitHub Desktop. If VSCode is used submodules are missing.
Check arduino lint
./arduino-lint.exe ./ModuleName
Add a submodule
git clone PROJECT_GIT_URL
git log --oneline
git cd DIRECTORY
git submodule add SUB_MODULE_GIT_URL
git status
git add .
git commit -m "Add GitHub submodule"
Upload to Arduino library system
https://github.com/arduino/library-registry/blob/main/FAQ.md#readme
Just add a link to the library to this list:
Open this link to fork this repository and edit the list via the GitHub web interface: https://github.com/arduino/library-registry/edit/main/repositories.txt
Updates are handled automatically by increasing the version number in libraries.properties.
Upload to PlatformIO library system
https://docs.platformio.org/en/latest/librarymanager/creating.html
You can publish a library to the PlatformIO Registry using pio pkg publish command. Every time when you modify a source code of a library you will need to increment the “version” field in library.json manifest and re-publish again.
pio pkg publish .\"LIBRARY_NAME"
i.e:
pio pkg publish .\HC_SR04\
In case of issues with: UserSideException: Packaging from an archive does not work on Windows OS. Use
pio pkg pack .\"LIBRARY_NAME"
pio pkg publish .\"LIBRARY_NAME"
Currently active libraries
- HC_SR04 (Arduino andPlatformIO) - https://github.com/bjoernboeckle/HC_SR04.git
- L293D (Arduino andPlatformIO) - https://github.com/bjoernboeckle/L293D.git