sim: Add flash_area_get_device_id implementation
With switch to getter functions the implementation of the function
is now required.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
diff --git a/sim/mcuboot-sys/csupport/run.c b/sim/mcuboot-sys/csupport/run.c
index c8bfd4e..201b50b 100644
--- a/sim/mcuboot-sys/csupport/run.c
+++ b/sim/mcuboot-sys/csupport/run.c
@@ -422,6 +422,12 @@
abort();
}
+uint8_t flash_area_get_device_id(const struct flash_area *fa)
+{
+ (void)fa;
+ return 0;
+}
+
void sim_assert(int x, const char *assertion, const char *file, unsigned int line, const char *function)
{
if (!(x)) {