Book description
Bare Metal C will teach you how to program embedded devices with the C programming language. For embedded system programmers who want precise and complete control over the system they are using, this book pulls back the curtain on what the compiler is doing for you so that you can see all the details of what's happening with your program.
The first part of the book teaches C basics with the aid of a low-cost, widely available bare metal system (the Nucleo Arm evaluation system), which gives you all the tools needed to perform basic embedded programming. As you progress through the book you’ll learn how to integrate serial input/output (I/O) and interrupts into your programs. You’ll also learn what the C compiler and linker do behind the scenes, so that you’ll be better able to write more efficient programs that maximize limited memory. Finally, you’ll learn how to use more complex, memory hungry C features like dynamic memory, file I/O, and floating-point numbers.
Table of contents
- Title Page
- Copyright
- About the Author
- Introduction
-
Part I: Embedded Programming
- Chapter 1: Hello World
- Chapter 2: Introduction to the Integrated Development Environment
- Chapter 3: Programming the Microcontroller
- Chapter 4: Numbers and Variables
- Chapter 5: Decision and Control Statements
- Chapter 6: Arrays, Pointers, and Strings
- Chapter 7: Local Variables and Procedures
- Chapter 8: Complex Data Types
- Chapter 9: Serial Output on the STM
- Chapter 10: Interrupts
- Chapter 11: The Linker
- Chapter 12: The Preprocessor
- Part II: C for Big Machines
- Afterword
- Appendix: Project Creation Checklist
- Index
Product information
- Title: Bare Metal C
- Author(s):
- Release date: July 2022
- Publisher(s): No Starch Press
- ISBN: 9781718501621
You might also like
book
Learning Modern Linux
If you use Linux in development or operations and need a structured approach to help you …
book
The Linux Programming Interface
The Linux Programming Interface is the definitive guide to the Linux and UNIX programming interface—the interface …
book
Learning Go, 2nd Edition
Go has rapidly become the preferred language for building web services. Plenty of tutorials are available …
video
Linux Fundamentals, 2nd Edition
10+ Hours of Video Instruction More than 10 hours of video instruction to get you up …