---
title: "PoC for universal hardware-in-the-loop HAL test suite — Tweede golf"
url: https://daily.dev/posts/poc-for-universal-hardware-in-the-loop-hal-test-suite-tweede-golf-m1mffegzq
source_url: https://tweedegolf.nl/en/blog/240/PoC-for-universal-hardware-in-the-loop-HAL-test-suite
type: article
source: "Tweede golf"
published: 2026-08-03T12:19:47.456Z
updated: 2026-08-03T12:24:51.753Z
tags: ["rust", "embedded"]
reading_time: 9
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PoC for universal hardware-in-the-loop HAL test suite — Tweede golf

**[Tweede golf](https://daily.dev/sources/tweedegolf)** · 9 min read · 0 upvotes · 0 comments

## Summary

Tweede Golf developed a proof-of-concept universal hardware-in-the-loop (HIL) test suite for Rust hardware abstraction layers (HALs). The system uses an RP2040-based Arduino Shield as a tester microcontroller to emulate interfaces like UART, I2C, and SPI with precise timing via PIO, connected to a device under test. A host-side Rust program compiles both firmwares, flashes them via probe-rs, and collects results over RTT/defmt without reflashing between tests. The team also designed a custom PCB housing two RP2354B MCUs, a USB hub, and power measurement. The PoC successfully uncovered a real ESP32-C6 I2C timeout bug. Next steps include expanding coverage to all embedded-hal and embedded-io traits and improving UX, with funding being sought.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://tweedegolf.nl/en/blog/240/PoC-for-universal-hardware-in-the-loop-HAL-test-suite>

## Similar posts on daily.dev

- [Tingou Wu's Website](https://daily.dev/posts/tingou-wu-s-website-dlsch5hoy) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/poc-for-universal-hardware-in-the-loop-hal-test-suite-tweede-golf-m1mffegzq)
