This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is task stack allocated in internal or externa RAM ?

We use Keil uVision 4.73. Are task stacks allocated in internal RAM or external RAM ? If I need particular task stack allocated in internal RAM, do I need to force it in internal RAM by some pragma directive ?

Parents
  • In my system task stacks are allocated in external RAM. I thought all functions called from a task will have their local variables in the task stack but I inspected address of some of these local arrays and they are in internal RAM ?

    Does this mean local variables are stored in system stack instead and not task stack ?

Reply
  • In my system task stacks are allocated in external RAM. I thought all functions called from a task will have their local variables in the task stack but I inspected address of some of these local arrays and they are in internal RAM ?

    Does this mean local variables are stored in system stack instead and not task stack ?

Children