Data Memory Optimization for Micro controllers
Look at the linker map file for the items which are consuming more space.
Pack the structures, so that padding is removed.
Use bit fields wherever possible.
Use local variables as much as possible.
Do not allocate data memory as large chunks.
Try to reuse the Data memory wherever possible.
No comments:
Post a Comment