6 years, 4 months ago.

Modifying a library that is being used,in the orginal form, in another program ?

I have written and debugged a program that uses a downloaded MBED library and am happy with it. Now I have some ideas for changing the program (that will use a different ,but similar peripheral device) that will require changes to the library, but I do not want to have these changes reflect back into the original library.

I can't seem to figure out how to do this. If I copy the original program and rename it and then make changes to the included library won't these changes , when saved, also change the original library???

Thanks in advance for your help.

David G.

1 Answer

6 years, 4 months ago.

The original program will only pick up changes to the library that are committed and published via the mbed version control system.

When you publish there is an option to create a fork of the library. Creating a fork will result in a new library and so the changes won't show up in any programs using the original.

Accepted Answer