mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-20 03:53:49 +01:00
1.9 KiB
1.9 KiB
@defgroup boards_stm32f030f4-demo STM32F030F4 Demo Board @ingroup boards @brief Support for the STM32F030F4 Demo Board
Overview
The STM32F030F4 Demo Board is a very cheap breakout board for the STM32F030F4 MCU.
Hardware
MCU
| MCU | STM32F030R4 |
|---|---|
| Family | ARM Cortex-M0 |
| Vendor | ST Microelectronics |
| RAM | 4Kb |
| Flash | 16Kb |
| Frequency | up to 48MHz |
| FPU | no |
| Timers | 8 (2x watchdog, 1 SysTick, 5x 16-bit) |
| ADCs | 1x 12-bit |
| UARTs | 6 |
| SPIs | 1 |
| I2Cs | 1 |
| RTC | 1 |
| Vcc | 2.0V - 3.6V |
| Datasheet | Datasheet |
| Reference Manual | Reference Manual |
| Programming Manual | Programming Manual |
Flashing the device
The STM32F030F4 Demo Board board does not include a programmer. You have to connect a separate ST-Link programmer to the (SW)DIO, (SW)CLK, GND and NRST pins on the board.
If you want a serial terminal, you have to connect a separate USB-Serial adapter to the RX and TX pins on the board.
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=stm32f030f4-demo flash
and debug via GDB by simply typing
make BOARD=stm32f030f4-demo debug
