Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoLlobet committed Feb 23, 2024
1 parent 4bdf246 commit 8cdd437
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
34 changes: 16 additions & 18 deletions build_mcuboot.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,25 @@ const std = @import("std");
const microzig = @import("microzig");

const include_path = [_][]const u8{
"csrc/mcuboot/mcuboot/boot/bootutil/include",
"csrc/mcuboot/mcuboot/boot/zig-freertos",
"csrc/mcuboot/boot/bootutil/include",
"csrc/mcuboot/boot/zig-freertos",
};

const source_path = [_][]const u8{
"csrc/mcuboot/mcuboot/boot/bootutil/src/boot_record.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/bootutil_misc.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/bootutil_public.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/caps.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/encrypted.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/fault_injection_hardening.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/fault_injection_hardening_delay_rng_mbedtls.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/image_ecdsa.c",
// "csrc/mcuboot/mcuboot/boot/bootutil/src/image_ed25519.c",
// "csrc/mcuboot/mcuboot/boot/bootutil/src/image_rsa.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/image_validate.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/loader.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/swap_misc.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/swap_move.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/swap_scratch.c",
"csrc/mcuboot/mcuboot/boot/bootutil/src/tlv.c",
"csrc/mcuboot/boot/bootutil/src/boot_record.c",
"csrc/mcuboot/boot/bootutil/src/bootutil_misc.c",
"csrc/mcuboot/boot/bootutil/src/bootutil_public.c",
"csrc/mcuboot/boot/bootutil/src/caps.c",
"csrc/mcuboot/boot/bootutil/src/encrypted.c",
"csrc/mcuboot/boot/bootutil/src/fault_injection_hardening.c",
"csrc/mcuboot/boot/bootutil/src/fault_injection_hardening_delay_rng_mbedtls.c",
"csrc/mcuboot/boot/bootutil/src/image_ecdsa.c",
"csrc/mcuboot/boot/bootutil/src/image_validate.c",
"csrc/mcuboot/boot/bootutil/src/loader.c",
"csrc/mcuboot/boot/bootutil/src/swap_misc.c",
"csrc/mcuboot/boot/bootutil/src/swap_move.c",
"csrc/mcuboot/boot/bootutil/src/swap_scratch.c",
"csrc/mcuboot/boot/bootutil/src/tlv.c",
};

const c_flags = [_][]const u8{ "-DEFM32GG390F1024", "-O2", "-fdata-sections", "-ffunction-sections" };
Expand Down
2 changes: 1 addition & 1 deletion dodo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
LWM2M_BIN = "lwm2m.bin"
MQTT_BIN = "mqtt.bin"

IMG_TOOL = Path.cwd() / "csrc" / "mcuboot" / "mcuboot" / "scripts" / "imgtool.py"
IMG_TOOL = Path.cwd() / "csrc" / "mcuboot" / "scripts" / "imgtool.py"

MISO_FW_VERSION = "0.1.2"

Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
SIG_FW_DIR = Path.cwd() / "signed"

MCU_BOOT_DEPS = (
Path.cwd() / "csrc" / "mcuboot" / "mcuboot" / "scripts" / "requirements.txt"
Path.cwd() / "csrc" / "mcuboot" / "scripts" / "requirements.txt"
)


Expand Down

0 comments on commit 8cdd437

Please sign in to comment.