sim: use flash_area_get_sectors()
Use the new flash sector API by default when testing.
@@ -19,6 +19,7 @@ fn main() {
conf.flag("-Wall");
conf.define("__BOOTSIM__", None);
// conf.define("MCUBOOT_OVERWRITE_ONLY", None);
+ conf.define("MCUBOOT_USE_FLASH_AREA_GET_SECTORS", None);
conf.compile("libbootutil.a");
walk_dir("../boot").unwrap();
walk_dir("csupport").unwrap();
