Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (38 loc) · 1.28 KB

README.md

File metadata and controls

52 lines (38 loc) · 1.28 KB

microzig-driver-framework

IMPORTANT NOTICE: This repository is deprecated and archived. The code is now merged into the MicroZig monorepo!

A collection of device drivers for the use with MicroZig.

THIS PROJECT IS NOT READY YET!
We are still working out some things.

Installation

Import this package in your build.zig and add the drivers package to your firmware:

With package manager

const mdf_dep = b.dependency("microzig-driver-framework", .{});

const exe = microzig.addEmbeddedExecutable(builder, .{ … });
exe.addAppDependency("drivers", mdf_dep.module("drivers"), .{ .depend_on_microzig = true });

With source code vendoring/submodules

const mdf_dep = b.anonymousDependency(
    "vendor/microzig-driver-framework",
    @import("vendor/microzig-driver-framework/build.zig"),
    .{},
);

const exe = microzig.addEmbeddedExecutable(builder, .{ … });
exe.addAppDependency("drivers", mdf_dep.module("drivers"), .{ .depend_on_microzig = true });

Drivers

Drivers with a checkmark are already implemented, drivers without are missing

  • Input
    • Keyboard Matrix
    • Rotary Encoder
    • Debounced Button
    • Touch
      • XPT2046
  • Display
    • SSD1306
    • ST7735 (WIP)
    • ILI9488
  • Wireless
    • SX1276, SX1278