This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#pragma to configure option

Please, Is there #pragma to configure option bytes for STM32L011F4, if not, how to add option bytes configuration to compilation.

Thanks.

Parents
  • From the debugger options select a Flash Algorithm for the Options Bytes of your device.

    Add an IROM2 section describing the memory the Options Bytes reside in, or use a scatter file.

    Add an attribute to the uint16_t array of data destine for the Option Bytes to direct the linker to place them in the IROM2 section.

Reply
  • From the debugger options select a Flash Algorithm for the Options Bytes of your device.

    Add an IROM2 section describing the memory the Options Bytes reside in, or use a scatter file.

    Add an attribute to the uint16_t array of data destine for the Option Bytes to direct the linker to place them in the IROM2 section.

Children