aboutsummaryrefslogtreecommitdiffstats
path: root/build.zig
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-10-05 18:03:55 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-10-05 18:03:55 -0400
commited84840b0ff133b515a245ca8f7f1347b6bc4336 (patch)
treed4aba00e2f78f87a315829ff950adfdcd431214d /build.zig
parentccc904c6bc74b26cdb68f6a375a8ac90b5240945 (diff)
more gpio driver; read button
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 1d53b09..eacdb1e 100644
--- a/build.zig
+++ b/build.zig
@@ -7,13 +7,12 @@ pub fn build(b: *std.Build) void {
.os_tag = .freestanding,
.abi = .none
});
- const optimize = .Debug; // .ReleaseSmall
const exe = b.addExecutable(.{
.name = "stm32",
.root_source_file = b.path("src/main.zig"),
.target = target,
- .optimize = optimize,
+ .optimize = .Debug, // .ReleaseSmall,
.linkage = .static,
});