Register manipulation – from configuration to running your first firmware
In this section, we will apply the knowledge acquired throughout this chapter to develop our first bare-metal firmware.
We begin by creating a new project, a process we covered in Chapter 1. Here is a summary of the steps:
- Start a new project: Go to File | New | STM32 Project in your IDE.
- Select the target microcontroller: A Target Selection window will appear, prompting you to choose the microcontroller or development board for your project.
- Use the board selector: Click on the Board Selector tab.
- Search for our board: Input
NUCLEO-F411
in the Commercial Part Number field. - Select our board: From the list of boards that appear, choose NUCLEO-F411RE and then click Next.
- Name our project: Assign a name to your project, for instance,
RegisterManipulation
. - Project configuration: In the project options, select an
Empty
project setup. - Final step: Click Finish to create...