Part Number: TMS320F28379D Tool/software: TI C/C++ Compiler We have run out of flash space in the designated area of flash for a specific purpose. In this case, our custom boot loader. We are using c++ classes although all objects are static objects and nothing is created dynamically. In our coding technique, we have been extra careful as not use malloc, memcpy etc. However, looking at the generated MAP file, there is at least 512 words consumed by rts2800_fpu32.lib: memory.c.obj. I also noticed that there are functions that we don't need or specify as shown below: 0 00080536 _main 0 000801c9 _malloc 0 000802d9 _max_free 0 00080b29 _memcpy 0 000801a4 _minit 1 00000028 _outFlashStatus 0 00080024 _ram_init 0 00080227 _realloc I looked at the boot28.asm and none of the memory.c functions are being invoked. Question: where are they coming from and how can we save valuable space?
↧