How to shared my library from mbed studio?

I would like to share my personal .cpp and .h library files on the os., just like many other librarys are shared. This will help me maintaining my own libraries properly.


good question. I also tried to find how to do this from KeilStudio and I think there is nothing simple like with old Online compiler.
But I found a workaround.

  • create empty repository on your Mbed profile or github
  • According to this guide you can set tracked and untracked files from project. So you can set git to track only specific files what you want publish
  • select push to and then set Url of your repository.

Try it on a test project first for sure

BR, Jan