Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Bare-Metal Embedded C Programming
  • Table Of Contents Toc
  • Feedback & Rating feedback
Bare-Metal Embedded C Programming

Bare-Metal Embedded C Programming

By : Israel Gbati
5 (2)
close
close
Bare-Metal Embedded C Programming

Bare-Metal Embedded C Programming

5 (2)
By: Israel Gbati

Overview of this book

Bare-Metal Embedded C Programming takes you on an unparalleled journey to equip you with the skills and knowledge to excel in the world of embedded systems. The author, with over a decade of hands-on experience in engineering, takes a unique, practical approach to teach you how to decode microcontroller datasheets so that you’re able to extract vital information for precise firmware development. Register manipulation will become second nature to you as you learn to craft optimized code from scratch. The book provides in-depth insights into the hardware intricacies of microcontrollers. You'll navigate user manuals and documentation with ease, ensuring a profound understanding of the underlying technology. The true uniqueness of this book lies in its commitment to fostering independent expertise. Instead of simply copy pasting, you'll develop the capability to create firmware with confidence, paving the way for professional-grade mastery. By the end of this book, you'll have honed your skills in reading datasheets, performing register manipulations, and crafting optimized code, as well as gained the confidence needed to navigate hardware intricacies and write optimized firmware independently, making you a proficient and self-reliant embedded systems developer.
Table of Contents (22 chapters)
close
close

Navigating the STM32CubeIDE

When you launch STM32CubeIDE for the first time, you’ll see the Information Center. This center offers quick access to a number of valuable resources for STM32 firmware development.

To exit the Information Center, simply click the X on its tab. If you wish to revisit it later, simply navigate to Help | Information Center.

Figure 1.15: Information Center

Figure 1.15: Information Center

The STM32CubeIDE is based on the Eclipse framework, and therefore, the layout and elements are similar to those of other Eclipse-based IDEs.

Let’s go through the process of creating a new project:

  1. Either click Create a New STM32 project in the empty Project Explorer pane or select File | New | STM32 Project.
Figure 1.16: A workspace showing an empty Project Explorer pane

Figure 1.16: A workspace showing an empty Project Explorer pane

  1. You will be presented with the Target Selection window to select the microcontroller or development board for your project.
  2. Click the Board Selector tab.
  3. Enter NUCLEO-F411 into the Commercial Part Number field.
Figure 1.17: The Target Selection window

Figure 1.17: The Target Selection window

  1. From the displayed board list, select NUCLEO-F11RE, and then click Next.
Figure 1.18: The board list with NUCLEO-F411 selected

Figure 1.18: The board list with NUCLEO-F411 selected

  1. Give the project a name.
  2. For Targeted Project Type, select Empty.
Figure 1.19: The Setup STM32 project window

Figure 1.19: The Setup STM32 project window

  1. Click Finish to create the project.

You will see the new project, containing all the necessary startup files and linker scripts, in the Project Explorer pane.

Figure 1.20: The Project Explorer pane showing a new project

Figure 1.20: The Project Explorer pane showing a new project

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Bare-Metal Embedded C Programming
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon