9 years, 7 months ago.

Where I can get list of supported classes of mbed library for my platform?

Subj.

There is no supported classes list in platform home page. Example: Nucleo F401RE does not support Mass Storage. But trying to compile LocalFileSystem example lead to absolutely senseless error message: "Error: Identifier "LocalFileSystem" is undefined in "main.cpp", Line: 3, Col: 2".

Newbie can't win this kink.

1 Answer

9 years, 7 months ago.

Not newbie friendly but in the mbed library the device.h file for your platform defines which features are available. The pinNames.h and PeripheralNames.h files in that same directory then define what features have already been given more user friendly names. e.g. on the F401 LED1 is defined as being PA_5 so DigitalOut(LED1) is identical to DigitalOut(PA_5) on that platform.

http://mbed.org/users/mbed_official/code/mbed/file/552587b429a1/TARGET_NUCLEO_F401RE/TARGET_STM/TARGET_NUCLEO_F401RE