Zephyr Board Bringup (HWMv2)

SkillFiles & storage

Custom board bringup for Zephyr RTOS using Hardware Model v2 (HWMv2). Covers directory structure, board.yml metadata, core configuration files (Kconfig, defconfig, CMake), and revision management. Trigger when creating new board definitions or porting Zephyr to custom hardware.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Zephyr Board Bringup (HWMv2) skill

What this skill tells your AI

The instructions your AI receives, as published by beriberikix/zephyr-agent-skills in skills/board-bringup/SKILL.md and read by ahel’s review.

Bring your custom hardware into the Zephyr ecosystem using modern Hardware Model v2 standards.

Core Workflows

1. Planning the Structure

Organize your board files by vendor and board name.

2. Defining Configuration

Implement the essential Kconfig and CMake logic.

  • Reference: board_files.md
  • Key Tools: Kconfig.board, _defconfig, CMakeLists.txt.

3. Managing Revisions & Variants

Handle hardware iterations and SoC variants cleanly.

  • Reference: hwmv2_structure.md
  • Key Tools: Multi-revision board.yml, revision-specific overlays.

Quick Start (Board Skeleton)

boards/<vendor>/<board>/
  board.yml
  <board>_defconfig
  <board>.dts
  Kconfig.board
  Kconfig.defconfig
  CMakeLists.txt

Validation Checklist

  • board.yml defines board name, SoC, and revisions consistently.
  • west build -b <board> samples/hello_world completes successfully.
  • DTS and defconfig settings are applied in the generated build output.
  • Revision-specific overlays are selected correctly when building a non-default revision.

Automation Tools

Examples & Templates

Best Practices

  • Use _common.dtsi: Share devicetree definitions across all board revisions.
  • Follow HWMv2: Avoid the legacy board structure (Kconfig.defconfig, etc.).
  • Keep it minimal: Only define what is unique to the board; let the SoC files handle chip-level configuration.

Resources

  • References:
    • hwmv2_structure.md: Directory layout and board.yml.
    • board_files.md: Kconfig, defconfig, and CMake configuration.
  • Scripts:
    • board_yaml_lint.py: Structural checker for board metadata.
  • Assets:
    • board_yml_template.yml: Minimal board metadata template.

Signals

GitHub stars
63
Forks
15
Last commit
May 2026
Advanced
Catalog kind
skill
Gateway key
board-bringup
Source
github.com/beriberikix/zephyr-agent-skills