cancel
Showing results for 
Search instead for 
Did you mean: 

Data initialization in flash memory on stm32f103 controllers

nazmievr
Associate
Posted on February 07, 2012 at 07:36

  Hello! I'm looking for information - how to initialize data (e.g. arrays, strucutures etc.) in flash memory. It isn't enough RAM memory for my programm.  I'm using Atollic TrueSTUDIO®/STM32 Lite IDE. I think that it's very important topic. How can I it make with gnu compiler and linker?  

2 REPLIES 2
melihcicek
Associate II
Posted on February 07, 2012 at 09:25

if you define your variables as const they will define on flash

nazmievr
Associate
Posted on February 07, 2012 at 10:30

I thought it'll be much more difficult, but when a saw a *.map file all became clear!

It's nice that I don't need to modify this data. Thanks a lot.