Skip to main content
ivan239955_stm1_stmicro_com
Associate III
July 12, 2010
Question

Storage of constants in Flash (EWARM)

  • July 12, 2010
  • 1 reply
  • 397 views
Posted on July 12, 2010 at 23:39

Storage of constants in Flash (EWARM)

    This topic has been closed for replies.

    1 reply

    swhite2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:58

    I'm using EWARM 5.xx and use 'const' to place ''variables'' in flash. It does NOT copy them to RAM. If you declare a non-const variable and give it an initializer it WILL be copied to RAM at startup.