apache / mynewt-mcumgr

Apache mynewt
https://mynewt.apache.org/
99 stars 76 forks source link

Zephyr/align to dinamic flash map #20

Closed nvlsianpu closed 5 years ago

nvlsianpu commented 5 years ago

Changes in flash_map API makes flash_area structure proper interface for point the image area instead of direct flash-bank-offsets.

This patch align code to changed APIa and allows to support operation on the partition in any flash device.

This patch is part of zephyrproject-rtos/zephyr#8837 Merge after above PR.

Signed-off-by: Findlay Feng i@fengch.me Signed-off-by: Andrzej Puzdrowski andrzej.puzdrowski@nordicsemi.no

nvlsianpu commented 5 years ago

@ccollins476ad @sjanc

Now the patch is mirror of current zephyr porting code. Consider merge this.

ccollins476ad commented 5 years ago

Sorry for the delay, @nvlsianpu. Is this PR still up to date?

nvlsianpu commented 5 years ago

@ccollins476ad ^^ Yes it is.