Using Flash partitions


laczenJMS
 

Hi,

I would like to setup zephyr so that it can use a flash area to store
data. I have added a partition description in my dts file describing
the flash partitioning (for testing I used the partitioning for
MCUBOOT).

I was expecting that after this partitioning I would be able to get
the offset and size as e.g.:

FLASH_AREA_MCUBOOT_OFFSET and FLASH_AREA_MCUBOOT_SIZE
FLASH_AREA_IMAGE_0_OFFSET and FLASH_AREA_IMAGE_0_SIZE
...

But these defines are not available, do I need to enable specific
configuration options to get these defines ?

Kind regards,

Jehudi

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