Neculai Community Member

  • Member since Jun 2nd 2020
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Neculai -

    Replied to the thread [SOLVED] Prevent const variables optimization.

    Post
    Hi, This is an example that shows that the optimization done by the compiler on the "const" variables is not necessary. // serial_number is placed in the flash section at FLASH_APPL_CONFIG_ADDR const uint32_t serial_number