Data initialization in flash memory on stm32f103 controllers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-02-06 10:36 PM
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?
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-02-07 12:25 AM
Posted on February 07, 2012 at 09:25
if you define your variables as const they will define on flash
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-02-07 1:30 AM
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.