Activity 1.2.1. Run Blinky.
Blinky is the “hello, world” of embedded programming, and we’ll get it running on your own board before we look at any of the code.
(a)
Prior to today’s class you were instructed to install STM32CubeIDE, the software we use to program the STM32C031C6, and to copy the course
Library folder from Thayer Shares. You must have both done before you can go any farther. The instructions are in Section D.1.
(b)
Follow the instructions in Section D.2 to create your
TemplateProject.
(c)
Follow the instructions in Section D.3 to copy your
TemplateProject to a new project named Blinky, add blinky.c (downloaded from the link in that section) to its Src folder, build it, and flash it to your Nucleo board. The green on-board LED should start blinking. Once it does, we’ll talk about how the program works.
