![Waveshare XNUCLEO-F030R8 User Manual Download Page 16](http://html1.mh-extra.com/html/waveshare/xnucleo-f030r8/xnucleo-f030r8_user-manual_3884129016.webp)
Xnucleo User Manual
16
V2.6.1, Apr. 25
th
2015
share awesome hardware
3.
HOW TO USE MBED ON S TM32 XNUCLEO PLATFORM
Xnucleo series is fully compatible with Nucleo series and can run the Nucleo Demos directly.
Therefore, you can develop your STM32 Xnucleo applications based on the applications of
STM32 Nucleo. Table 10 gives the relationship between Xnucleo series and Nucleo series.
Table 10: Relationships between Xnucleo series and Nucleo series
Xnucleo
Nucleo
XNUCLEO-F030R8
NUCLEO-F030R8
XNUCLEO-F103RB
NUCLEO-F103RB
XNUCLEO-F302R8
NUCLEO-F302R8
XNUCLEO-F401RE
NUCLEO-F401RE
XNUCLEO-F411RE
NUCLEO-F411RE
The operations presented in this document are based on XNUCLEO-F103RB. For different
Xnucleo devices, there may be some differences in configuring the development environment.
So users should operate according to the actual conditions.
3.1
HOW TO COMPILE AND DOWNLOAD PROGRAM UNDER MBED
In this section, we only present the ways to compile and download program, since it does not
have room to address every factor of mbed. For more detailed information about the usage of
mbed, please refer to the documents provided by mbed organization.
3.1.1
PROGRAM COMPILING
Here we take XNUCLEO-F103RB as an example. Start the mbed software, and open a program,
such as Nucleo_printf. Then, click the button Compile for program compiling. If the program has
no error, Compile Output will show “Success!” after the compiling is finished. And the file
Nucleo_printf_NUCLEO_F103RB.bin will be generated. This file can be found in the specified
save path (This save path is modifiable).
3.1.2
PROGRAM DOWNLOADING
1)
Run the STM32 ST-LINK Utility, and select file->Open file. Then, open the file
Nucleo_printf_NUCLEO_F103RB.bin.