Sitelet https://github.com/esp8266/Arduino/issues/4165
Skip to content

feature request: CRC for program memory #4165

Description

@s0170071

I do occasionally struggle with failing flash chips and are implementing a CRC32. From 0x400000 to 0x410000-1 which is the SPI flash mapped to the memory map.
That part I got working, however, I need a matching, link-time generated CRC in memory.

Question:

  1. is there a mechanism which does that already? (Would be awesome :-)
  2. is there a linker option to place a (const) variable (my CRC) at a specific location in the memory, e.g. 0x410000-4 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions