3 years, 5 months ago.

Mbed online tutorial problem with event queue example

I am trying to compile the tutorial program from (https://os.mbed.com/docs/v5.6/tutorials/the-eventqueue-api.html). The one on the Queue event section. I have a STM32F091RC board. I have installed two libraries in my project mbed and mbed-os. When I compile the online compiler throws the following error:

Error: Library name 'platform' is not unique (defined in '/extras/mbed_e7ca05fa8600/TARGET_NUCLEO_F091RC/mbed_lib.json' and '/src/mbed-os/platform/mbed_lib.json')

The compiler does not explain what libraries you need in your project. What do I have to change to run the examples on the tutorials.

1 Answer

3 years, 5 months ago.

Please just use the example as is in the documentation. That is the example that has been tested, without any additional libraries.

You should not add an additional mbed library. Mbed-OS is the only library you need, and it is the only library the example uses.

Accepted Answer