mohitmishra786/low-level-dev-skills / skills/embedded/zephyr
zephyr
VerifiedZephyr RTOS skill for embedded development. Use when building Zephyr applications with west, configuring boards and targets, working with Kconfig and devicetree, using the Zephyr shell and logging subsystem, or running on the native_sim target. Activates on queries about Zephyr, west build, Kconfig, devicetree, Zephyr logging, west flash, board targets, or native POSIX simulation.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.5 KB |
| references/west-manifest.md | markdown | 1.9 KB |
references/west-manifest.md
View on GitHub# West Manifest Reference
Source: <https://docs.zephyrproject.org/latest/develop/west/manifest.html>
## Table of Contents
1. [west.yml Structure](#westyml-structure)
2. [Common Commands](#common-commands)
3. [Custom Module](#custom-module)
## west.yml Structure
```yaml
# west.yml — placed at workspace root (T2 topology)
manifest:
version: "0.13"
remotes:
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos
defaults:
remote: zephyrproject-rtos
projects:
- name: zephyr
revision: v3.7.0 # pin to a release tag
import: true # import Zephyr's own west.yml
# Add a custom driver module
- name: my-drivers
url: https://github.com/myorg/my-drivers
revision: main
path: modules/my-drivers
self:
path: app # this repo's path in the workspace
```
## Common Commands
```bash
# Initialize workspace from manifest
west init -m https://github.com/myorg/my-manifest workspace/
cd workspace && west update
# Update all projects to manifest revisions
west update
# Show workspace state
west list
west status
# Run a command across all projects
west forall -c "git log --oneline -5"
# Fetch without updating
west update --narrow
# Create a snapshot manifest (freeze all revisions)
west manifest --resolve > west-snapshot.yml
```
## Custom Module
To add a custom HAL or driver as a Zephyr module:
```yaml
# modules/my-hal/zephyr/module.yml
build:
cmake: CMakeLists.txt
kconfig: Kconfig
settings:
dts_root: . # if module has devicetree bindings
board_root: . # if module defines custom boards
```
```cmake
# modules/my-hal/CMakeLists.txt
zephyr_include_directories(include)
zephyr_library_sources(src/my_hal.c)
```
```text
# modules/my-hal/Kconfig
config MY_HAL
bool "My HAL driver"
depends on I2C
help
Enable My HAL I2C driver.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |