macro_rules! memory_range {
("DRAM") => { ... };
(size as str, "DRAM") => { ... };
("DRAM2_UNINIT") => { ... };
(size as str, "DRAM2_UNINIT") => { ... };
}Available on crate feature
_device-selected only.Expand description
Macro to get the address range of the given memory region.
This macro provides two syntax options for each memory region:
memory_range!("region_name")returns the address range as a range expression (start..end).memory_range!(size as str, "region_name")returns the size of the region as a string literal.