9 years, 9 months ago.

The documentation is broken? Source files preview unavailable? Convert the build into library?

I just did:

  1. Open the "mbed.html" for my device, which sends me to https://developer.mbed.org/platforms/ST-Nucleo-L152RE/
  2. Click the "open mbed compiler" button on that page
  3. Accept the default "Nucleo_blink_led" sample project, click OK
  4. Click the "main.cpp" which was just created
  5. Click the DigitalOut keyword
  6. Click the "A" documentation on the box that pops up in the corner
  7. I get an error:

Quote:

The source files preview is unavailable for library builds.

To preview the source files you should convert the build into library.

Wat? I'm looking for documentation, not source files. What does "convert the build into library" even mean?

Last time I tried to work with mbed a few months ago, that button did what I expected. Now, not so much.

1 Answer

9 years, 9 months ago.

Replace the mbed library folder with this and it works:

https://developer.mbed.org/users/mbed_official/code/mbed-dev/

I don't know how to do that. My attempts to do so just break the project.

And why should I A) have to take manual action and B) have that action be using the dev rather than stable library, just to get documentation to work?

posted by Anthony Lieuallen 21 Jan 2016

Many things aren't working on Mbed at the moment. Documentation is one of the them. If you delete the Mbed library in your working folder and 'import' the one above into that folder you will be able get some of the documentation working. Since a recent ST update some of the platforms have issues so you may find you need to roll back the Mbed library to an earlier version.

posted by Paul Staron 21 Jan 2016