What is the Partition Manager orig_span item in pm_static yml files?

The examples for the Matter Light Bulb app and others contain pm_static_...yml files with sections that look like:

mcuboot_primary:
  orig_span: &id001
  - mcuboot_pad
  - app
  span: *id001
  address: 0xD000
  region: flash_primary
  size: 0x165000

I cannot find "orig_span" in the Partition Manager documentation, nor anything about the "&id001" and "*id001" values. What are these and are they documented somewhere?

Parents
  • Hello,

    These are generated metadata fields, and you can ignore them when defining your pm_static file,you don’t need to define or write them yourself. The Partition Manager automatically generates these fields in the partitions.yml file. You can check the generated partition file in the build folder of your application.

    Kind regards,
    Abhijith

Reply
  • Hello,

    These are generated metadata fields, and you can ignore them when defining your pm_static file,you don’t need to define or write them yourself. The Partition Manager automatically generates these fields in the partitions.yml file. You can check the generated partition file in the build folder of your application.

    Kind regards,
    Abhijith

Children
  • Yes, they look like they might have been generated. However, in the examples, they show up in the root directory, nominally as input. Since they are presumably intended to be a starting point for developing custom applications, they are confusing. Perhaps the pm_static files supplied with the examples should be changed to reflect what the actual input file should look like.

Related