Skip to content

memory.x file doesn't contain non-contiguous SRAM blocks #611

@adryzz

Description

@adryzz

embassy-stm32 generates this memory.x file

MEMORY
{
    FLASH : ORIGIN = 0x08000000, LENGTH = 1024K /* BANK_1_REGION_1 + BANK_1_REGION_2 + BANK_1_REGION_3 */
    RAM   : ORIGIN = 0x20000000, LENGTH =  128K /* SRAM + SRAM2 */
}

but the real number is 192K+4K, not 128K

Image

The data itself is correct afaik

https://github.com/embassy-rs/stm32-data/blob/1f79295b80000c54943d5c6b6ea35866f905f99b/stm32-data-gen/src/memory.rs#L95C53-L95C91

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions