sim: use flash_area_get_sectors()
Use the new flash sector API by default when testing. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
parent
60399f69fb
commit
450d44955f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue