RFC: API Change: Flash map: Partition ID generation #36517

Ermel, Dominik



I have proposed change in generating IDs for flash partitions, to include only partitions that are enabled.

RFC here: https://github.com/zephyrproject-rtos/zephyr/issues/36517


The change should allow to detect, at compile time, situations where by accident not enabled partition is referenced,

something that currently will be detected only at run-time.

It will also give more ordered IDs, if somebody cares to disable unused partitions, and may allow easier way to index

objects representing partitions in memory.


The PR that implements the change is here: https://github.com/zephyrproject-rtos/zephyr/pull/36394



Dominik Ermel

Join devel@lists.zephyrproject.org to automatically receive all group messages.