Skip to content
CEC Semester Twenty Seven 2025

C++ Primer for Embedded Systems

Fred Eady -
Owner, EDTP Electronics Inc. and Principal Engineer, Ongoing Systems LLC.
May 19,
2025
Tooling Up for Embedded C++ STM32CubeIDE
STM32CubeIDE supports embedded application development using C and C++. However, creating an STM32CubeIDE C++ application is not as straightforward as creating a similar STM32CubeIDE C application. To understand the nuances of creating an STM32 embedded application using STM32CubeIDE, we must download and install STM32CubeIDE. Once our instance of the STM32CubeIDE is successfully installed, we will create C and C++ projects that will highlight the differences in setting up STM32 C and C++ applications using STM32CubeIDE.
Course Resources
Special Educational Materials
No data was found
May 20,
2025
Tooling Up for Embedded C++ VS Code
With the introduction of the STM32 VS Code Extension, VS Code has emerged as a viable alternative to STM32CubeIDE. Using VS Code to produce C and C++ applications for STM32 devices is not as “automatic” as coding C and C++ applications with STM32CubeIDE. So, today we will download and install VS Code and install the STM32 VS Code Extension. Our goal is to understand how to manually do some of the seemingly “automatic” configuration tasks that are performed by STM32CubeIDE.
Course Resources
Special Educational Materials
No data was found
May 21,
2025
Embedded C++ The Basics
Bjarne Stroustrup’s book The C++ Programming Language is 1376 pages of everything you need to know about the mechanics of C++. We are not going to cover every C++ detail outlined the Bjarne’s classic publication. However, we are going to cover enough ground to enable us to construct a C++ application.
Course Resources
Special Educational Materials
No data was found
May 22,
2025
Embedded C++Interfacing with the STM32 HAL
The STM32 HAL (Hardware Abstraction Layer) is designed to provide an API that relieves the programmer from having to write STM32 low-level utility code. The STM32 HAL is written in C and has the ability to be used across the STM32 microcontroller family of devices. Today’s mission is to demonstrate how to integrate and use the C-based HAL API within STM32 C++ application code.
Course Resources
Special Educational Materials
No data was found
May 23,
2025
Arduino Libraries C or C++
Arduino’s software/firmware foundation is a modified subset of C++. There is a multitude of proven sensor, UART, I2C, SPI, and GPIO drivers contained within the plethora of Arduino libraries. What if you could pull code from the Arduino libraries and use it in your C application. Buckle up and I’ll show you how it’s done.
Course Resources
Special Educational Materials
No data was found
Instructor
Fred Eady
Owner, EDTP Electronics Inc. and Principal Engineer, Ongoing Systems LLC.

Fred Eady is the owner of EDTP Electronics Inc. and is the principal engineer at the Georgia branch of Ongoing Systems LLC. EDTP Electronics was established in 1988. In the meantime, Fred has written thousands of magazine articles. He has written for all of the major electronic magazines, including Radio Electronics, Electronics Now, Nuts and Volts, Servo, MicroComputer Journal, and Circuit Cellar. Fred has even done a few short feature articles for Design News. To date, he has authored four books and contributed to a fifth. He currently works as a PIC microcontroller consultant and is a Microchip Authorized Design Partner. Fred’s expertise also extends into the ARM community where he is a hardware and firmware design consultant. His customers include aerospace companies, machine shops, specialty startup companies, medical machine manufacturers, coin-operated device businesses, and various other research and development companies. He has a very close working relationship with Microchip Technology, the manufacturer of PIC microcontrollers, and has taught multiple Ethernet and WiFi classes at Microchip's annual Masters Conference.