Arm Mbed OS support forum

How to create an instance of mbed to be used as shared instance later?

Hello, forgive me if this is a dumb question, but I don’t quite understand the concept of an “instance of mbed os” taking 1GB of disc space. I want to use the “shared instance” thingy but have no idea how to create one/find one or even what it means! Any clarification would be well appreciated.

Hello,

Just visit documentation Managing libraries - Managing libraries | Mbed Studio Documentation.

Personally, I use it this way:

  • create a new project with requested version of MbedOS - can be deleted or used later
  • create a new folder somewhere out of MbedPrograms folder, for example MbedOS_shared
  • copy/move mbed-os folder of MbedOS library and mbed-os.lib file from the new project to the new separated folder.
  • now, in any project just use button Switch to shared how is written in documentation and navigate it to the separated folder

BR, Jan

1 Like

I suspected I had to copy the mbed os folder. If that’s how it’s meant to be used, then it works with me too :slight_smile:
Thanks much.