boards/others/stm32f030_demo/doc/index.rst
.. zephyr:board:: stm32f030_demo
This board has the bare minimum components required to power on the STM32F030F4P6 MCU. Most of the GPIOs on the STM32 SoC have been exposed in the external headers with silk screen labels that match the SoC's pin names.
For practical use, you'll need to add additional components and circuits using a breadboard, for example.
More information about the board can be found at the stm32-base.org website_.
More information about STM32F030F4P6 can be found here:
STM32F030 reference manual_STM32F030 data sheet_Hardware
.. zephyr:board-supported-hw::
Programming and Debugging
.. zephyr:board-supported-runners::
Applications for the stm32f030_demo board configuration can be built and
flashed in the usual way (see :ref:build_an_application and
:ref:application_run for more details).
The board can be flashed by using ST-LINKV2 in-circuit debugger and programmer. This interface is supported by the openocd version included in the Zephyr SDK.
Here is an example for the :zephyr:code-sample:blinky application.
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: stm32f030_demo :goals: build flash
You will see the LED blinking every second.
You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:blinky application.
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: stm32f030_demo :maybe-skip-config: :goals: debug
References
.. target-notes::
.. _stm32-base.org website: https://stm32-base.org/boards/STM32F030F4P6-STM32F030-DEMO-BOARD-V1.1
.. _STM32F030 reference manual: https://www.st.com/resource/en/reference_manual/dm00091010.pdf
.. _STM32F030 data sheet: https://www.st.com/resource/en/datasheet/stm32f030f4.pdf