cancel
Showing results for 
Search instead for 
Did you mean: 

How to define variable at specific flash memory address (STM8L151F3)

Leo1986
Associate II

Hi,

I am using the IAR to program the STM8L151F3. And in my project I need to create a "serialization" controlled by me.

And I want to record a variable in the last flash memory. How to do this using IAR?

1 REPLY 1
Leo1986
Associate II

That's how it's done:

__root const char idNumber[4] = {0x01, 0x23, 0x45, 0x67};