We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b709feb commit 4b33debCopy full SHA for 4b33deb
1 file changed
boot/zephyr/include/sysflash/sysflash.h
@@ -43,6 +43,13 @@
43
#define SPI_FLASH_0_ID 1
44
#endif
45
46
+/* Support for NETCPU application image updates */
47
+#if CONFIG_MCUBOOT_NETWORK_CORE_IMAGE_NUMBER != -1
48
+#define NETCPU_APP_SLOT_OFFSET PARTITION_OFFSET(s0_partition)
49
+#define NETCPU_APP_SLOT_SIZE PARTITION_SIZE(s0_partition)
50
+#define NETCPU_APP_SLOT_END (NETCPU_APP_SLOT_OFFSET + NETCPU_APP_SLOT_SIZE)
51
+#endif
52
+
53
/* This is workaround because of bootutil public interface also requiring this
54
* file. In reality application is supposed to maintain flash area access,
55
* but bootutil uses own definitions, taken directly from DTS, which includes
0 commit comments