October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

ESP32 Without a Board: Run Zephyr Firmware Tests with QEMU

Espressif’s QEMU fork lets you run Zephyr firmware for supported ESP32-family targets without a board—but only modeled hardware can be validated.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Yes. You can build and run Zephyr firmware for supported ESP32-family targets without connecting a physical board by using Espressif’s QEMU fork. It can show console output and exercise the parts of the chip that QEMU models, but it cannot validate Wi-Fi, Bluetooth, or peripherals that the emulator does not implement.

What running ESP32 firmware in QEMU actually means

Espressif’s QEMU fork emulates selected Espressif system-on-chip hardware. Zephyr provides QEMU board variants for ESP32, ESP32-S3, ESP32-C3, and ESP32-C6. That makes it possible to boot target firmware and test supported functions without a board; it does not make QEMU a complete virtual replacement for an ESP32 development kit.

As an Amazon Associate I earn from qualifying purchases.

The fork can model useful pieces such as boot, UART, flash, timers, eFuse, and selected cryptographic or other blocks, with coverage depending on the SoC. Zephyr’s board documentation describes the opt-in configuration this way: “The same firmware image can then be flashed to hardware (without that option) or run under QEMU.” See the Zephyr ESP32-DevKitC documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use this workflow for software bring-up, console-driven tests, and code paths that rely on modeled hardware. Results do not establish how real hardware behaves beyond those models.

#1 Best Overall
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (3PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • ESP32 is a safe, reliable, and scalable to a variety of applications

Choose the right Zephyr test environment

Environment What it runs Best suited to Important boundary
unit_testing Test code and the Ztest harness as a host executable Isolated module logic The Zephyr kernel and driver model are not built; external dependencies need stubs or mocks. See the Zephyr Ztest Testing Framework.
native_sim The full Zephyr OS, including kernel, devicetree, drivers, and subsystems, as a host binary Host-side integration tests It is not an ESP32 SoC emulator. See the native_sim board documentation.
Espressif QEMU ESP32-family target firmware against selected modeled Espressif hardware Target boot and supported SoC blocks Unmodeled devices and real wireless behavior are outside its scope.
Physical ESP32 board Firmware on actual hardware Wireless, peripheral, and hardware-dependent validation Required when the behavior under test is unavailable in the emulator.

Zephyr’s cited board documentation says its QEMU simulation: metadata was not wired for Twister at that time. The documented way to launch this workflow is the board’s run build target; do not assume it behaves like a stock qemu_* Twister simulation.

Install the correct QEMU fork for your ESP32 target

The QEMU bundled with the Zephyr SDK and typical Linux distribution packages does not provide the Espressif SoC machines required here. Install Espressif’s QEMU fork and ensure Zephyr can find the intended executable before configuring your build.

Rank #2
ELEGOO 3PCS ESP-32 Dev Boards, ESP-WROOM-32, USB-C, WiFi Bluetooth 4.2
  • Dual-Core Performance Up to 240 MHz: Run sensor processing, wireless communication, automation logic and connected-device tasks on a 32-bit dual-core ESP32 platform designed for responsive embedded and IoT projects
  • Built-in Wi-Fi and Bluetooth 4.2: Connect to 2.4 GHz Wi-Fi networks or use Bluetooth Classic and BLE for wireless sensors, smart devices, remote controls, home automation and other connected projects
  • Flexible Power-Saving Modes: ESP32 power-management features support dynamic clock scaling and low-power operating modes, helping developers reduce energy use in compatible sensing, monitoring and connected-device applications, suitable for battery-powered Internet of Things (IoT) devices.
  • USB-C Programming with CP2102: Connect through USB-C for power, sketch uploads and serial monitoring, while GPIO, UART, SPI and I2C interfaces support sensors, displays, motor drivers and other modules (USB-C cable not included)
  • Over-the-Air Update Support: Configure OTA functionality through a compatible ESP-32 software framework to update deployed firmware over Wi-Fi without reconnecting the board by USB for every revision
Target family Required QEMU system emulator
ESP32 and ESP32-S3 (Xtensa) qemu-system-xtensa from the Xtensa softmmu package
ESP32-C3 and ESP32-C6 (RISC-V) qemu-system-riscv32 from the RISC-V softmmu package

These packages are not interchangeable. Start from a working Zephyr west workspace and Zephyr SDK that can build the hardware board target you intend to emulate. Espressif’s tutorial, published 15 September 2026, documents the fork installation and workflow: Run Zephyr on ESP32 with QEMU: no board required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build and run the ESP32 DevKitC hello-world sample

For ESP32 DevKitC, Zephyr documents a QEMU-qualified board target. After installing and configuring the Espressif QEMU fork, run these commands from the root of your Zephyr workspace:

Rank #3
ELEGOO ESP-32 Super Starter Kit with Tutorial Compatible with Arduino IDE
  • Powerful ESP-32 Board: Unlock the world of Internet of Things (IoT) and advanced electronics with the heart of this kit: the ESP-32 board. It features a powerful dual-core processor, integrated Wi-Fi and Bluetooth 4.2, making it perfect for building connected, smart devices that communicate with your phone or the cloud. It's fully compatible with the Arduino IDE for easy programming.
  • Super Starter Kit: This kit contains over 35 different modules and electronic components, including sensors, displays, motors, and input devices. From LEDs and buttons to an OLED screen, servo motor, and keypad, you have everything needed to explore a vast range of projects in one box.
  • Step by Step Online Tutorial: Jump right in with our detailed, beginner-friendly tutorial. Access 30+ projects with complete code, clear circuit diagrams, and step-by-step instructions. Learn the fundamentals of electronics, coding, and how to utilize the ESP-32's unique capabilities without any prior experience.
  • Hands-on Learning for All Skill Levels: Perfect for students, makers, engineers, and hobbyists. Start with basic circuits and coding, then progress to intermediate and advanced IoT applications. Build practical projects like weather stations, smart home controllers, remote-controlled devices, and interactive gadgets. The skills you learn are the foundation for real-world innovation.
  • Quality & Great Support: Elegoo is committed to quality. We provide a clear, detailed tutorial guide, refined code, and a well-organized component kit. All modules are carefully selected for reliability and ease of use. Our dedicated technical support team and active online community are ready to help you succeed in your learning journey.
west build -b esp32_devkitc/esp32/procpu/qemu 
  zephyr/samples/hello_world 
  -d build-qemu-esp32 --no-sysbuild --pristine
west build -d build-qemu-esp32 -t run
  1. Configure and build. The first command builds Zephyr’s hello_world sample for the ESP32 DevKitC QEMU variant. The --pristine option starts with a clean build directory.
  2. Launch the emulator. The second command invokes the board’s run target. For a console-oriented sample such as hello_world, inspect the emulator output for the firmware’s UART messages.

The documented alternative is to select the hardware board target and enable emulation with -DCONFIG_ESPRESSIF_QEMU=y after the west build command’s -- separator. Espressif’s tutorial shows this approach as well as Simple Boot and MCUboot/sysbuild flows. The QEMU configuration generates the merged SPI flash image the emulator needs; for ESP32, the build also prepares an eFuse image.

Match flash configuration and QEMU discovery

Espressif’s tutorial says the emulator accepts SPI flash images padded to 2, 4, 8, or 16 MB. The merged image uses the size of the board’s zephyr,flash devicetree device, so the selected board configuration or overlay must use a size accepted by QEMU.

Rank #4
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (1 PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos;ESP32 is a safe, reliable, and scalable to a variety of applications
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • 1PCS 30Pin ESP32 Development Board 2.4GHz WiFi Dual Cores Microcontroller Integrated with Antenna RF Low Noise Amplifiers Filters

If you change which QEMU executable Zephyr should use, rerun a pristine build so Zephyr can probe the new binary and regenerate configuration as needed. The board’s run target is available when the target has Espressif QEMU emulation platform wiring.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What you can test—and what still needs hardware

Zephyr’s per-SoC QEMU device trees disable or omit many devices. The following list describes documented limitations; check the current ESP32-DevKitC and ESP32-S3-DevKitC pages for changes and chip-specific detail.

Best Value
HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA for Arduino IDE
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Ultra-Low power consumption, works perfectly with the Arduino IDE
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • ESP32 is a safe, reliable, and scalable to a variety of applications
  • Not emulated in the documented variants: Wi-Fi, Bluetooth, USB, general-purpose SPI, I2C, I2S, RMT, GPIO matrix/IOMUX, ADC/DAC, touch, MCPWM, pulse counter, ULP, and board GPIO keys.
  • Chip-specific limitations: LEDC support is limited to ESP32; SD/MMC is not emulated on ESP32-S3. The cited Zephyr documentation also lists TRNG and AES among ESP32-C6 omissions.
  • Consequences for tests: tests that require unavailable devices will not run meaningfully under these QEMU variants. A successful emulated test is evidence about the modeled path, not a substitute for checking hardware behavior.

Espressif’s tutorial documents example workloads beyond hello_world: crypto samples and tests, Timer Group watchdog tests, memory-layout tests with Simple Boot and MCUboot, clock-control API tests on several chips, retained-memory API tests, Xtensa interrupt tests, and PSRAM tests on ESP32 and ESP32-S3 when QEMU is given a matching memory size. These examples do not guarantee that every application or driver test is supported.

ESP32-C6 has a documented release caveat

The Zephyr ESP32-DevKitC and ESP32-S3-DevKitC pages cite Espressif prebuilt QEMU release esp-develop-9.2.2-20260417 as supporting ESP32, ESP32-S3, and ESP32-C3, but not ESP32-C6. Those pages say C6 support had been merged in Espressif’s development branch and direct users to build the esp-develop branch for it. Because emulator releases and Zephyr’s latest documentation can change, check the current release and board instructions before setting up C6.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.