Reserving stack size don’t work

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Reserving stack size don’t work

    Hello Segger Team,
    I have problems with the task stack size. I use:

    „EXTERN OS_STACKPTR int StackTask[XXX];

    and create tasks with:

    S_CREATETASK(&TTask, "The Task", Task, 100, StackTask);

    Now I can enter any value for XXX in the upper statement and the embOSView – Tool shows always a stack size of 512. What’s there wrong? At the moment I using the Demo library from embOS because the ordering is still in progress. But now I need more than 512 Byte. What’s my mistake?

    Greetings
    Martin
  • Hello Martin,

    1 Which embOS do you use? (just the zip filename would be perfect)
    2. Which start project do you use?

    As soon as I have the information I will have a look in it.

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hallo Til,

    thank you for your fast answer but now it works. I have just done a complete chip erase and cleaned the
    project before recompiling the files and now it works fine. Although I don’t know why. Sorry for disturbing! It’s almost embarrassing.
  • Hello Martin,

    no problem, please don't hesitate to contact us if you are running into any problems!

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.