How to Simulate STM32 Board using QEMU & Eclipse

Опубликовано: 18 Июль 2026
на канале: EmbeddedCraft
579
7

Hey everyone! 👋, In this video, we’re going to walk through how to build a simple LED blinking application for an STM32 virtual board using the QEMU emulator. Specifically, we'll be checking out the STM32F4-Discovery (a Cortex-M board).

Chapter
Here is a quick breakdown of what we'll cover in this tutorial:
01:16 Setting up and compiling our LED blinking app right in the Eclipse IDE.
06:45 Running the program: Getting the code fired up and running on the virtual board.
08:33 Debugging: Step-by-step debugging of the program on the virtual board to see exactly what's happening under the hood.
11:17 QEMU at command line

Reference…
The xPack QEMU Arm
https://xpack.github.io/qemu-arm

Eclipse IDE with support for project creation for Cortex M based STM32 board i.e GNU MCU Eclipse plug-ins
https://github.com/gnu-mcu-eclipse/or...

Eclipse plugin for xPack QEMU ARM
https://xpack.github.io/qemu-arm


And GCC compiler and GNU Debugger for ARM
https://xpack.github.io/arm-none-eabi...


Hope you find this helpful!
#qemu #STM32 #buildroot #gdb #gdbserver #eclipse #beaglebone #beagleboneblack #EmbeddedLinux #EmbeddedCraft

Subscribe to our channel for all our latest tech tutorials
   / @embeddedcraft-org  
************************************************
Follow us ...
Facebook:
  / embeddedcraft  

X:
https://x.com/embeddedcraft

Linkedin:
  / embeddedcraft-craft-99a47617  

For more videos on topics …
Yocto
   • Creating Yocto Linux Image for QEMU ARM64 ...  

Arduino
   • Arduino NANO 33 IOT, Getting Started and E...  

Embedded Linux
   • Building Linux Kernel for QEMU for ARM Board  

Beaglebone Black Board
   • Beaglebone Black Board: Serial Port Interf...  

Raspberry PI Board
   • Preparing bootable Micro SD card using com...  

QEMU
   • Using QEMU to Emulate Cortex M based board...  


Containers
   • Linux Containers in Embedded System | Docker  


More videos on Embedded System and related topics can be found at:
http://embeddedcraft.org/