6 years, 4 months ago.

How do I tell if a given documentation page is for mbed-os-5 or mbed-os-2?

Starting at the mbed-os-5 high level page (https://os.mbed.com/docs/v5.6), there's a dropdown box in the upper right corner that says "v5.6" and the box is also in sub-pages. Is the presence of that box a sure-fire way of knowing that the page is for "5"?

One of the "v5.6" pages has a link to github to see source code. Is that source code all for "5"? Perhaps some of the source code is for both "5" and "2".

Looking at mbed.h in the github area (titled mbed-os / mbed.h), mbed.h references MBED_CONF_RTOS_PRESENT. How does that get defined?

1 Answer

6 years, 4 months ago.

Hi Alfred,

The source code at https://github.com/ArmMbed/Mbed-OS is Mbed OS 5 code. Documentation at https://os.mbed.com/docs/v5.6 will all be in reference to Mbed OS 5 and it's version in the dropdown (so in this case Mbed OS 5.6).

Documentation relating to Mbed 2 can be found in the Mbed Handbook here: https://os.mbed.com/handbook/Homepage. If you find a topic in the Mbed 2 Handbook that has an equivalent documentation page for Mbed OS 5, there will be a yellow box at the top with a link to the new documentation (as shown in the screenshot below):

/media/uploads/jplunkett/screen_shot_2017-12-19_at_4.34.46_pm.png Shown here: https://os.mbed.com/handbook/LocalFileSystem

Let me know if you have any questions!

- Jenny, team Mbed