AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Hardware Io

skill-beriberikix-zephyr-agent-skills-hardware-io · by beriberikix

Hardware interfacing and peripheral management for Zephyr RTOS. Covers the sensor subsystem (channels, triggers, fetch/get), pin control (Pinctrl) and multiplexing, GPIO management using Devicetree specs, and SoC-level hardware configurations. Trigger when adding new hardware components, configuring pinmux, or developing sensor-based applications.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-beriberikix-zephyr-agent-skills-hardware-io

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-beriberikix-zephyr-agent-skills-hardware-io)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Hardware Io? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Zephyr Hardware I/O

Interface with the physical world using Zephyr's standardized driver models and hardware abstraction layers.

Core Workflows

1. Sensor Subsystem

Interact with various sensors using a uniform API for data fetching and decoding.

  • Reference: [sensors.md](references/sensors.md)
  • Key Tools: sensor_sample_fetch, sensor_channel_get, struct sensor_value.

2. Pinctrl & GPIO

Manage pin multiplexing, electrical configuration, and basic digital input/output.

  • Reference: [pinctrlgpio.md](references/pinctrlgpio.md)
  • Key Tools: pinctrl, gpio_dt_spec, GPIO_DT_SPEC_GET.

3. SoC Configuration

Tune chip-level parameters and manage hardware across multiple board variants.

  • Reference: [socconfig.md](references/socconfig.md)
  • Key Tools: Kconfig, soc_common.dtsi, SoC-level overlays.

Quick Start (Sensor Polling)

#include 

const struct device *temp_sensor = DEVICE_DT_GET(DT_ALIAS(ambient_temp0));
struct sensor_value val;

void poll_sensor(void) {
    if (sensor_sample_fetch(temp_sensor) == 0) {
        sensor_channel_get(temp_sensor, SENSOR_CHAN_AMBIENT_TEMP, &val);
    }
}

Professional Patterns (Hardware Engineering)

  • Safe GPIO: Always use gpio_dt_spec to ensure polarity and pin number are automatically handled by the driver.
  • Background Sampling: Never poll sensors in high-priority threads; use a background work queue. See [kernel-services](../kernel-services/SKILL.md) for work-queue patterns.
  • Deferred Pinctrl: Define pin states in a shared .dtsi to simplify multi-revision hardware support.

Automation Tools

  • [gpioaliascheck.py](scripts/gpioaliascheck.py): Detect duplicate alias entries across DTS/overlay files.

Examples & Templates

  • [sensorpolltemplate.c](assets/sensorpolltemplate.c): Starter polling function with readiness/error checks.

Validation Checklist

  • [ ] Sensor device nodes resolve correctly and DEVICE_DT_GET(...) targets are ready at runtime.
  • [ ] GPIO and pinctrl states match the intended board schematic and polarity rules.
  • [ ] Sensor sampling path returns stable values with expected units/scaling.
  • [ ] Background acquisition does not block high-priority or interrupt-critical code paths.

Resources

  • [References](references/):
  • sensors.md: Reading data, channels, and triggers.
  • pinctrl_gpio.md: Pin multiplexing and GPIO specs.
  • soc_config.md: Multi-variant SoC configuration.
  • [Scripts](scripts/):
  • gpio_alias_check.py: Alias duplication checker for DTS/overlay sets.
  • [Assets](assets/):
  • sensor_poll_template.c: Polling loop starter template.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.