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.

How to specify the starting address of the allocated buffer

For example, when I allocate a buffer,  I used: "#pragma DATA_SECTION(image_ext, ".image:ext_sect1"); // image in external memory", then the starting address is automatically  assigned.  My question is: How to specify a fixed starting address in buffer allocation?   

  • Hi Beaver,

    You can define small sections of memory with the appropriate starting address in your linker(cmd) file.

    And then use those sections explicitly so that your starting address gets defined as you want.

    Regards,

    Sid

  • beaver,

    If Sid's answer is what you needed to answer your question, please mark Sid's posting by clicking Verify Answer under that posting.

    If you still seek more information on this, please reply back with more questions or more detail.