• Relocate Stack Start Address
    Hi all, I wonder if anyone could help me with moving the start address of my stack for a test. I have added STARTUP.A51 from the kiel library to my local project and have it in the build tree. ...
  • relocation of function
    Hi, I would like to locate code of the function on the absolute address in a code memmory (analogous to absolute variable location : int code i _at_ 0x2000;) - is it possible in some way? Thanks, Peter...
  • RAM, ROM and runtime calculation
    Hi, How can i compute the ROM, RAM size and runtime consumed by a function in C. For example: void main() { ... f(); } f() { ... ... } How can i compute the RAM, ROM and runtime...
  • Get Stack init info at runtime
    Hi, Is there any way to get information about stack and heap at runtime in a C function? I'm looking for a var/table/way to get Stack_Base, Heap_base, Stack_limit and heap_limit at runtime. That...
  • Stack relocation using scatter file
    I want to protect myself from stack overflow. From several articles I got the idea that I can locate the stack in the bottom of the RAM, before .bss section. Since on Cortex M stack grows down, on stack...