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.