aboutsummaryrefslogtreecommitdiffstats
path: root/build.zig
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-10-05 12:44:04 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-10-05 12:44:04 -0400
commite7b04608254c414d0e770acde071b651ea1472cf (patch)
treeca2e1d387fc70613054f75ee90d6a6a8cd760351 /build.zig
parentf529a3b0f8ee24229997e995021a2ee8cb25f065 (diff)
toggle gpio
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 10fe592..1d53b09 100644
--- a/build.zig
+++ b/build.zig
@@ -3,6 +3,7 @@ const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.resolveTargetQuery(.{
.cpu_arch = .thumb,
+ .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m4 },
.os_tag = .freestanding,
.abi = .none
});