Re: How to specify flash offset for a new board


Jan Van Winkel <jan.van_winkel@...>
 

Hi Kees,

You can do this by creating a partition in a device tree configuration and set the chosen node"zephyr,code-partition" to point to this partition.

See following files for an example: 

Reel Board Partition definition:

Reel Board "zephyr,code-partition" assignment:

Best regards,
Jan

On Sun, Nov 3, 2019 at 10:06 PM <kees@...> wrote:
Hi,

I want to add support for my Sodaq boards. These are SAMD21, Arduino Zero compatible boards with the Arduino bootloaders on them. So, I want the code (flash) to be located at an offset of 0x2000. How do I specify this offset?

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