mcuboot/testplan/mynewt
Andrzej Puzdrowski b788c71c08 Replace mcuboot flash_map by zephyr flash_map
The patch introduce usage of zephyr flas_map module instead
of mcuboot zephyr-only implementation. Unused flash_area_to_sectors
API of former flash_map was removed as well.
Size of sector-status-update-map entry is now defined thanks to the
minimum write size supported by the flash driver.

For avoid ambiguity former zephyr-only files flash_map.c
were renamed to flash_map_extended.c (its code now implements
only addition to this what zephyr flash_map implements).

flash_map.h header include is now warped by flash_map_backedn.h headre
because implementations and include pathes are diferent in Zephyr and Mynewt.

Usage of hal_flash_align() were replaced by usage flash_area_align().
This provide consistency between MyNewt and Zephyr implementation as
this API is available in both RTOSes.

flash_map.h was moved to the simulator c-support files as now missing in
the boot/zephyr subdirectories.

f. boot_scratch_fa_device_id was removed as unused.
f. boot_img_fa_device_id was and expanded the only use of it
(on loader.c).

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2018-05-16 16:05:17 -03:00
..
apps Replace mcuboot flash_map by zephyr flash_map 2018-05-16 16:05:17 -03:00
keys Add mynewt testplan 2017-07-28 14:56:08 -06:00
Makefile Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_ec.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_ec256.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_ec256_2.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_ec_2.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_rsa.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
key_rsa_2.pem Add mynewt testplan 2017-07-28 14:56:08 -06:00
project.yml Add mynewt testplan 2017-07-28 14:56:08 -06:00