Adding library for new board

Hello Everyone,
This is our first post. We have designed and developed our own series of microprocessors which is based on RISC-V ISA. Based on that we have our own development boards. Recently we added our board on Arduino IDE, we implemented most of functions and Macros referring Arduino standard. We tried many sensor libraries available in manage libraries, which are working without any changes required in library. But many of them needed some small changes.
Is there any way to edit these libraries so that next time someone install any particular library, it should work directly without any modification.

1 Like

Do you mean you want to edit other folk's libraries? Not directly--you'd have to go through the process of encouraging those maintainers to add your changes to their libraries, and many of the libraries aren't actively maintained.

1 Like

First of all thank you for your reply.
So can i make required modification in their library and re-upload it. Is there any copyright issues?

Thank you so much. I'll definitely go through it.

Arduino libraries are generally released under an open source software license which allows exactly this sort of usage, but with some conditions.

You must check the license of the individual libraries to learn the conditions under which you can use them. The common convention is to document the license in a file named LICENSE.txt or LICENSE that is placed in the root folder of the repository. Alternatively, it might be documented in a comment at the top of the individual code files in the library.

If you don't find documentation of a license, then the library has the default "all rights reserved" license and you cannot use or distribute it without first obtaining permission from the copyright owner. The lack of license documentation is often simply an oversight rather than an intentional restriction so you may be able to work with the library author to get open source licensing of the library.

1 Like

Not quite--All the libraries in the IDE are managed through github releases and the Arduino policies. But the policies correctly won't let you add a new library with the same name: library-registry/FAQ.md at main · arduino/library-registry · GitHub

You can fork a library and make a different name, modulo any licensing constraints, but that adds confusion and doesn't change the libraries already existing in the list. You have to deal with the maintainers of those libraries to get those libraries changed. Github makes it easy to fork a copy and submit a pull request so the library maintainer can easily add the changes to their copy. For the less-maintained libraries, like the popular LiquidCrystal-I2C, making a change is very difficult.

1 Like

Do you have a link to your controller and board?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.