Skip to content

Commit 86b893c

Browse files
author
Amanda Butler
authored
Update mbed-studio.md
Apply changes to 5.8 live documentation after viewing on test site.
1 parent 5d5c81d commit 86b893c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/tools/offline/mbed-studio.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,30 @@ On Windows machines, the two bundled executables are located at:
174174

175175
When you have configured everything, select `Apply` in the lower right side of the panel, and the click the blue Debug button just below that.
176176

177+
### Library management
178+
179+
Mbed Studio allows you to add libraries to your application from either GitHub or the Mbed OS developer site. Importing a program also imports the associated libraries. Management of these libraries takes place using the `Library Management` view, which appears on the right hand side of Mbed Studio.
180+
181+
You can update libraries imported from GitHub to any commit ID or branch. Libraries imported from the Mbed OS developer site are imported as a "snapshot" and do not contain history.
182+
183+
#### Adding and removing libraries
184+
185+
You can add a library from the Mbed OS developer site or GitHub by clicking the dropdown arrow in the `Library management` view and selecting **Add a library to the project...**. This opens a dialog, which allows you to paste an Mbed OS developer site library URL plus commit ID, or a link to a repository in GitHub.
186+
187+
<span class="images">![](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/Mbed-Studio-OS-Site-Library-Import.png)<span>Adding a library from the Mbed OS developer site</span></span>
188+
189+
You can also remove libraries by right-clicking on a library and selecting **Remove library from the project**.
190+
191+
#### Viewing and updating libraries
192+
193+
You can view the libraries present in your application in the `Library Management` view, and also as folders inside the application structure in the `Mbed Projects` view. The `Library Management` view lists each library, alongside its version indicator.
194+
195+
To update a library, right click on the library that you want to update, and select **Update to latest** or **Change to a specific commit**. Selecting **Change to a specific commit** opens a list of tags and branches. For example, in the case of Mbed OS, this includes 5.8.1.
196+
197+
<span class="images">![](https://s3-us-west-2.amazonaws.com/mbed-os-docs-images/Mbed-Studio-Library-Commit-Version-Select.png)<span>Mbed Studio library management using GitHub</span></span>
198+
199+
To update a library that you have imported from the Mbed OS developer site, delete it, and then import again at a different commit ID.
200+
177201
### Help
178202

179203
This section outlines known issues and provides answers to common questions.

0 commit comments

Comments
 (0)