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:
Marti Bolivar 2017-06-14 15:49:53 -04:00
parent 60399f69fb
commit 450d44955f
1 changed files with 1 additions and 0 deletions

View File

@ -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();