Re: Using Flash partitions


Puzdrowski, Andrzej
 

Hi.

You need to provide description of how to use the description you introduced. Look at https://github.com/zephyrproject-rtos/zephyr/blob/master/dts/common/yaml/partition.yaml
For details how BOT partitions were described.

But these defines are not available, do I need to enable specific configuration options to get these defines ?
No, just jour device tree description didn't fit to any *.yaml script.

Andrzej

-----Original Message-----
From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of Laczen JMS
Sent: Thursday, September 14, 2017 3:25 PM
To: zephyr-devel@...
Subject: [Zephyr-devel] Using Flash partitions

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
_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel

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