From f286bc8e25837131a4bc0eb0adb0ccb5175c3cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ardelean=20C=C4=83lin?= <9417983+Ardelean-Calin@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:39:06 +0300 Subject: [PATCH] Corrected Cortex-M ABI (#149) --- build.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.zig b/build.zig index f801a55..748833f 100644 --- a/build.zig +++ b/build.zig @@ -793,7 +793,7 @@ pub const cpus = struct { .cpu_arch = .thumb, .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m0 }, .os_tag = .freestanding, - .abi = .none, + .abi = .eabi, }, }; @@ -804,7 +804,7 @@ pub const cpus = struct { .cpu_arch = .thumb, .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m0plus }, .os_tag = .freestanding, - .abi = .none, + .abi = .eabi, }, }; @@ -815,7 +815,7 @@ pub const cpus = struct { .cpu_arch = .thumb, .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m3 }, .os_tag = .freestanding, - .abi = .none, + .abi = .eabi, }, }; @@ -826,7 +826,7 @@ pub const cpus = struct { .cpu_arch = .thumb, .cpu_model = .{ .explicit = &std.Target.arm.cpu.cortex_m4 }, .os_tag = .freestanding, - .abi = .none, + .abi = .eabi, }, };