restriction for partitions ?

jumjum123
Posts: 199
Joined: Mon Oct 17, 2016 3:11 pm

restriction for partitions ?

Postby jumjum123 » Mon Oct 02, 2017 1:42 pm

Are there any restrictions for partitions ?
Something like
- size less than xxxxk
- startpoint on 4k boundary
- conflict with partition overlapping 1M

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: restriction for partitions ?

Postby kolban » Mon Oct 02, 2017 4:37 pm

My loose thinking is that the concept of the partition is merely a simple "database" that provides named entries to locations of storage and their size. The partition story then allows an application to dynamically query that database at runtime and look for "named" mappings to memory. The returned information will then be used by the caller. The validity of memory start locations and their sizes will be governed by the logic that is asking for the "named" partition and may very well vary of a case by case base. For example, partition type "X" may require some alignment but partition type "Y" needn't. I cant think of any valid reason (or possibility?) to have partition definitions overlap with each other.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: restriction for partitions ?

Postby WiFive » Mon Oct 02, 2017 8:03 pm


Who is online

Users browsing this forum: Google [Bot] and 96 guests