i am working with eclipse. i want to create a binary file. after successfully creating the .elf file eclipse displays a make error saying region ram overflow by so and so bytes. what should i do?
i am working with eclipse. i want to create a binary file. after successfully creating the .elf file eclipse displays a make error saying region ram overflow by so and so bytes. what should i do?
That doesn't sound right. That message comes from the link which means you are NOT successfully creating the .elf file, the link is failing.
Use less RAM - the message says your code is asking for more RAM than your chip has on it. Use a smaller stack, smaller heap, go look for other places using lots of RAM and reduce it.
I don't know if Eclipse produces a .map file telling you where it's placed things, that's one good place to start figuring out where your RAM usage is.
One fairly common mistake is having a load of static data which isn't marked const, that ends up getting copied into RAM on startup just wasting RAM for no reason.
Or get a chip with more RAM on it.
sorry, i verified that the .elf file isn't being created. the error occurs while creating the file. .map file is being created. it says : ram origin: 0x82000000 length:0x00007800 usrstack origin: 0x82007800 length: 0x00005000 how do i allocate more ram space to eclipse?
sorry, i verified that the .elf file isn't being created. the error occurs while creating the file. .map file is being created. it says : ram origin: 0x82000000 length:0x00007800 usrstack origin: 0x82007800 length: 0x00005000 how do i allocate more ram space to eclipse?