This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Stack and stack library projects

Part Number: CC2640R2F


Tool/software: TI-RTOS

Hello,

    Stack library project is appended to other projects(stack and app) with new MPU CC2640R2F. What is the difference between stack and stack library projects? Is there an advantage if stack library is used instead of stack project?

Regards.

Oytun

  • Hi Oytun,

    You can read about the differences between stack and stack library projects in our TI BLE Software Developer's Guide. Here is the link to the stack build configuration section: software-dl.ti.com/.../platform.html
  • Hello,

    Thanks for the reply. There is another issue. I examined map file of "stack project", I saw that available ram is 0x4400 kb and 0x3ff0 kb of it is used. After, I checked map file of "application project" and available ram is 0x3ff0 kb and a part of it it is used. However when I used "stack library project" the available ram amount stays same for application project(0x3ff0 kb). Shouldn't it be 0x4400 kb?

    Regards.
    Oytun
  • Hi Oytun,

    The stack_library build configuration uses the same amout of RAM but saves Flash.

    E.g., if you build simple_peripheral as split image (app+stack), it takes up 48% of the flash. If you use the stack_library configuration, it uses 36%.