3 Programming the Microcontroller

Now that we’ve written and run a “Hello World” program in the IDE, we’ll do the same on the STM32 NUCLEO-F030R8 development board, which contains the STM32F030R8 processor and several other components needed to use the processor. On an embedded system, the equivalent of “Hello World” is a program that makes an LED blink. By making an LED blink, you’ll learn the steps needed to make a complex program at a smaller scale.

In the process, you’ll learn how to use the System Workbench for STM32, which we explored in the last chapter, to create an embedded program. To assist us, we’ll use STMicroelectronics software ...

Get Bare Metal C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.