Adding frameworks after converting to stand alone project

Sysprogs forums Forums VisualGDB Adding frameworks after converting to stand alone project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11039
    chris250
    Participant

    Hi,

    Is it possible to add embedded frameworks to a stand-alone project?

    I believe I am experiencing memory corruption issues and so I would like to use the Fixed Size stack and heap framework. My project already has the Fast Semihosting… framework.

    I assume this will require editting the xml files?

    thanks

    #11044
    support
    Keymaster

    Hi,

    You can achieve the same effect by manually adding the source files and preprocessor macros listed in the framework definition. E.g. for the ‘fixed stack/heap’ they are defined in the BSP.XML file as follows:

          <AdditionalSourceFiles>
            <string>$$SYS:BSP_ROOT$$/StackAndHeap/StackAndHeap.c</string>
          </AdditionalSourceFiles>
          <AdditionalPreprocessorMacros>
            <string>FIXED_STACK_SIZE=$$com.sysprogs.bspoptions.stackheap.stacksize$$</string>
            <string>FIXED_HEAP_SIZE=$$com.sysprogs.bspoptions.stackheap.heapsize$$</string>
          </AdditionalPreprocessorMacros>

    If you are not sure, let us know and we will provide more detailed steps.

    • This reply was modified 7 years ago by support.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.