From 5cd56c84891fc38ca3f6dd2ef1d88cac7fa688b3 Mon Sep 17 00:00:00 2001 From: "Miguel I." Date: Mon, 8 Sep 2025 20:07:04 +0200 Subject: [PATCH] fixed debug --- pm_static.yml | 13 ++++++++++++- prj.conf | 2 +- sysbuild/mcuboot.conf | 2 ++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pm_static.yml b/pm_static.yml index c9dcd62..cf6dd2e 100644 --- a/pm_static.yml +++ b/pm_static.yml @@ -1,3 +1,9 @@ +app: + address: 0x10000 + end_address: 0x36000 + region: flash_primary + size: 0x26000 + mcuboot: address: 0x0 end_address: 0x10000 @@ -17,8 +23,13 @@ mcuboot_primary: end_address: 0x36000 region: flash_primary size: 0x26000 - + orig_span: + - mcuboot_pad + - app mcuboot_primary_app: + orig_span: + - app + region: flash_primary address: 0x10200 end_address: 0x36000 region: flash_primary diff --git a/prj.conf b/prj.conf index 05893c5..faa0667 100644 --- a/prj.conf +++ b/prj.conf @@ -21,4 +21,4 @@ CONFIG_USB_CDC_ACM=y CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample" # STEP 1.1 - Enable MCUboot -#CONFIG_IBOOTLOADER_MCUBOOT=y \ No newline at end of file +CONFIG_BOOTLOADER_MCUBOOT=y \ No newline at end of file diff --git a/sysbuild/mcuboot.conf b/sysbuild/mcuboot.conf index b4f7303..e37cd4f 100644 --- a/sysbuild/mcuboot.conf +++ b/sysbuild/mcuboot.conf @@ -14,3 +14,5 @@ CONFIG_BOOT_SERIAL_CDC_ACM=y CONFIG_MCUBOOT_INDICATION_LED=y CONFIG_BOOT_SERIAL_WAIT_FOR_DFU=y + +#CONFIG_BOOT_SIGNATURE_TYPE_NONE=y \ No newline at end of file