Skip to content

Get EC ROM size #100

@crawfxrd

Description

@crawfxrd

addw4 switched to the 256 KiB variant of the chip.

Get the real ROM size instead of hard-coding it to 128 KiB

fn rom_size(&self) -> usize {
128 * 1024
}
fn block_size(&self) -> usize {
64 * 1024
}
fn page_size(&self) -> usize {
256
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions