Skip to content
CEC Semester Twenty Eight 2025

Bare Metal C Programming for STM32 Devices

Fred Eady -
Owner, EDTP Electronics Inc. and Principal Engineer, Ongoing Systems LLC.
November 17,
2025
Bare Metal NUCLEO-F207ZG The STM32CubeIDE Visual Studio Code Extension Package
If you take a look under the hood of the STM32CubeIDE, you will find an Eclipse power unit. With a little extra effort and the STM32Cube IDE for Visual Studio Code extension, you can also power your STM32CubeIDE application development using Visual Studio Code. Today we will begin by installing and configuring the very latest release of the STM32CubeIDE for Visual Studio Code extension. We will conclude today’s lecture with a step-by-step description of how to use Visual Studio Code and the STM32CubeIDE extension package to code an application on our NUCLEO-F207ZG.
Course Resources
Special Educational Materials
No data was found
November 18,
2025
Bare Metal NUCLEO-F207ZG Mongoose Network Library Integration Using VS Code
In a life-or-death confrontation, a snake is more often the loser to a mongoose. In the context of today’s lecture, lwIP (Lightweight TCP/IP Stack) takes on the persona of the snake while the mongoose is associated with the Mongoose Network Library. Implementing TCP/IP applications with lwIP is much more complex than generating TCP/IP applications using the Mongoose Network Library. Our NUCLEO-F207ZG plays host to an STM32F207ZGT6U MCU equipped with a built-in 10/100 Ethernet MAC and a LAN8742A RMII 10/100 Ethernet Transceiver (PHY). The on-board MAC and PHY combination places our NUCLEO-F207ZG in the IoT device space, which allows it, with a little bit of help from the Mongoose Network Library, to connect to the EDTP shop’s Ethernet LAN.
Course Resources
Special Educational Materials
No data was found
November 19,
2025
Bare Metal NUCLEO-F207ZG Mongoose Network Library API Primer
The Mongoose Network Library implements event-driven, non-blocking APIs for TCP, UDP, and HTTP. Our NUCLEO-F207ZG has proven to be a very capable networking device. Today we will use our NUCLEO-F207ZG and the Mongoose Network Library TCP APIs to throw some data back and forth on the EDTP shop Ethernet LAN.
Course Resources
Special Educational Materials
No data was found
November 20,
2025
Bare Metal NUCLEO-H7S3L8 STM32H7S3L8 Primer
The NUCLEO-H7S3L8 is designed around a boot flash–based MCU, which is powered by a Cortex-M7 core. The STM "boot flash" MCUs embed a small flash memory for the initial boot step. The application is located in an external memory device, which in our case is an on-board Macronix MX25UW25645G Read-While-Write Octaflash Memory. Today’s lecture will cover all of the nuances involved in getting an STM32 application to boot and run on the NUCLEO-H7S3L8’s STM32H7S3L8 MCU.
Course Resources
Special Educational Materials
No data was found
November 21,
2025
Bare Metal NUCLEO-C071RB Doing NUCLEO-F207ZG Things
The STM32C071RB MCU, which is hosted by the NUCLEO-C071RB, is a low-cost 32-bit microcontroller that is intended to replace and outperform 8-bit microcontrollers in price-sensitive applications. Unlike the NUCLEO-F207ZG, the NUCLEO-C071RB does not natively host an Ethernet MAC or PHY. However, there are ways to push the NUCLEO-C071RB into performing networking tasks. Today I will show you how to easily add Ethernet and WiFi capability to the NUCLEO-C071RB.
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.