STMCUBEIDE - STM32L010 ROM(Flash) size exceeding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-12 4:45 AM
I am using STMCUBEIDE there i was using optimization level as "optimize for debug". there i used a local variable as uint8_t and i am incrementing its counts then memory exceeded to 85%. if i removed increment then only 37% flash memory occupied.
- Labels:
-
Flash
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-11-12 4:54 AM
Seems like it shouldn't cause that large of a consequence.
Could be a GNU/GCC thing, or a memory strategy thing.
You could perhaps increase the ROM size for the purpose of allowing the .MAP file to be generated, and see what it has brought in. Say floating point libraries or printf/scanf ones, with a large footprint and dependency chain.
Memory in the L01x parts is very tight, you might want to consider using Keil, ST has a free license for using STM32 CM0(+) devices.
Up vote any posts that you find helpful, it shows what's working..
