WIP: Reading from serial port

This commit is contained in:
Marek S. Łukasiewicz 2026-02-08 14:42:35 +01:00
parent 917c881da8
commit f1f3260373
4 changed files with 59 additions and 5 deletions

View file

@ -5,11 +5,13 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const win32_dep = b.dependency("zigwin32", .{});
const serial_dep = b.dependency("serial", .{});
const mod = b.addModule("win_telegraph", .{
.root_source_file = b.path("src/root.zig"),
.target = target,
.imports = &.{
.{ .name = "win32", .module = win32_dep.module("win32") },
.{ .name = "serial", .module = serial_dep.module("serial") },
},
});