tock_kernel

Community

Tock kernel patterns and conventions

Authortardyp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance and examples for implementing Tock kernel patterns, Hardware Interface Layer (HIL) traits, and embedded Rust conventions for chip implementations.

Core Features & Use Cases

  • Project Structure: Illustrates the typical directory layout for Tock projects.
  • HIL Traits: Demonstrates how to implement hardware abstraction using Rust traits.
  • Static Allocation: Emphasizes the use of static allocation in the kernel.
  • Deferred Calls: Shows how to handle asynchronous operations without threads.
  • Register Access: Provides examples of using the tock_registers crate.
  • Error Handling: Outlines Tock's error types and common codes.
  • Interrupt Handling: Demonstrates interrupt service routines.
  • Component Pattern: Explains the component pattern for board initialization.
  • Documentation: Highlights the importance of documenting public items.

Quick Start

Refer to the Tock kernel patterns for implementing chip-specific drivers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tock_kernel
Download link: https://github.com/tardyp/esp_tock/archive/main.zip#tock-kernel

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.