Hello Nandan, This issue will be fixed in the future release. It is caused by d/ave2d section name which has "heap" in it. The linker script then places it between heap_start and heap_end symbols which causes _sbrk function (used for malloc which in turn is used by sprintf/printf and other stdlib calls) to allocate memory from dave2d, corrupting its drawing list. This problem only shows in applications that use d/ave2d and stdlib calls. Alternative solution involves increasing application heap size (properties on BSP tab) to prevent it from corrupting d/ave2d heap. Switching to newlib-nano library (Cross ARM C Linker - miscellaneous in project properties) will also solve this problem. Regards
↧