Configuration Reference

Normative

The configuration items a conformant memory driver MUST support (CHI-MEM-MUST-27). The configuration toolchain, data structure, and file schema are implementation-defined; vendor extensions are allowed. For a worked example see Configuration. The model follows the common configuration structure in the General part.

General
General options

Property

Type

Description

enable_development_error_reporting

bool

If true, development error checking and reporting is enabled (see Errors).

Configuration set and instances
ConfigSet

Property

Type

Description

config_set_name

str

Name of the configuration set; must be a valid C identifier.

mem_instance

List[MemInstance]

Memory-instance configurations. Size [1, 256].

MemInstance

Property

Type

Description

instance_id

int

Memory-instance id. Starts at 0, unique within a ConfigSet. Range [0, 255].

start_address

int

Instance start address. Range [0, 4294967295].

end_address

int

Instance end address. Range [0, 4294967295].

Note

Segmentation (write page, sector, bank) is a property of the device an instance maps to, not a configuration item here. Mem_ConfigType is currently empty; Mem_Init takes NULL_PTR.