Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThanks again Monkeyboy
The instructions that you provided, move the ecos table out of the area pointed by gp and its remains in the rwdata. But the memory footprint is not optimized. We have always some big arrays (=65796) in the rwdata which are normally preserved in Flash. For embedded system with a small flash is not a good point. It seems it is due to the _mw_app_entry structure declared in the ecos_mw_app.h The first fields are initialized and must be preserved in Flash but the last field stack[STACKSIZE] should be in bss (with STACKSIZE=65536). This structure should be perhaps split in two parts.