STM32 Nucleo-F030R8

Support for the STM32 Nucleo-F030R8. More...

Detailed Description

Support for the STM32 Nucleo-F030R8.


The Nucleo-F030R8 is a board from ST's Nucleo family supporting a ARM Cortex-M0 STM32F030R8 microcontroller with 8KiB of RAM and 64KiB of Flash.


![Nucleo64 F030R8] (


Pinout for the nucleo-f030r8


Family ARM Cortex-M0
Vendor ST Microelectronics
Flash 64KiB
Frequency up to 48MHz
FPU no
Timers 10 (2x watchdog, 1 SysTick, 7x 16-bit)
ADCs 1x 12-bit
SPIs 2
I2Cs 2
Vcc 2.4V - 3.6V
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual
Board Manual Board Manual

Implementation Status

Device ID Supported Comments
MCU STM32F030R8 partly Energy saving modes not fully utilized
Low-level driver GPIO yes
PWM yes (4 pins available)
UART 2 UARTs USART2 via STLink/USB or D0(RX)/D1(TX) and USART1 on PA10(RX)/PA09(TX)
ADC 6 pins
I2C no
SPI no
USB no
Timer 3 16 bit timers

Flashing the device

Flashing the Board Using OpenOCD

The ST Nucleo-F030R8 board includes an on-board ST-LINK V2 programmer. The easiest way to program the board is to use OpenOCD. Once you have installed OpenOCD (look here for installation instructions), you can flash the board simply by typing

make BOARD=nucleo-f030r8 flash

and debug via GDB by simply typing

make BOARD=nucleo-f030r8 debug

Flashing the Board Using ST-LINK Removable Media

On-board ST-LINK programmer provides via composite USB device removable media. Copying the HEX file causes reprogramming of the board. This task could be performed manually; however, the cpy2remed (copy to removable media) PROGRAMMER script does this automatically. To program board in this manner, use the command:

make BOARD=nucleo-f030r8 PROGRAMMER=cpy2remed flash
This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates could be found on this STM webpage.

Supported Toolchains

For using the ST Nucleo-F030R8 board we strongly recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.


file  periph_conf.h
 Peripheral MCU configuration for the nucleo-f030r8 board.