Skip to content

Contradictory documentation in EEPROM library #126

Closed
@rustycoat

Description

@rustycoat

The EEPROM library examples and primary header is poorly documented and gives the wrong impression that 8k of simulated EEPROM is avialable through the library:

"There is no EEPROM built into the Apollo3 Cortex-M4F but we have 1M of flash
so we carve out the last 8k of flash for EEPROM space."

I purchased my Artemis boards based on this specific, but after encountering unexplained freezes after writing to locations after 1023, I have scoured the header file to see that outside of the primary comments at the top, there is a comment that the EEPROM size is actually limited to 1024 (unless you want to run with your own forked variant of the Arduino core and modify AP3_FLASH_EEPROM_SIZE).

Although since this is an open source project I could modify the header if needed, that would separate me from future bugfixes and feature additions.

Although I could submit a pull request on a re-phrase of the documentation, I don't feel this is appropriate for an end-user: SparkFun is a company, selling a product. It is their responsibility to chose how they wish to document these things in a more responsible manner (and ideally, SparkFun should provide real documentation, not comments at the top of each header file, or worse, scattered throughout the source).

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